Commit Graph

9 Commits (de777907f2835dc79cb1955fa623928ae3a47aaa)

Author SHA1 Message Date
saltycrys de777907f2 Apply dark theme immediately
Themes are now controlled with a class on the body element.

If a preference is set the body element will have either "dark-theme"
or "light-theme" class. If no preference is set or the preference is
empty the class will be "no-theme".

"dark-theme" and "light-theme" are handled by darktheme.css and
lighttheme.css respectively.

"no-theme" is handled by default.css where depending on the value of
"prefers-color-scheme" the styles corresponding to "dark-theme" or
"light-theme" are applied.

Unfortunately this means that both themes are duplicated, once in the
theme .css and once in default.css.
4 years ago
Omar Roth be055d9dcb
Add support for custom playlists 5 years ago
Omar Roth 7557ffcda1 Mark deleted channels in /subscription_manager 6 years ago
dimqua eaded6cbda minor color scheme changes 7 years ago
Omar Roth 5ddf7889fe Add color scheme for player 7 years ago
Fredrik August Madsen-Malmo 24538b7296 Clean up navigation bar code
And update README so that arch users don't have to update their entire
system to install the required packages.
7 years ago
Omar Roth 96c520b02b Add user preferences 7 years ago
Omar Roth 2aca7f7c19 Use darker color for links 7 years ago
Omar Roth 4bf0e538e4 Add dark theme 7 years ago