react-minolith 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/backgrounds/Dot/Dot.js.map +1 -1
  2. package/dist/backgrounds/Dot/Dot.stories.d.ts.map +1 -1
  3. package/dist/backgrounds/Gingham/Gingham.js.map +1 -1
  4. package/dist/backgrounds/Gingham/Gingham.stories.d.ts.map +1 -1
  5. package/dist/backgrounds/Rhombus/Rhombus.js.map +1 -1
  6. package/dist/backgrounds/Rhombus/Rhombus.stories.d.ts.map +1 -1
  7. package/dist/backgrounds/Stripe/Stripe.js.map +1 -1
  8. package/dist/backgrounds/Stripe/Stripe.stories.d.ts.map +1 -1
  9. package/dist/backgrounds/Zigzag/Zigzag.js.map +1 -1
  10. package/dist/backgrounds/Zigzag/Zigzag.stories.d.ts.map +1 -1
  11. package/dist/base/Minolith/Minolith.stories.d.ts.map +1 -1
  12. package/dist/base/Tabula/Tabula.js.map +1 -1
  13. package/dist/common/models/BaseComponentProps.d.ts +4 -0
  14. package/dist/common/models/BaseComponentProps.d.ts.map +1 -1
  15. package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
  16. package/dist/components/Blockquote/Blockquote.stories.d.ts.map +1 -1
  17. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  18. package/dist/components/Div/Div.stories.d.ts.map +1 -1
  19. package/dist/components/Footer/Footer.stories.d.ts.map +1 -1
  20. package/dist/components/Header/Header.stories.d.ts.map +1 -1
  21. package/dist/components/Heading/Heading.stories.d.ts.map +1 -1
  22. package/dist/components/Link/Link.stories.d.ts.map +1 -1
  23. package/dist/components/Loader/Loader.stories.d.ts.map +1 -1
  24. package/dist/components/Message/Message.stories.d.ts.map +1 -1
  25. package/dist/components/Nav/Nav.stories.d.ts.map +1 -1
  26. package/dist/components/Progress/Progress.stories.d.ts.map +1 -1
  27. package/dist/components/Ruby/Ruby.stories.d.ts.map +1 -1
  28. package/dist/components/Section/Section.stories.d.ts.map +1 -1
  29. package/dist/components/Span/Span.stories.d.ts.map +1 -1
  30. package/dist/layouts/Centering/Centering.js.map +1 -1
  31. package/dist/layouts/Centering/Centering.stories.d.ts.map +1 -1
  32. package/dist/layouts/Column/Column.js.map +1 -1
  33. package/dist/layouts/Columns/Columns.js.map +1 -1
  34. package/dist/layouts/Columns/Columns.stories.d.ts.map +1 -1
  35. package/dist/layouts/Container/Container.js.map +1 -1
  36. package/dist/utilities/emotionStyleUtility/emotionStyleUtility.d.ts.map +1 -1
  37. package/dist/utilities/emotionStyleUtility/emotionStyleUtility.js +94 -90
  38. package/dist/utilities/emotionStyleUtility/emotionStyleUtility.js.map +1 -1
  39. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.d.ts.map +1 -1
  40. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js +359 -499
  41. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js.map +1 -1
  42. package/package.json +1 -2
