From 50f6acc739f24bfa2ca080d08e90d82f8fa83543 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 17 Oct 2024 16:45:00 +0200 Subject: Revamped variable management --- src/index.scss | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/index.scss') diff --git a/src/index.scss b/src/index.scss index a8d9c24..5c2a1e8 100644 --- a/src/index.scss +++ b/src/index.scss @@ -1,10 +1,11 @@ -@use 'vars' as vars; +@use 'sass:map'; +@use 'sass:meta'; -@use 'base'; -@use 'layouts'; -@use 'objects'; -@use 'scopes'; -@use 'themes'; -@use 'utils'; +@use 'props'; +@use 'vars'; -@include vars.apply-vars; +$vars: map.values(meta.module-variables('vars')); + +:root { + @include props.materialize($vars); +} -- cgit v1.2.3-70-g09d2