How to set foreground color for selected line/current item #5718
-
|
couldn't find one in the doc |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I don’t think there is a separate config key for the foreground color of the currently selected line. The available theme options seem to include: gui:
theme:
selectedLineBgColor:
- blue
inactiveViewSelectedLineBgColor:
- boldbut I don’t see a corresponding selectedLineFgColor. If the goal is better contrast, the supported workaround is to change the selected-line background style, for example: gui:
theme:
selectedLineBgColor:
- reverseor use a specific background color: gui:
theme:
selectedLineBgColor:
- blackThe docs mention reverse as useful for high contrast, so that is probably the closest built-in option for changing how the selected item looks without a dedicated foreground setting. So the short answer seems to be: selected line background/style is configurable, but selected line foreground color is not currently exposed as a separate theme option. |
Beta Was this translation helpful? Give feedback.
I don’t think there is a separate config key for the foreground color of the currently selected line.
The available theme options seem to include:
but I don’t see a corresponding selectedLineFgColor.
If the goal is better contrast, the supported workaround is to change the selected-line background style, for example:
or use a specific background color:
The docs mention reverse as useful for high contrast, so that is probably the closest built-in option for changing how the selected …