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

Gruvbox light theme. Fix cursorline readability after #10773. #11071

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

lemontheme
Copy link
Contributor

Religious Gruvbox light user here. @Chirikumbrah recently made a number of excellent tweaks to the base Gruvbox theme (#10773). One of these has had the unfortunate effect of turning the non-primary cursor line dark, making the text of the current line unreadable due to poor contrast. This is shown in the 'before' panel of the image below.

This PR sets things right by overriding the non-primary cursor background in the Gruvbox Light variant (which propagates to the other Light variants through inheritance.) The result is shown in the 'after' panel.

gruvbox_light_fixed_cursorline


Question for @Chirikumbrah: I see you've defined a special bg0_s = "#32302f" (dark0_soft in gruvbox.nvim) for the cursorline. This is the same color as the background in Gruvbox Dark Soft, meaning that the non-primary cursorline doesn't appear when using that variant. Do you think we should a) drop bg0_s altogether or b) specify a separate "ui.cursorline" in the Dark Soft variant, so that it appears again? I ask because, if we keep bg0_s, it would probably be more consistent if I defined a separate bg0_s in the Light theme (light0_soft in gruvbox.nvim, to be specific).

@the-mikedavis the-mikedavis added the A-theme Area: Theme and appearence related label Jul 1, 2024
@archseer archseer merged commit 3524060 into helix-editor:master Jul 2, 2024
6 checks passed
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
mxxntype pushed a commit to mxxntype/helix that referenced this pull request Aug 14, 2024
kyruzic pushed a commit to kyruzic/helix that referenced this pull request Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-theme Area: Theme and appearence related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants