Description
It would be nice to allow the user to select a light and dark theme of preference in the settings and the TUI automatically switch between them when the OS changes.
For implementation examples we can take inspiration from the following:
Is your feature request related to a problem?
A clear and concise description of what the problem is, e.g. I'm always frustrated when [...].
All my setup currently reacts to light/dark mode switches and late is the only tool that requires manual change when I switch.
What solution would you like?
A clear and concise description of what you want to happen.
Ideally I would want to select a dark and a light theme in the UI and have the TUI automatically switch between them.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Alternatively to the standalone solution (where the TUI itself switches the theme), it may be viable to have the CLI switch the theme of the current session so we can script it?
Additional Context
Here some examples that I use personally in my dotfiles
Gnome
gsettings get org.gnome.desktop.interface gtk-theme | grep -qi dark && echo "dark" || echo "light"
OSX
osascript -e 'tell application "System Events" to tell appearance preferences to get dark mode' | grep -qi true && echo "dark" || echo "light"
Description
It would be nice to allow the user to select a light and dark theme of preference in the settings and the TUI automatically switch between them when the OS changes.
For implementation examples we can take inspiration from the following:
Is your feature request related to a problem?
A clear and concise description of what the problem is, e.g. I'm always frustrated when [...].
All my setup currently reacts to light/dark mode switches and late is the only tool that requires manual change when I switch.
What solution would you like?
A clear and concise description of what you want to happen.
Ideally I would want to select a dark and a light theme in the UI and have the TUI automatically switch between them.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Alternatively to the standalone solution (where the TUI itself switches the theme), it may be viable to have the CLI switch the theme of the current session so we can script it?
Additional Context
Here some examples that I use personally in my dotfiles
Gnome
OSX