fix: apply default theme colors

This commit is contained in:
EnixCoda 2021-04-03 10:21:40 +08:00
parent d92f93a857
commit 0aeaab4179
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -9,7 +9,11 @@
}
// Following rules are organized according to common variables to reduce output CSS size
:root, // default
:root {
// default, e.g. when not login
@include setVariables(light.$variables);
}
:root {
&[data-color-mode='light'][data-light-theme='light'],
&[data-color-mode='dark'][data-dark-theme='light'] {