diff options
author | Volpeon <git@volpeon.ink> | 2024-10-16 07:23:39 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-16 07:23:39 +0200 |
commit | edf687b4c1ac5b773509af77bf05d25e97f30825 (patch) | |
tree | ad3947ed2d63a9150d117a75dd4746631958b66e /src/_apply-vars.scss | |
parent | Colors (diff) | |
download | iro-design-edf687b4c1ac5b773509af77bf05d25e97f30825.tar.gz iro-design-edf687b4c1ac5b773509af77bf05d25e97f30825.tar.bz2 iro-design-edf687b4c1ac5b773509af77bf05d25e97f30825.zip |
Put var application into mixin
Diffstat (limited to 'src/_apply-vars.scss')
-rw-r--r-- | src/_apply-vars.scss | 17 |
1 files changed, 0 insertions, 17 deletions
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 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use 'iro-sass/src/index' as iro; | ||
3 | @use 'include-media/dist/include-media' as media; | ||
4 | |||
5 | :root { | ||
6 | @include iro.props-assign; | ||
7 | |||
8 | @each $breakpoint in map.keys(media.$breakpoints) { | ||
9 | @include media.media('<=#{$breakpoint}') { | ||
10 | @include iro.props-assign($breakpoint); | ||
11 | } | ||
12 | } | ||
13 | |||
14 | @media (prefers-color-scheme: dark) { | ||
15 | @include iro.props-assign('dark'); | ||
16 | } | ||
17 | } | ||