From deb22a5c1b31c9b8cd4b6eb244b015cc6a1fbb88 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 9 Dec 2024 17:57:32 +0100 Subject: Init --- src/_core.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/_core.scss (limited to 'src/_core.scss') diff --git a/src/_core.scss b/src/_core.scss new file mode 100644 index 0000000..a99d147 --- /dev/null +++ b/src/_core.scss @@ -0,0 +1,17 @@ +@use 'sass:map'; +@use 'iro-sass/src/props'; + +@use 'core.vars' as vars; +@forward 'core.vars'; + +@mixin styles--light { + :root { + @include props.materialize(map.get(vars.$themes, --light)); + } +} + +@mixin styles--dark { + :root { + @include props.materialize(map.get(vars.$themes, --dark)); + } +} -- cgit v1.2.3-70-g09d2