add custom properties for always light and dark colors
This commit is contained in:
parent
4b8e3876f1
commit
22a984ab2d
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,8 @@ Adjust fallbacks if modern color syntax not supported for text and bg variants.
|
||||||
/* Default / Light theme specific variables */
|
/* Default / Light theme specific variables */
|
||||||
:root,
|
:root,
|
||||||
:root[data-theme='light'] {
|
:root[data-theme='light'] {
|
||||||
|
--color-dark: var(--color-base-dark);
|
||||||
|
--color-light: var(--color-base-light);
|
||||||
--color-text: var(--color-base-dark);
|
--color-text: var(--color-base-dark);
|
||||||
--color-bg: var(--color-base-light);
|
--color-bg: var(--color-base-light);
|
||||||
--color-base: var(--color-base-dark);
|
--color-base: var(--color-base-dark);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue