Commit Graph

8 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 d20a4a8bfc Fix grid size for smaller devices 6 years ago
Omar Roth eaf55bf12c Fix styling for watch indicator 6 years ago
Omar Roth 7ed4485717 Format CSS 6 years ago
Agustin Ferrari b04a2d4f61 Just a couple of adjustments (#350)
* Added icons tooltips in local/en-US.json, corrected link tooltip to switch to video mode and changed heart symbol by icon in comments
6 years ago
Agustin Ferrari ceaddbc821 Minor fixes in CSS colors 6 years ago
Agustin Ferrari 55118a6768 Change color to the links and add a couple of improvements in the comments 6 years ago
Omar Roth 4bf0e538e4 Add dark theme 7 years ago