From edf687b4c1ac5b773509af77bf05d25e97f30825 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 16 Oct 2024 07:23:39 +0200 Subject: Put var application into mixin --- src/_apply-vars.scss | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/_apply-vars.scss (limited to 'src/_apply-vars.scss') diff --git a/src/_apply-vars.scss b/src/_apply-vars.scss deleted file mode 100644 index a2ee404..0000000 --- a/src/_apply-vars.scss +++ /dev/null @@ -1,17 +0,0 @@ -@use 'sass:map'; -@use 'iro-sass/src/index' as iro; -@use 'include-media/dist/include-media' as media; - -:root { - @include iro.props-assign; - - @each $breakpoint in map.keys(media.$breakpoints) { - @include media.media('<=#{$breakpoint}') { - @include iro.props-assign($breakpoint); - } - } - - @media (prefers-color-scheme: dark) { - @include iro.props-assign('dark'); - } -} -- cgit v1.2.3-70-g09d2