@@ -1,620 +1,480 @@
1
- const d = "minolith-";
2
- function h(t, l, e, i) {
3
- const s = [];
4
- return l && (l.fore && s.push(
5
- `--${d}color-${t}${e ? `-${e}` : ""}${i ? `-${i}` : ""}-fore: ${l.fore.startsWith("--") ? `var(${l.fore});` : `${l.fore};`}`
6
- ), l.back && s.push(
7
- `--${d}color-${t}${e ? `-${e}` : ""}${i ? `-${i}` : ""}-back: ${l.back.startsWith("--") ? `var(${l.back});` : `${l.back};`}`
8
- ), l.border && s.push(
9
- `--${d}color-${t}${e ? `-${e}` : ""}${i ? `-${i}` : ""}-border: ${l.border.startsWith("--") ? `var(${l.border});` : `${l.border};`}`
10
- ), l.shadow && s.push(
11
- `--${d}color-${t}${e ? `-${e}` : ""}${i ? `-${i}` : ""}-shadow: ${l.shadow.startsWith("--") ? `var(${l.shadow});` : `${l.shadow};`}`
12
- ), l.placeholder && s.push(
13
- `--${d}color-${t}${e ? `-${e}` : ""}${i ? `-${i}` : ""}-placeholder: ${l.placeholder.startsWith("--") ? `var(${l.placeholder});` : `${l.placeholder};`}`
14
- )), s;
1
+ const d = "minolith-", o = [
2
+ "gray",
3
+ "red",
4
+ "coral",
5
+ "orange",
6
+ "yellow",
7
+ "lime",
8
+ "green",
9
+ "cyan",
10
+ "blue",
11
+ "violet",
12
+ "magenta"
13
+ ];
14
+ function h(a, e, i, s) {
15
+ const f = [];
16
+ return e && (e.fore && f.push(
17
+ `--${d}color-${a}${i ? `-${i}` : ""}${s ? `-${s}` : ""}-fore: ${e.fore.startsWith("--") ? `var(${e.fore});` : `${e.fore};`}`
18
+ ), e.back && f.push(
19
+ `--${d}color-${a}${i ? `-${i}` : ""}${s ? `-${s}` : ""}-back: ${e.back.startsWith("--") ? `var(${e.back});` : `${e.back};`}`
20
+ ), e.border && f.push(
21
+ `--${d}color-${a}${i ? `-${i}` : ""}${s ? `-${s}` : ""}-border: ${e.border.startsWith("--") ? `var(${e.border});` : `${e.border};`}`
22
+ ), e.shadow && f.push(
23
+ `--${d}color-${a}${i ? `-${i}` : ""}${s ? `-${s}` : ""}-shadow: ${e.shadow.startsWith("--") ? `var(${e.shadow});` : `${e.shadow};`}`
24
+ ), e.placeholder && f.push(
25
+ `--${d}color-${a}${i ? `-${i}` : ""}${s ? `-${s}` : ""}-placeholder: ${e.placeholder.startsWith("--") ? `var(${e.placeholder});` : `${e.placeholder};`}`
26
+ )), f;
15
27
  }
16
- function f(t, l, e) {
17
- const i = [];
18
- if (l.default) {
19
- const s = h(
20
- t,
21
- l.default,
28
+ function r(a, e, i) {
29
+ const s = [];
30
+ if (e.default) {
31
+ const f = h(
32
+ a,
33
+ e.default,
22
34
  void 0,
23
- e
35
+ i
24
36
  );
25
- s.length > 0 && i.push(...s);
37
+ f.length > 0 && s.push(...f);
26
38
  }
27
- if (l.hover) {
28
- const s = h(
29
- t,
30
- l.hover,
39
+ if (e.hover) {
40
+ const f = h(
41
+ a,
42
+ e.hover,
31
43
  "hover",
32
- e
44
+ i
33
45
  );
34
- s.length > 0 && i.push(...s);
46
+ f.length > 0 && s.push(...f);
35
47
  }
36
- if (l.focus) {
37
- const s = h(
38
- t,
39
- l.focus,
48
+ if (e.focus) {
49
+ const f = h(
50
+ a,
51
+ e.focus,
40
52
  "focus",
41
- e
53
+ i
42
54
  );
43
- s.length > 0 && i.push(...s);
55
+ f.length > 0 && s.push(...f);
44
56
  }
45
- if (l.active) {
46
- const s = h(
47
- t,
48
- l.active,
57
+ if (e.active) {
58
+ const f = h(
59
+ a,
60
+ e.active,
49
61
  "active",
50
- e
62
+ i
51
63
  );
52
- s.length > 0 && i.push(...s);
64
+ f.length > 0 && s.push(...f);
53
65
  }
54
- if (l.disabled) {
55
- const s = h(
56
- t,
57
- l.disabled,
66
+ if (e.disabled) {
67
+ const f = h(
68
+ a,
69
+ e.disabled,
58
70
  "disabled",
59
- e
71
+ i
60
72
  );
61
- s.length > 0 && i.push(...s);
73
+ f.length > 0 && s.push(...f);
62
74
  }
63
- return i;
75
+ return s;
64
76
  }
65
- function r(t, l) {
66
- const e = [];
67
- if (t.default) {
68
- const i = f(
77
+ function l(a, e) {
78
+ const i = [];
79
+ if (a.default) {
80
+ const s = r(
69
81
  "default",
70
- t.default,
71
- l
72
- );
73
- i.length > 0 && e.push(...i);
74
- }
75
- if (t.gray) {
76
- const i = f("gray", t.gray, l);
77
- i.length > 0 && e.push(...i);
78
- }
79
- if (t.red) {
80
- const i = f("red", t.red, l);
81
- i.length > 0 && e.push(...i);
82
- }
83
- if (t.coral) {
84
- const i = f("coral", t.coral, l);
85
- i.length > 0 && e.push(...i);
86
- }
87
- if (t.orange) {
88
- const i = f("orange", t.orange, l);
89
- i.length > 0 && e.push(...i);
90
- }
91
- if (t.yellow) {
92
- const i = f("yellow", t.yellow, l);
93
- i.length > 0 && e.push(...i);
94
- }
95
- if (t.lime) {
96
- const i = f("lime", t.lime, l);
97
- i.length > 0 && e.push(...i);
98
- }
99
- if (t.green) {
100
- const i = f("green", t.green, l);
101
- i.length > 0 && e.push(...i);
102
- }
103
- if (t.cyan) {
104
- const i = f("cyan", t.cyan, l);
105
- i.length > 0 && e.push(...i);
106
- }
107
- if (t.blue) {
108
- const i = f("blue", t.blue, l);
109
- i.length > 0 && e.push(...i);
110
- }
111
- if (t.violet) {
112
- const i = f("violet", t.violet, l);
113
- i.length > 0 && e.push(...i);
114
- }
115
- if (t.magenta) {
116
- const i = f(
117
- "magenta",
118
- t.magenta,
119
- l
82
+ a.default,
83
+ e
120
84
  );
121
- i.length > 0 && e.push(...i);
85
+ s.length > 0 && i.push(...s);
122
86
  }
123
- return e;
87
+ for (const s of o)
88
+ if (a[s]) {
89
+ const f = r(
90
+ s,
91
+ a[s],
92
+ e
93
+ );
94
+ f.length > 0 && i.push(...f);
95
+ }
96
+ return i;
124
97
  }
125
- function n(t) {
126
- const l = [];
127
- if (t.badge) {
128
- const e = r(
129
- t.badge,
98
+ function g(a) {
99
+ const e = [];
100
+ if (a.badge) {
101
+ const i = l(
102
+ a.badge,
130
103
  "badge"
131
104
  );
132
- e.length > 0 && l.push(...e);
105
+ i.length > 0 && e.push(...i);
133
106
  }
134
- if (t.accordion) {
135
- const e = r(
136
- t.accordion,
107
+ if (a.accordion) {
108
+ const i = l(
109
+ a.accordion,
137
110
  "accordion"
138
111
  );
139
- if (e.length > 0 && l.push(...e), t.accordion.accordionSummary) {
140
- const i = r(
141
- t.accordion.accordionSummary,
112
+ if (i.length > 0 && e.push(...i), a.accordion.accordionSummary) {
113
+ const s = l(
114
+ a.accordion.accordionSummary,
142
115
  "accordion-summary"
143
116
  );
144
- i.length > 0 && l.push(...i);
117
+ s.length > 0 && e.push(...s);
145
118
  }
146
- if (t.accordion.accordionDetails) {
147
- const i = r(
148
- t.accordion.accordionDetails,
119
+ if (a.accordion.accordionDetails) {
120
+ const s = l(
121
+ a.accordion.accordionDetails,
149
122
  "accordion-details"
150
123
  );
151
- i.length > 0 && l.push(...i);
124
+ s.length > 0 && e.push(...s);
152
125
  }
153
126
  }
154
- if (t.button) {
155
- const e = r(
156
- t.button,
127
+ if (a.button) {
128
+ const i = l(
129
+ a.button,
157
130
  "button"
158
131
  );
159
- e.length > 0 && l.push(...e);
132
+ i.length > 0 && e.push(...i);
160
133
  }
161
- if (t.card) {
162
- const e = r(t.card, "card");
163
- if (e.length > 0 && l.push(...e), t.card.cardHeader) {
164
- const i = r(
165
- t.card.cardHeader,
134
+ if (a.card) {
135
+ const i = l(a.card, "card");
136
+ if (i.length > 0 && e.push(...i), a.card.cardHeader) {
137
+ const s = l(
138
+ a.card.cardHeader,
166
139
  "card-header"
167
140
  );
168
- i.length > 0 && l.push(...i);
141
+ s.length > 0 && e.push(...s);
169
142
  }
170
- if (t.card.cardBody) {
171
- const i = r(
172
- t.card.cardBody,
143
+ if (a.card.cardBody) {
144
+ const s = l(
145
+ a.card.cardBody,
173
146
  "card-body"
174
147
  );
175
- i.length > 0 && l.push(...i);
148
+ s.length > 0 && e.push(...s);
176
149
  }
177
- if (t.card.cardFooter) {
178
- const i = r(
179
- t.card.cardFooter,
150
+ if (a.card.cardFooter) {
151
+ const s = l(
152
+ a.card.cardFooter,
180
153
  "card-footer"
181
154
  );
182
- i.length > 0 && l.push(...i);
155
+ s.length > 0 && e.push(...s);
183
156
  }
184
157
  }
185
- if (t.dialogue) {
186
- const e = r(
187
- t.dialogue,
158
+ if (a.dialogue) {
159
+ const i = l(
160
+ a.dialogue,
188
161
  "dialogue"
189
162
  );
190
- if (e.length > 0 && l.push(...e), t.dialogue.dialogueAvatar) {
191
- const i = r(
192
- t.dialogue.dialogueAvatar,
163
+ if (i.length > 0 && e.push(...i), a.dialogue.dialogueAvatar) {
164
+ const s = l(
165
+ a.dialogue.dialogueAvatar,
193
166
  "dialogue-avatar"
194
167
  );
195
- i.length > 0 && l.push(...i);
168
+ s.length > 0 && e.push(...s);
196
169
  }
197
- if (t.dialogue.dialogueName) {
198
- const i = r(
199
- t.dialogue.dialogueName,
170
+ if (a.dialogue.dialogueName) {
171
+ const s = l(
172
+ a.dialogue.dialogueName,
200
173
  "dialogue-name"
201
174
  );
202
- i.length > 0 && l.push(...i);
175
+ s.length > 0 && e.push(...s);
203
176
  }
204
- if (t.dialogue.dialogueMessage) {
205
- const i = r(
206
- t.dialogue.dialogueMessage,
177
+ if (a.dialogue.dialogueMessage) {
178
+ const s = l(
179
+ a.dialogue.dialogueMessage,
207
180
  "dialogue-message"
208
181
  );
209
- i.length > 0 && l.push(...i);
182
+ s.length > 0 && e.push(...s);
210
183
  }
211
184
  }
212
- if (t.header) {
213
- const e = r(
214
- t.header,
185
+ if (a.header) {
186
+ const i = l(
187
+ a.header,
215
188
  "header"
216
189
  );
217
- e.length > 0 && l.push(...e);
190
+ i.length > 0 && e.push(...i);
218
191
  }
219
- if (t.label) {
220
- const e = r(
221
- t.label,
192
+ if (a.label) {
193
+ const i = l(
194
+ a.label,
222
195
  "label"
223
196
  );
224
- e.length > 0 && l.push(...e);
197
+ i.length > 0 && e.push(...i);
225
198
  }
226
- if (t.link) {
227
- const e = r(t.link, "link");
228
- e.length > 0 && l.push(...e);
199
+ if (a.link) {
200
+ const i = l(a.link, "link");
201
+ i.length > 0 && e.push(...i);
229
202
  }
230
- if (t.loader) {
231
- const e = r(
232
- t.loader,
203
+ if (a.loader) {
204
+ const i = l(
205
+ a.loader,
233
206
  "loader"
234
207
  );
235
- e.length > 0 && l.push(...e);
208
+ i.length > 0 && e.push(...i);
236
209
  }
237
- if (t.message) {
238
- const e = r(
239
- t.message,
210
+ if (a.message) {
211
+ const i = l(
212
+ a.message,
240
213
  "message"
241
214
  );
242
- if (e.length > 0 && l.push(...e), t.message.messageHeader) {
243
- const i = r(
244
- t.message.messageHeader,
215
+ if (i.length > 0 && e.push(...i), a.message.messageHeader) {
216
+ const s = l(
217
+ a.message.messageHeader,
245
218
  "message-header"
246
219
  );
247
- i.length > 0 && l.push(...i);
220
+ s.length > 0 && e.push(...s);
248
221
  }
249
- if (t.message.messageBody) {
250
- const i = r(
251
- t.message.messageBody,
222
+ if (a.message.messageBody) {
223
+ const s = l(
224
+ a.message.messageBody,
252
225
  "message-body"
253
226
  );
254
- i.length > 0 && l.push(...i);
227
+ s.length > 0 && e.push(...s);
255
228
  }
256
229
  }
257
- if (t.progress) {
258
- const e = r(
259
- t.progress,
230
+ if (a.progress) {
231
+ const i = l(
232
+ a.progress,
260
233
  "progress"
261
234
  );
262
- e.length > 0 && l.push(...e);
235
+ i.length > 0 && e.push(...i);
263
236
  }
264
- return l;
237
+ return e;
265
238
  }
266
- function $(t) {
267
- const l = [], e = o(t), i = y(t), s = c(t);
268
- return e.length > 0 && l.push(`:root{${e.join("")}}`), i.length > 0 && l.push(`:root{${i.join("")}}`), i.length > 0 && l.push(
269
- `[data-color-scheme="light"]{${i.join("")}}`
270
- ), s.length > 0 && l.push(
271
- `[data-color-scheme="dark"]{${s.join("")}}`
272
- ), l;
239
+ function c(a) {
240
+ const e = [], i = $(a), s = y(a), f = p(a);
241
+ return i.length > 0 && e.push(`:root{${i.join("")}}`), s.length > 0 && e.push(`:root{${s.join("")}}`), s.length > 0 && e.push(
242
+ `[data-color-scheme="light"]{${s.join("")}}`
243
+ ), f.length > 0 && e.push(
244
+ `[data-color-scheme="dark"]{${f.join("")}}`
245
+ ), e;
273
246
  }
274
- function o(t) {
275
- const l = [];
276
- if (t) {
277
- if (t.animation) {
278
- const e = t.animation;
279
- e.speedHeavey && l.push(
280
- `--${d}animation-speed-heavy: ${e.speedHeavey};`
281
- ), e.speedSlower && l.push(
282
- `--${d}animation-speed-slower: ${e.speedSlower};`
283
- ), e.speedSlow && l.push(
284
- `--${d}animation-speed-slow: ${e.speedSlow};`
285
- ), e.speedNormal && l.push(
286
- `--${d}animation-speed-normal: ${e.speedNormal};`
287
- ), e.speedfFast && l.push(
288
- `--${d}animation-speed-fast: ${e.speedfFast};`
289
- ), e.speedfFaster && l.push(
290
- `--${d}animation-speed-faster: ${e.speedfFaster};`
291
- ), e.speedfFlash && l.push(
292
- `--${d}animation-speed-flash: ${e.speedfFlash};`
247
+ function $(a) {
248
+ const e = [];
249
+ if (a) {
250
+ if (a.animation) {
251
+ const i = a.animation;
252
+ i.speedHeavey && e.push(
253
+ `--${d}animation-speed-heavy: ${i.speedHeavey};`
254
+ ), i.speedSlower && e.push(
255
+ `--${d}animation-speed-slower: ${i.speedSlower};`
256
+ ), i.speedSlow && e.push(
257
+ `--${d}animation-speed-slow: ${i.speedSlow};`
258
+ ), i.speedNormal && e.push(
259
+ `--${d}animation-speed-normal: ${i.speedNormal};`
260
+ ), i.speedfFast && e.push(
261
+ `--${d}animation-speed-fast: ${i.speedfFast};`
262
+ ), i.speedfFaster && e.push(
263
+ `--${d}animation-speed-faster: ${i.speedfFaster};`
264
+ ), i.speedfFlash && e.push(
265
+ `--${d}animation-speed-flash: ${i.speedfFlash};`
293
266
  );
294
267
  }
295
- if (t.border) {
296
- const e = t.border;
297
- e.borderWidthXThin && l.push(
298
- `--${d}border-width-xthin: ${e.borderWidthXThin};`
299
- ), e.borderWidthThin && l.push(
300
- `--${d}border-width-thin: ${e.borderWidthThin};`
301
- ), e.borderWidthMedium && l.push(
302
- `--${d}border-width-medium: ${e.borderWidthMedium};`
303
- ), e.borderWidthThick && l.push(
304
- `--${d}border-width-thick: ${e.borderWidthThick};`
305
- ), e.borderWidthXThick && l.push(
306
- `--${d}border-width-xthick: ${e.borderWidthXThick};`
307
- ), e.borderRadiusSmall && l.push(
308
- `--${d}border-radius-small: ${e.borderRadiusSmall};`
309
- ), e.borderRadiusMedium && l.push(
310
- `--${d}border-radius-medium: ${e.borderRadiusMedium};`
311
- ), e.borderRadiusLarge && l.push(
312
- `--${d}border-radius-large: ${e.borderRadiusLarge};`
268
+ if (a.border) {
269
+ const i = a.border;
270
+ i.borderWidthXThin && e.push(
271
+ `--${d}border-width-xthin: ${i.borderWidthXThin};`
272
+ ), i.borderWidthThin && e.push(
273
+ `--${d}border-width-thin: ${i.borderWidthThin};`
274
+ ), i.borderWidthMedium && e.push(
275
+ `--${d}border-width-medium: ${i.borderWidthMedium};`
276
+ ), i.borderWidthThick && e.push(
277
+ `--${d}border-width-thick: ${i.borderWidthThick};`
278
+ ), i.borderWidthXThick && e.push(
279
+ `--${d}border-width-xthick: ${i.borderWidthXThick};`
280
+ ), i.borderRadiusSmall && e.push(
281
+ `--${d}border-radius-small: ${i.borderRadiusSmall};`
282
+ ), i.borderRadiusMedium && e.push(
283
+ `--${d}border-radius-medium: ${i.borderRadiusMedium};`
284
+ ), i.borderRadiusLarge && e.push(
285
+ `--${d}border-radius-large: ${i.borderRadiusLarge};`
313
286
  );
314
287
  }
315
- if (t.color) {
316
- const e = t.color, i = (s, a, g) => {
317
- if (g) {
318
- const u = `${g.lightness}% ${g.chroma} ${g.hue}`;
319
- l.push(
320
- `--${d}color-${s}-${a}-oklch: ${u};`
321
- ), l.push(
322
- `--${d}color-${s}-${a}: oklch(${u});`
288
+ if (a.color) {
289
+ const i = a.color, s = (f, t, u) => {
290
+ if (u) {
291
+ const n = `${u.lightness}% ${u.chroma} ${u.hue}`;
292
+ e.push(
293
+ `--${d}color-${f}-${t}-oklch: ${n};`
294
+ ), e.push(
295
+ `--${d}color-${f}-${t}: oklch(${n});`
323
296
  );
324
297
  }
325
298
  };
326
- if (e.gray) {
327
- const s = e.gray, a = "gray";
328
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
329
- }
330
- if (e.red) {
331
- const s = e.red, a = "red";
332
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
333
- }
334
- if (e.coral) {
335
- const s = e.coral, a = "coral";
336
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
337
- }
338
- if (e.orange) {
339
- const s = e.orange, a = "orange";
340
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
341
- }
342
- if (e.yellow) {
343
- const s = e.yellow, a = "yellow";
344
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
345
- }
346
- if (e.lime) {
347
- const s = e.lime, a = "lime";
348
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
349
- }
350
- if (e.green) {
351
- const s = e.green, a = "green";
352
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
353
- }
354
- if (e.cyan) {
355
- const s = e.cyan, a = "cyan";
356
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
357
- }
358
- if (e.blue) {
359
- const s = e.blue, a = "blue";
360
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
361
- }
362
- if (e.violet) {
363
- const s = e.violet, a = "violet";
364
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
365
- }
366
- if (e.magenta) {
367
- const s = e.magenta, a = "magenta";
368
- i(a, "95", s[95]), i(a, "90", s[90]), i(a, "85", s[85]), i(a, "80", s[80]), i(a, "75", s[75]), i(a, "70", s[70]), i(a, "65", s[65]), i(a, "60", s[60]), i(a, "55", s[55]), i(a, "50", s[50]), i(a, "45", s[45]), i(a, "40", s[40]), i(a, "35", s[35]), i(a, "30", s[30]), i(a, "25", s[25]), i(a, "20", s[20]), i(a, "15", s[15]), i(a, "10", s[10]), i(a, "05", s[5]);
369
- }
299
+ for (const f of o)
300
+ if (i[f]) {
301
+ const t = i[f];
302
+ s(f, "95", t[95]), s(f, "90", t[90]), s(f, "85", t[85]), s(f, "80", t[80]), s(f, "75", t[75]), s(f, "70", t[70]), s(f, "65", t[65]), s(f, "60", t[60]), s(f, "55", t[55]), s(f, "50", t[50]), s(f, "45", t[45]), s(f, "40", t[40]), s(f, "35", t[35]), s(f, "30", t[30]), s(f, "25", t[25]), s(f, "20", t[20]), s(f, "15", t[15]), s(f, "10", t[10]), s(f, "05", t[5]);
303
+ }
370
304
  }
371
- if (t.miscellaneous) {
372
- const e = t.miscellaneous;
373
- e.zIndexTabula && l.push(
374
- `--${d}z-index-tabula: ${e.zIndexTabula};`
375
- ), e.zIndexModal && l.push(
376
- `--${d}z-index-modal: ${e.zIndexModal};`
377
- ), e.zIndexModalContent && l.push(
378
- `--${d}z-index-tabula-content: ${e.zIndexModalContent};`
379
- ), e.zIndexHeaderIsSticky && l.push(
380
- `--${d}z-index-header-is-sticky: ${e.zIndexHeaderIsSticky};`
305
+ if (a.miscellaneous) {
306
+ const i = a.miscellaneous;
307
+ i.zIndexTabula && e.push(
308
+ `--${d}z-index-tabula: ${i.zIndexTabula};`
309
+ ), i.zIndexModal && e.push(
310
+ `--${d}z-index-modal: ${i.zIndexModal};`
311
+ ), i.zIndexModalContent && e.push(
312
+ `--${d}z-index-tabula-content: ${i.zIndexModalContent};`
313
+ ), i.zIndexHeaderIsSticky && e.push(
314
+ `--${d}z-index-header-is-sticky: ${i.zIndexHeaderIsSticky};`
381
315
  );
382
316
  }
383
- if (t.typography) {
384
- const e = t.typography;
385
- e.fontFamily && (e.fontFamily.sansSerif && l.push(
386
- `--${d}font-family-sans-serif: ${e.fontFamily.sansSerif};`
387
- ), e.fontFamily.serif && l.push(
388
- `--${d}font-family-serif: ${e.fontFamily.serif};`
389
- ), e.fontFamily.monospace && l.push(
390
- `--${d}font-family-monospace: ${e.fontFamily.monospace};`
391
- ), e.fontFamily.main && l.push(
392
- `--${d}font-family-main: ${e.fontFamily.main};`
393
- ), e.fontFamily.heading && l.push(
394
- `--${d}font-family-heading: ${e.fontFamily.heading};`
395
- ), e.fontFamily.code && l.push(
396
- `--${d}font-family-code: ${e.fontFamily.code};`
397
- )), e.fontSize && (e.fontSize.xsmall && l.push(
398
- `--${d}font-size-xsmall: ${e.fontSize.xsmall};`
399
- ), e.fontSize.small && l.push(
400
- `--${d}font-size-small: ${e.fontSize.small};`
401
- ), e.fontSize.normal && l.push(
402
- `--${d}font-size-normal: ${e.fontSize.normal};`
403
- ), e.fontSize.medium && l.push(
404
- `--${d}font-size-medium: ${e.fontSize.medium};`
405
- ), e.fontSize.large && l.push(
406
- `--${d}font-size-large: ${e.fontSize.large};`
407
- ), e.fontSize.xlarge && l.push(
408
- `--${d}font-size-xlarge: ${e.fontSize.xlarge};`
409
- ), e.fontSize.xxlarge && l.push(
410
- `--${d}font-size-xxlarge: ${e.fontSize.xxlarge};`
411
- ), e.fontSize.xxxlarge && l.push(
412
- `--${d}font-size-xxxlarge: ${e.fontSize.xxxlarge};`
413
- ), e.fontSize.xxxxlarge && l.push(
414
- `--${d}font-size-xxxxlarge: ${e.fontSize.xxxxlarge};`
415
- ), e.fontSize.xxxxxlarge && l.push(
416
- `--${d}font-size-xxxxxlarge: ${e.fontSize.xxxxxlarge};`
417
- )), e.fontWeight && (e.fontWeight.light && l.push(
418
- `--${d}font-weight-light: ${e.fontWeight.light};`
419
- ), e.fontWeight.normal && l.push(
420
- `--${d}font-weight-normal: ${e.fontWeight.normal};`
421
- ), e.fontWeight.medium && l.push(
422
- `--${d}font-weight-medium: ${e.fontWeight.medium};`
423
- ), e.fontWeight.semibold && l.push(
424
- `--${d}font-weight-semibold: ${e.fontWeight.semibold};`
425
- ), e.fontWeight.bold && l.push(
426
- `--${d}font-weight-bold: ${e.fontWeight.bold};`
317
+ if (a.typography) {
318
+ const i = a.typography;
319
+ i.fontFamily && (i.fontFamily.sansSerif && e.push(
320
+ `--${d}font-family-sans-serif: ${i.fontFamily.sansSerif};`
321
+ ), i.fontFamily.serif && e.push(
322
+ `--${d}font-family-serif: ${i.fontFamily.serif};`
323
+ ), i.fontFamily.monospace && e.push(
324
+ `--${d}font-family-monospace: ${i.fontFamily.monospace};`
325
+ ), i.fontFamily.main && e.push(
326
+ `--${d}font-family-main: ${i.fontFamily.main};`
327
+ ), i.fontFamily.heading && e.push(
328
+ `--${d}font-family-heading: ${i.fontFamily.heading};`
329
+ ), i.fontFamily.code && e.push(
330
+ `--${d}font-family-code: ${i.fontFamily.code};`
331
+ )), i.fontSize && (i.fontSize.xsmall && e.push(
332
+ `--${d}font-size-xsmall: ${i.fontSize.xsmall};`
333
+ ), i.fontSize.small && e.push(
334
+ `--${d}font-size-small: ${i.fontSize.small};`
335
+ ), i.fontSize.normal && e.push(
336
+ `--${d}font-size-normal: ${i.fontSize.normal};`
337
+ ), i.fontSize.medium && e.push(
338
+ `--${d}font-size-medium: ${i.fontSize.medium};`
339
+ ), i.fontSize.large && e.push(
340
+ `--${d}font-size-large: ${i.fontSize.large};`
341
+ ), i.fontSize.xlarge && e.push(
342
+ `--${d}font-size-xlarge: ${i.fontSize.xlarge};`
343
+ ), i.fontSize.xxlarge && e.push(
344
+ `--${d}font-size-xxlarge: ${i.fontSize.xxlarge};`
345
+ ), i.fontSize.xxxlarge && e.push(
346
+ `--${d}font-size-xxxlarge: ${i.fontSize.xxxlarge};`
347
+ ), i.fontSize.xxxxlarge && e.push(
348
+ `--${d}font-size-xxxxlarge: ${i.fontSize.xxxxlarge};`
349
+ ), i.fontSize.xxxxxlarge && e.push(
350
+ `--${d}font-size-xxxxxlarge: ${i.fontSize.xxxxxlarge};`
351
+ )), i.fontWeight && (i.fontWeight.light && e.push(
352
+ `--${d}font-weight-light: ${i.fontWeight.light};`
353
+ ), i.fontWeight.normal && e.push(
354
+ `--${d}font-weight-normal: ${i.fontWeight.normal};`
355
+ ), i.fontWeight.medium && e.push(
356
+ `--${d}font-weight-medium: ${i.fontWeight.medium};`
357
+ ), i.fontWeight.semibold && e.push(
358
+ `--${d}font-weight-semibold: ${i.fontWeight.semibold};`
359
+ ), i.fontWeight.bold && e.push(
360
+ `--${d}font-weight-bold: ${i.fontWeight.bold};`
427
361
  ));
428
362
  }
429
- if (t.components) {
430
- const e = t.components;
431
- if (e.breadcrumbs) {
432
- const i = e.breadcrumbs;
433
- i.breadcrumbDivider && l.push(
434
- `--${d}breadcrumb-divider: ${i.breadcrumbDivider};`
363
+ if (a.components) {
364
+ const i = a.components;
365
+ if (i.breadcrumbs) {
366
+ const s = i.breadcrumbs;
367
+ s.breadcrumbDivider && e.push(
368
+ `--${d}breadcrumb-divider: ${s.breadcrumbDivider};`
435
369
  );
436
370
  }
437
- if (e.button) {
438
- const i = e.button;
439
- i.paddingX && l.push(
440
- `--${d}button-padding-x: ${i.paddingX};`
441
- ), i.paddingY && l.push(
442
- `--${d}button-padding-y: ${i.paddingY};`
371
+ if (i.button) {
372
+ const s = i.button;
373
+ s.paddingX && e.push(
374
+ `--${d}button-padding-x: ${s.paddingX};`
375
+ ), s.paddingY && e.push(
376
+ `--${d}button-padding-y: ${s.paddingY};`
443
377
  );
444
378
  }
445
- if (e.dialogue) {
446
- const i = e.dialogue;
447
- i.avatarSizeDefault && l.push(
448
- `--${d}dialogue-avatar-size-default: ${i.avatarSizeDefault};`
449
- ), i.avatarSizeSmall && l.push(
450
- `--${d}dialogue-avatar-size-small: ${i.avatarSizeSmall};`
451
- ), i.avatarSizeLarge && l.push(
452
- `--${d}dialogue-avatar-size-large: ${i.avatarSizeLarge};`
453
- ), i.avatarTopOffset && l.push(
454
- `--${d}dialogue-avatar-top-offset: ${i.avatarTopOffset};`
455
- ), i.nameFontSize && (i.nameFontSize.includes("rem"), l.push(
456
- `--${d}dialogue-name-font-size: ${i.nameFontSize};`
457
- )), i.namePaddingX && l.push(
458
- `--${d}dialogue-name-padding-x: ${i.namePaddingX};`
459
- ), i.namePaddingY && l.push(
460
- `--${d}dialogue-name-padding-y: ${i.namePaddingY};`
461
- ), i.messageArrowHeight && l.push(
462
- `--${d}dialogue-messege-arrow-height: ${i.messageArrowHeight};`
463
- ), i.messageArrowWidth && l.push(
464
- `--${d}dialogue-messege-arrow-width: ${i.messageArrowWidth};`
465
- ), i.messageInnerPaddingX && l.push(
466
- `--${d}dialogue-message-inner-padding-x: ${i.messageInnerPaddingX};`
467
- ), i.messageInnerPaddingY && l.push(
468
- `--${d}dialogue-message-inner-padding-y: ${i.messageInnerPaddingY};`
379
+ if (i.dialogue) {
380
+ const s = i.dialogue;
381
+ s.avatarSizeDefault && e.push(
382
+ `--${d}dialogue-avatar-size-default: ${s.avatarSizeDefault};`
383
+ ), s.avatarSizeSmall && e.push(
384
+ `--${d}dialogue-avatar-size-small: ${s.avatarSizeSmall};`
385
+ ), s.avatarSizeLarge && e.push(
386
+ `--${d}dialogue-avatar-size-large: ${s.avatarSizeLarge};`
387
+ ), s.avatarTopOffset && e.push(
388
+ `--${d}dialogue-avatar-top-offset: ${s.avatarTopOffset};`
389
+ ), s.nameFontSize && (s.nameFontSize.includes("rem"), e.push(
390
+ `--${d}dialogue-name-font-size: ${s.nameFontSize};`
391
+ )), s.namePaddingX && e.push(
392
+ `--${d}dialogue-name-padding-x: ${s.namePaddingX};`
393
+ ), s.namePaddingY && e.push(
394
+ `--${d}dialogue-name-padding-y: ${s.namePaddingY};`
395
+ ), s.messageArrowHeight && e.push(
396
+ `--${d}dialogue-messege-arrow-height: ${s.messageArrowHeight};`
397
+ ), s.messageArrowWidth && e.push(
398
+ `--${d}dialogue-messege-arrow-width: ${s.messageArrowWidth};`
399
+ ), s.messageInnerPaddingX && e.push(
400
+ `--${d}dialogue-message-inner-padding-x: ${s.messageInnerPaddingX};`
401
+ ), s.messageInnerPaddingY && e.push(
402
+ `--${d}dialogue-message-inner-padding-y: ${s.messageInnerPaddingY};`
469
403
  );
470
404
  }
471
- if (e.header) {
472
- const i = e.header;
473
- i.backdropFilter && l.push(
474
- `--${d}header-backdrop-filter: ${i.backdropFilter};`
475
- ), i.zIndexIsSticky && (i.zIndexIsSticky === "auto" ? l.push(
405
+ if (i.header) {
406
+ const s = i.header;
407
+ s.backdropFilter && e.push(
408
+ `--${d}header-backdrop-filter: ${s.backdropFilter};`
409
+ ), s.zIndexIsSticky && (s.zIndexIsSticky === "auto" ? e.push(
476
410
  `--${d}header-z-index-is-sticky: "auto";`
477
- ) : l.push(
478
- `--${d}header-z-index-is-sticky: ${i.zIndexIsSticky};`
479
- )), i.zIndexIsFixed && (i.zIndexIsFixed === "auto" ? l.push(
411
+ ) : e.push(
412
+ `--${d}header-z-index-is-sticky: ${s.zIndexIsSticky};`
413
+ )), s.zIndexIsFixed && (s.zIndexIsFixed === "auto" ? e.push(
480
414
  `--${d}header-z-index-is-fixed: "auto";`
481
- ) : l.push(
482
- `--${d}header-z-index-is-fixed: ${i.zIndexIsFixed};`
415
+ ) : e.push(
416
+ `--${d}header-z-index-is-fixed: ${s.zIndexIsFixed};`
483
417
  ));
484
418
  }
485
- if (e.heading) {
486
- const i = e.heading;
487
- i.fontFamily && l.push(
488
- `--${d}font-family-heading: ${i.fontFamily};`
419
+ if (i.heading) {
420
+ const s = i.heading;
421
+ s.fontFamily && e.push(
422
+ `--${d}font-family-heading: ${s.fontFamily};`
489
423
  );
490
424
  }
491
425
  }
492
426
  }
493
- return l;
427
+ return e;
494
428
  }
495
- function y(t) {
496
- const l = [];
497
- if (t && t.color) {
498
- const e = t.color;
499
- if (e.light) {
500
- if (e.light.default) {
501
- const i = f("default", e.light.default);
502
- i.length > 0 && l.push(...i);
503
- }
504
- if (e.light.gray) {
505
- const i = f("gray", e.light.gray);
506
- i.length > 0 && l.push(...i);
507
- }
508
- if (e.light.red) {
509
- const i = f("red", e.light.red);
510
- i.length > 0 && l.push(...i);
511
- }
512
- if (e.light.coral) {
513
- const i = f("coral", e.light.coral);
514
- i.length > 0 && l.push(...i);
515
- }
516
- if (e.light.orange) {
517
- const i = f("orange", e.light.orange);
518
- i.length > 0 && l.push(...i);
519
- }
520
- if (e.light.yellow) {
521
- const i = f("yellow", e.light.yellow);
522
- i.length > 0 && l.push(...i);
523
- }
524
- if (e.light.lime) {
525
- const i = f("lime", e.light.lime);
526
- i.length > 0 && l.push(...i);
527
- }
528
- if (e.light.green) {
529
- const i = f("green", e.light.green);
530
- i.length > 0 && l.push(...i);
531
- }
532
- if (e.light.cyan) {
533
- const i = f("cyan", e.light.cyan);
534
- i.length > 0 && l.push(...i);
535
- }
536
- if (e.light.blue) {
537
- const i = f("blue", e.light.blue);
538
- i.length > 0 && l.push(...i);
539
- }
540
- if (e.light.violet) {
541
- const i = f("violet", e.light.violet);
542
- i.length > 0 && l.push(...i);
543
- }
544
- if (e.light.components) {
545
- const i = e.light.components, s = n(i);
546
- s.length > 0 && l.push(...s);
429
+ function y(a) {
430
+ const e = [];
431
+ if (a && a.color) {
432
+ const i = a.color;
433
+ if (i.light) {
434
+ if (i.light.default) {
435
+ const s = r("default", i.light.default);
436
+ s.length > 0 && e.push(...s);
437
+ }
438
+ for (const s of o)
439
+ if (i.light[s]) {
440
+ const f = i.light[s], t = r(s, f);
441
+ t.length > 0 && e.push(...t);
442
+ }
443
+ if (i.light.components) {
444
+ const s = i.light.components, f = g(s);
445
+ f.length > 0 && e.push(...f);
547
446
  }
548
447
  }
549
448
  }
550
- return l;
449
+ return e;
551
450
  }
552
- function c(t) {
553
- const l = [];
554
- if (t && t.color) {
555
- const e = t.color;
556
- if (e.dark) {
557
- if (e.dark.default) {
558
- const i = f("default", e.dark.default);
559
- i.length > 0 && l.push(...i);
560
- }
561
- if (e.dark.gray) {
562
- const i = f("gray", e.dark.gray);
563
- i.length > 0 && l.push(...i);
564
- }
565
- if (e.dark.red) {
566
- const i = f("red", e.dark.red);
567
- i.length > 0 && l.push(...i);
568
- }
569
- if (e.dark.coral) {
570
- const i = f("coral", e.dark.coral);
571
- i.length > 0 && l.push(...i);
572
- }
573
- if (e.dark.orange) {
574
- const i = f("orange", e.dark.orange);
575
- i.length > 0 && l.push(...i);
576
- }
577
- if (e.dark.yellow) {
578
- const i = f("yellow", e.dark.yellow);
579
- i.length > 0 && l.push(...i);
580
- }
581
- if (e.dark.lime) {
582
- const i = f("lime", e.dark.lime);
583
- i.length > 0 && l.push(...i);
584
- }
585
- if (e.dark.green) {
586
- const i = f("green", e.dark.green);
587
- i.length > 0 && l.push(...i);
588
- }
589
- if (e.dark.cyan) {
590
- const i = f("cyan", e.dark.cyan);
591
- i.length > 0 && l.push(...i);
592
- }
593
- if (e.dark.blue) {
594
- const i = f("blue", e.dark.blue);
595
- i.length > 0 && l.push(...i);
596
- }
597
- if (e.dark.violet) {
598
- const i = f("violet", e.dark.violet);
599
- i.length > 0 && l.push(...i);
600
- }
601
- if (e.dark.magenta) {
602
- const i = f("magenta", e.dark.magenta);
603
- i.length > 0 && l.push(...i);
604
- }
605
- if (e.dark.components) {
606
- const i = e.dark.components, s = n(i);
607
- s.length > 0 && l.push(...s);
451
+ function p(a) {
452
+ const e = [];
453
+ if (a && a.color) {
454
+ const i = a.color;
455
+ if (i.dark) {
456
+ if (i.dark.default) {
457
+ const s = r("default", i.dark.default);
458
+ s.length > 0 && e.push(...s);
459
+ }
460
+ for (const s of o)
461
+ if (i.dark[s]) {
462
+ const f = i.dark[s], t = r(s, f);
463
+ t.length > 0 && e.push(...t);
464
+ }
465
+ if (i.dark.components) {
466
+ const s = i.dark.components, f = g(s);
467
+ f.length > 0 && e.push(...f);
608
468
  }
609
469
  }
610
470
  }
611
- return l;
471
+ return e;
612
472
  }
613
- const p = {
614
- getMinolithCssVariableStyles: $,
615
- getRootStyles: o
473
+ const x = {
474
+ getMinolithCssVariableStyles: c,
475
+ getRootStyles: $
616
476
  };
617
477
  export {
618
- p as default
478
+ x as default
619
479
  };
620
480
  //# sourceMappingURL=minolithStyleUtility.js.map