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 22c47ffaf6 - Show all commits

View File

@ -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