Open teohhanhui opened 4 months ago
Thanks 😊
I think I picked the name with the perfers-color-scheme
media query in CSS in mind
But I'm not that set on the name as most other places I've come across refer to dark/light as a "theme" choice.
I'll leave this issue open and think about the naming in case I make other breaking changes to the library.
I think I picked the name with the
prefers-color-scheme
media query in CSS in mind
That's fair. Unfortunately color scheme already means something else when it comes to terminals... :laughing:
I'm not particularly fond of "theme"–I've also seen it be used to mean "color palette". For example this page uses "theme" and "color scheme" interchangeably :/
Wezterm uses the term "appearance" to refer to the dark/light/high contrast state of the window environment, which I quite like.
LightDarkMode
would be unambiguous, even if not exactly pleasant. But yeah, that wouldn't really work if there are more variants lol
GNOME calls it "style" under "appearance". But I think all of these terms are too unspecific / ambiguous...
I have thought going in the direction of LightDarkMode
, but that's so ... verbose 👀
First off, great library! This was hilarious and well deserved: https://docs.rs/terminal-colorsaurus/latest/terminal_colorsaurus/#comparison-with-other-crates
Dark / light refers to the "theme", not the "color scheme" (which is a separate thing).