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