invidious-experimenting/assets/js
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
..
community.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
embed.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
global.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
handlers.js Support adding video to playlist from watch page 2020-04-09 10:55:32 -05:00
notifications.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
player.js Merge pull request #713 from leonklingele/keydown-mediakeys-detection 2020-09-09 03:15:21 +00:00
playlist_widget.js Support adding video to playlist from watch page 2020-04-09 10:55:32 -05:00
silvermine-videojs-quality-selector.min.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
sse.js Prevent firing _onStreamProgress after aborting 2019-06-22 20:08:37 -05:00
subscribe_widget.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
themes.js Apply dark theme immediately 2020-11-16 04:19:41 +01:00
video.min.js Bump video.js 2020-01-08 20:19:47 -05:00
videojs-contrib-quality-levels.min.js Add http-source-selector 2019-04-28 10:05:15 -05:00
videojs-http-source-selector.min.js Update videojs-http-source-selector 2019-08-09 10:36:41 -05:00
videojs-markers.min.js Host assets locally 2018-09-06 09:59:17 -05:00
videojs-overlay.min.js Add title overlay to embedded videos 2019-06-08 10:52:47 -05:00
videojs-share.min.js Bump JS/CSS dependencies 2019-08-27 08:01:33 -05:00
videojs-vtt-thumbnails.min.js Update videojs-vtt-thumbnails version 2019-05-27 20:55:34 -05:00
videojs-youtube-annotations.min.js Update source and licenses 2019-05-01 07:40:18 -05:00
watch.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00
watched_widget.js Migrate to a good Content Security Policy (#1023) 2020-03-15 16:46:08 -05:00