UI: Implement Web Assets' theme system, and add 'dark' theme #103972
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user