From 108c05857c95cb944f8348ef24e1d9ffc5237e83 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Fri, 29 May 2020 11:30:29 +0800 Subject: [PATCH] refactor: remove redundant themed styles --- src/_styles/mixins/mixins.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/_styles/mixins/mixins.scss b/src/_styles/mixins/mixins.scss index a9c1b6b11..e247132b4 100644 --- a/src/_styles/mixins/mixins.scss +++ b/src/_styles/mixins/mixins.scss @@ -80,13 +80,14 @@ $block-depth: 0; $common-css-attrs-generated: false; $theme: null; $in-themes-mixin: false; -$theme-names: 'dark', 'light'; -/** wait for sass to support dynamic @include mixins */ -$default-theme: 'light'; +$theme-names: 'dark'; +/** wait for sass to support dynamic @include mixins, although it may be impossible */ +$fallback-theme: 'light'; @mixin themes-mixin() { $in-themes-mixin: true !global; $theme: 'light' !global; + // fallback theme is light @include setup-light-theme(); @content; $common-css-attrs-generated: true !global;