From ca7e31023b335e72eac6ce2f280a11b98b672fee Mon Sep 17 00:00:00 2001 From: eugenesvk Date: Wed, 3 May 2023 22:17:20 +0700 Subject: Replace direct root rules with a root mixin in variables and include the variables root rules in the themes --- sass/abridge.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sass/abridge.scss') diff --git a/sass/abridge.scss b/sass/abridge.scss index 9790d69..e74ce28 100644 --- a/sass/abridge.scss +++ b/sass/abridge.scss @@ -1,8 +1,11 @@ @use "imports"; -@use "variables"; @use "syntax/syntax-abridge" as syntax; -@if variables.$syntax { +:root { + @include imports.var-root; +} + +@if imports.$var-syntax { :root:not(.light) { @include syntax.dark; } -- cgit v1.3.1