Commit Graph

9 Commits

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.
2020-11-16 04:19:41 +01:00
Omar Roth
be055d9dcb
Add support for custom playlists 2019-10-15 21:17:14 -04:00
Omar Roth
7557ffcda1 Mark deleted channels in /subscription_manager 2019-03-06 09:54:56 -06:00
dimqua
eaded6cbda minor color scheme changes 2018-08-04 02:26:12 +03:00
Omar Roth
5ddf7889fe Add color scheme for player 2018-08-03 18:17:19 -05:00
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.
2018-07-26 16:46:43 +02:00
Omar Roth
96c520b02b Add user preferences 2018-07-16 11:24:24 -05:00
Omar Roth
2aca7f7c19 Use darker color for links 2018-04-16 19:05:45 -05:00
Omar Roth
4bf0e538e4 Add dark theme 2018-04-13 21:32:14 -05:00