Repository navigation
Description
As promised in #852, here is some feedback regarding flyline with light terminal colors. The following images provide a comparison. The left side shows the defaults, the right side shows my adjustments:
Note
The color of the terminal is sometimes dimmed because of a different mouse focus (this is a thing that my Wayland compositor does).
flyline_cursor_light_issues.mp4
My Adjustments
I am running a fork of flyline that affects the fade effect for the cursor. No other adjustments were added. I am configuring flyline like this:
eval "$(dircolors || :)" # LS_COLORS for coloring completions
__HERMES__FLYLINE_BASE_COLORS=(
recognised-command='green'
unrecognised-command='bold red'
single-quoted-text='yellow'
double-quoted-text='yellow'
inline-suggestion='cyan'
key-sequence-style='bold cyan'
opening-and-closing-pair='magenta'
rainbow-bracket1='yellow'
rainbow-bracket2='green'
rainbow-bracket3='cyan'
rainbow-bracket4='blue'
)
function __hermes__set_theme_flyline() {
__is_command flyline || return 0
if [[ ${HERMES_THEME_VARIANT:?} == light ]]; then
flyline set-style --default-theme "${HERMES_THEME_VARIANT}" \
"${__HERMES__FLYLINE_BASE_COLORS[@]}" normal-text=black secondary-text=
elif [[ ${HERMES_THEME_VARIANT} == dark ]]; then
flyline set-style --default-theme "${HERMES_THEME_VARIANT}" \
"${__HERMES__FLYLINE_BASE_COLORS[@]}" normal-text= secondary-text=white
fi
flyline set-cursor --backend flyline --effect fade --style "${__HERMES__COLOR_BLUE}"
}Observations
My custom theme is not terribly different from the base. The base looks decent and is very usable out of the box. I noticed that the colors for the suggestions field seem to be "inverted in term of priority", i.e. what is most important, the suggestions, have less contrast than the box around the suggestions (which IMO is less important). This is only a minor inconvenience, though, and can easily be adjusted. Moreover, I know that handling of colors in light terminal themes is not streamlined, and it could be that with another theme, the default looks different (for example when you enable or disable rendering bold as bright).
A real issue IMO is the Cursor fade effect. The current implementations simply adjusts the RGB values by multiplication down to 0.2, which on a light theme does not work. Hence, I have patched the fade and I will propose a patch once #931 and #933 are resolved.
Activity
georglauterbach commentedon Aug 16, 2026
@HalFrgrd I have proposed a patch for the fading issue on light themes in #939