mirror of
https://github.com/iv-org/invidious.git
synced 2024-08-18 18:13:23 +02:00
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. |
||
---|---|---|
.. | ||
darktheme.css | ||
default.css | ||
embed.css | ||
grids-responsive-min.css | ||
ionicons.min.css | ||
lighttheme.css | ||
pure-min.css | ||
quality-selector.css | ||
video-js.min.css | ||
videojs-http-source-selector.css | ||
videojs-overlay.css | ||
videojs-share.css | ||
videojs-vtt-thumbnails.css | ||
videojs-youtube-annotations.min.css | ||
videojs.markers.min.css |