Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(theme): fix rose_pine/rose_pine_dawn themes' popup bg color #1606

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

chunghha
Copy link
Contributor

To fix the 2 rose_pine themes' popup bg color as

Screen Shot 2022-01-30 at 8 04 56 PM

@archseer
Copy link
Member

Based on neovim theme, it seems the popup background should be surface https://github.com/rose-pine/neovim/blob/main/lua/rose-pine/theme.lua#L9 with subtle as the fg (https://github.com/rose-pine/neovim/blob/main/lua/rose-pine/theme.lua#L66).

For selected line, overlay as the bg, text as the fg: https://github.com/rose-pine/neovim/blob/main/lua/rose-pine/theme.lua#L68

@chunghha
Copy link
Contributor Author

To me that bg color is too subtle
Screen Shot 2022-01-30 at 9 04 50 PM
so can't see text until selected.
Screen Shot 2022-01-30 at 9 05 05 PM
Perhaps problem is that setting fg for ui.popup seems no effect now.

@archseer
Copy link
Member

You need to style ui.menu/ui.menu.selected for that

@chunghha
Copy link
Contributor Author

I will update the PR with this.
Screen Shot 2022-01-30 at 9 43 36 PM
Screen Shot 2022-01-30 at 9 43 46 PM

@archseer archseer merged commit 4c996f4 into helix-editor:master Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants