UI: Implement Web Assets' theme system, and add 'dark' theme #103972
@ -23,6 +23,7 @@ html[data-theme="light"]
|
|||||||
--body-color-bg: #e9ecef
|
--body-color-bg: #e9ecef
|
||||||
--color-bg: var(--body-color-bg)
|
--color-bg: var(--body-color-bg)
|
||||||
|
|
||||||
|
// --box-bg-color-hover: var(--btn-color-bg-hover)
|
||||||
--box-bg-color-hover: white
|
--box-bg-color-hover: white
|
||||||
|
|
||||||
\:root
|
\:root
|
||||||
@ -44,7 +45,7 @@ html[data-theme="light"]
|
|||||||
--page-with-header-content-offset: calc(var(--spacer) * 8)
|
--page-with-header-content-offset: calc(var(--spacer) * 8)
|
||||||
|
|
||||||
html[data-theme="dark"]
|
html[data-theme="dark"]
|
||||||
--box-bg-color-hover: var(--color-bg-secondary)
|
--box-bg-color-hover: var(--btn-color-bg-hover)
|
||||||
|
|
||||||
body.is-scrolled
|
body.is-scrolled
|
||||||
.navbar
|
.navbar
|
||||||
|
Loading…
Reference in New Issue
Block a user