From 0aeaab417993df5b5df7241bdd4095aced9aaa3b Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sat, 3 Apr 2021 10:21:40 +0800 Subject: [PATCH] fix: apply default theme colors --- src/styles/themes.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/styles/themes.scss b/src/styles/themes.scss index 16edb1b..eb60cbf 100644 --- a/src/styles/themes.scss +++ b/src/styles/themes.scss @@ -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'] {