Expose "reset" color value in themes #8075
Labels
A-theme
Area: Theme and appearence related
C-enhancement
Category: Improvements
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-good-first-issue
Call for participation: Issues suitable for new contributors
E-has-instructions
Call for participation: Has instructions for fixing the issue and opening a PR
The Color struct has a Reset value, which should reset the color to the default terminal foreground or background. But this doesn't seem to be exposed to be used in themes, as far as I could find anyway.
Being able to access the default fg/bg colors in a theme is useful, because they may differ from the 16 colors/256 colors in the terminal color palette. In curses, the default color can be called with the number
-1
, while the colors are called with numbers0..255
. I have no preference if helix should expose it like this or rather something else.The text was updated successfully, but these errors were encountered: