-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically select light/dark theme variant #8899
Comments
Duplicate of #2158 |
Well ok technically not quite the same, I'll leave it open for opinions |
This is probably simpler/smaller to add than #2158 (we can query the host terminal for the current background color, right?) but would be less powerful - there wouldn't be any automatic switching when the OS switches between day/night unless we were constantly polling. We could check again on config reload (so you would script something to send all Helix instances the |
Yes,
I do this with |
What some people do instead is have |
Bat just merged in auto theme switching based on terminal color using a custom library called terminal colorsaurus, which is written in rust and is published as a crate. Delta also uses that library since version 0.17, March of this year With the next release it even seems to be supporting windows with the terminal app. So MacOS, Linux and Windows are supported with most to pretty much all terminal emulators working, see here. I think this issue should be revisited Originally posted by @Axolord in #10281 (comment) |
Query the terminal background color and choose a dark or light variant of a theme accordingly. This would be very convenient for people who switch between light/dark terminal themes.
The text was updated successfully, but these errors were encountered: