UI: Implement Web Assets' theme system, and add 'dark' theme #103972

Merged
Márton Lente merged 23 commits from ui/theme-system into main 2024-09-30 15:03:39 +02:00
Showing only changes of commit 5b902e4822 - Show all commits

View File

@ -18,11 +18,13 @@ $font-path: '/static/assets/fonts'
@import "_sponsors.sass" @import "_sponsors.sass"
@import "_utils.sass" @import "_utils.sass"
\:root \:root,
html[data-theme="light"]
--body-color-bg: #e9ecef --body-color-bg: #e9ecef
--color-bg: var(--body-color-bg) --color-bg: var(--body-color-bg)
--navbar-bg: #1e1e1e
\:root
// TODO: check if component variables table colours are needed
--table-border-color: var(--color-bg-tertiary) --table-border-color: var(--color-bg-tertiary)
--table-row-bg-color: var(--color-bg-secondary) --table-row-bg-color: var(--color-bg-secondary)