invidious-mod/src/invidious/views
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
..
components Fix feed menu overlap at ipad screen widths 2020-10-07 23:01:18 -05:00
add_playlist_items.ecr Support adding video to playlist from watch page 2020-04-09 10:55:32 -05:00
authorize_token.ecr
change_password.ecr
channel.ecr Update get_about_info for polymer (iv-org/invidious#1423) (#1429) 2020-10-23 01:40:07 +00:00
clear_watch_history.ecr
community.ecr Fix JSON serialization 2020-03-29 18:04:44 -04:00
create_playlist.ecr
data_control.ecr
delete_account.ecr
delete_playlist.ecr
edit_playlist.ecr
embed.ecr Fix JSON serialization 2020-03-29 18:04:44 -04:00
empty.ecr
error.ecr
history.ecr Fix JSON serialization 2020-03-29 18:04:44 -04:00
licenses.ecr
login.ecr Fix warnings in latest version of Crystal 2020-04-09 12:18:09 -05:00
mix.ecr
playlist.ecr Allow user to subscribe to playlist (#17) 2020-05-17 14:28:00 +03:00
playlists.ecr
popular.ecr
preferences.ecr Remove top page 2020-06-15 18:11:36 -05:00
privacy.ecr
search.ecr
subscription_manager.ecr Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
subscriptions.ecr Fix JSON serialization 2020-03-29 18:04:44 -04:00
template.ecr Apply dark theme immediately 2020-11-16 04:19:41 +01:00
token_manager.ecr Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
trending.ecr
view_all_playlists.ecr Allow user to subscribe to playlist (#17) 2020-05-17 14:28:00 +03:00
watch.ecr Add support for polymer redesign 2020-06-15 18:18:04 -05:00