fix(lualine): automatically load theme for the active colorscheme#1031
fix(lualine): automatically load theme for the active colorscheme#1031
Conversation
Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: ayamir <lgt986452565@gmail.com>
charliie-dev
left a comment
There was a problem hiding this comment.
TBH, I cant really tell the difference between two proposes in my own tests.
But ayamir's propose seems to use less code without changing the visual effect, so I think this PR is fine.
Agree with this lol I was just wondering if lualine's implementation of the I also think maybe we can simplify our implementation a bit lol (cause the modifications to those cc @CharlesChiuGit @ayamir |
|
Aha, I see your point now. ys, I think it's better to tweak |
|
Using "auto" for |
…amir#1031) * fix(lualine): use 'auto' theme when using others themes. Signed-off-by: ayamir <lgt986452565@gmail.com> * fixup!: remove `custom_theme`. * unify variable name style. Signed-off-by: ayamir <lgt986452565@gmail.com> * Revert "unify variable name style." This reverts commit 1363a5f. * Revert "fixup!: remove `custom_theme`." This reverts commit 55732e1. * fixup!: unify code style. * fixup:! handle `is_catppuccin` in `gen_hl`. * chore: cleanup --------- Signed-off-by: ayamir <lgt986452565@gmail.com> Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
…amir#1031) * fix(lualine): use 'auto' theme when using others themes. Signed-off-by: ayamir <lgt986452565@gmail.com> * fixup!: remove `custom_theme`. * unify variable name style. Signed-off-by: ayamir <lgt986452565@gmail.com> * Revert "unify variable name style." This reverts commit 1363a5f. * Revert "fixup!: remove `custom_theme`." This reverts commit 55732e1. * fixup!: unify code style. * fixup:! handle `is_catppuccin` in `gen_hl`. * chore: cleanup --------- Signed-off-by: ayamir <lgt986452565@gmail.com> Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>



By utilizing "auto" theme as mentioned here, this PR corrects the appearance of
lualinewhen using other colorschemes.Of course, users using
catppuccinwon't be influenced.