Make color0 distinct from background/foreground and fix helix theme (#5538)

* Make color0 distinct from background/foreground

The majority of themes have color0 available as a subtle offset from
the background. For flexoki-light, because color0 matched foreground, it
wasn't subtle, and would cause invisible text when used as a background
color (e.g., in text editor rulers). For vantablack, ethereal,
hackerman, and white, color0 matched background and would cause
invisible text when a theme wanted text to be de-emphasized.

This patch makes it consistently a subtle offset from background.

* Make helix selection theme colors more subtle

Helix is more usable if the selection background is subtle. This is
primarily because of [[1]], which makes a bright selection like we had
before often make the foreground text unreadable in the picker preview.

[1]: https://github.com/helix-editor/helix/issues/12405
This commit is contained in:
Luke Hsiao
2026-05-02 11:36:06 +02:00
committed by GitHub
parent ddb8081eaa
commit d80c98f025
6 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ background = "#060B1E"
selection_foreground = "#060B1E"
selection_background = "#ffcead"
color0 = "#060B1E"
color0 = "#3C486D"
color1 = "#ED5B5A"
color2 = "#92a593"
color3 = "#E9BB4F"