summaryrefslogtreecommitdiffstats
path: root/src/_declare-vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-28 14:22:27 +0200
committerVolpeon <git@volpeon.ink>2024-06-28 14:22:27 +0200
commitf98a5c58c830a283d07d8efad4502281a5e0369e (patch)
tree84c4abdd260e595c7b314d79ae7af58bd406bf67 /src/_declare-vars.scss
parentAdd card (diff)
downloadiro-design-f98a5c58c830a283d07d8efad4502281a5e0369e.tar.gz
iro-design-f98a5c58c830a283d07d8efad4502281a5e0369e.tar.bz2
iro-design-f98a5c58c830a283d07d8efad4502281a5e0369e.zip
Update
Diffstat (limited to 'src/_declare-vars.scss')
-rw-r--r--src/_declare-vars.scss18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/_declare-vars.scss b/src/_declare-vars.scss
index 23ee4d4..797001c 100644
--- a/src/_declare-vars.scss
+++ b/src/_declare-vars.scss
@@ -101,6 +101,12 @@
101 --thin: 1px, 101 --thin: 1px,
102 ), 102 ),
103 103
104 --shadow: (
105 --x: 0,
106 --y: 1px,
107 --blur: 4px,
108 ),
109
104 --rounding: 4px, 110 --rounding: 4px,
105 111
106 --key-focus: ( 112 --key-focus: (
@@ -110,7 +116,7 @@
110 ), 116 ),
111 117
112 --paragraph: ( 118 --paragraph: (
113 --margin-bs: fn.dim(--size --300, null), 119 --margin-bs: fn.dim(--size --200, null),
114 ), 120 ),
115 121
116 --heading: ( 122 --heading: (
@@ -230,6 +236,14 @@
230 ), $tree); 236 ), $tree);
231 } 237 }
232 238
239 @each $color, $value in map.get($theme, --constants) {
240 @include iro.props-store((
241 --colors: (
242 $color: $value,
243 ),
244 ), $tree);
245 }
246
233 @each $color, $ref in map.get($theme, --semantic) { 247 @each $color, $ref in map.get($theme, --semantic) {
234 $res: (); 248 $res: ();
235 249
@@ -246,7 +260,7 @@
246 $color: $res, 260 $color: $res,
247 ), 261 ),
248 ), $tree); 262 ), $tree);
249 } 263 }
250} 264}
251 265
252@each $theme-name, $theme in config.$themes { 266@each $theme-name, $theme in config.$themes {