From 76a1b6a068c369138422dcd18ba08ec8cc3749a6 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 30 May 2022 05:50:46 +0800 Subject: [PATCH] fix(theme mode): `SCSS` syntax error (#588) Fixes #588 --- _sass/addon/commons.scss | 2 +- _sass/addon/syntax.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index 0b73d55..e0a19a8 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -5,7 +5,7 @@ html { @media (prefers-color-scheme: light) { &:not([data-mode]), - [data-mode=light] { + &[data-mode=light] { @include light-scheme; } diff --git a/_sass/addon/syntax.scss b/_sass/addon/syntax.scss index b750e71..d899d0b 100644 --- a/_sass/addon/syntax.scss +++ b/_sass/addon/syntax.scss @@ -8,7 +8,7 @@ html { @media (prefers-color-scheme: light) { &:not([data-mode]), - [data-mode=light] { + &[data-mode=light] { @include light-syntax; }