@muraldevkit/ds-foundation 2.18.0 → 2.19.0

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 (40) hide show
  1. package/README.md +10 -5
  2. package/dist/fonts.css +0 -1
  3. package/dist/fonts.min.css +2 -1
  4. package/dist/foundation.css +681 -504
  5. package/dist/foundation.css.map +1 -1
  6. package/dist/foundation.min.css +2 -1
  7. package/dist/foundation.min.css.map +1 -1
  8. package/dist/tokens/contextual-variables/border.json +134 -0
  9. package/dist/tokens/contextual-variables/color.json +352 -0
  10. package/dist/tokens/contextual-variables/shadows.json +30 -0
  11. package/dist/tokens/contextual-variables/spacing.json +120 -0
  12. package/dist/tokens/contextual-variables/typography.json +232 -0
  13. package/dist/tokens/global-variables/border.json +61 -0
  14. package/dist/tokens/global-variables/color.json +636 -0
  15. package/dist/tokens/global-variables/motion.json +63 -0
  16. package/dist/tokens/global-variables/shadows.json +86 -0
  17. package/dist/tokens/global-variables/spacing.json +60 -0
  18. package/dist/tokens/global-variables/typography.json +208 -0
  19. package/package.json +5 -15
  20. package/src/styles/_tokens.scss +781 -0
  21. package/src/styles/contextual-variables/index.scss +0 -3
  22. package/src/styles/contextual-variables/spacing.scss +8 -169
  23. package/src/styles/contextual-variables/typography.scss +9 -374
  24. package/src/styles/index.scss +11 -10
  25. package/dist/tokens/border.json +0 -39
  26. package/dist/tokens/color.json +0 -387
  27. package/dist/tokens/motion.json +0 -41
  28. package/dist/tokens/shadows.json +0 -21
  29. package/dist/tokens/spacing.json +0 -46
  30. package/dist/tokens/typography.json +0 -152
  31. package/src/styles/contextual-variables/border.scss +0 -200
  32. package/src/styles/contextual-variables/color.scss +0 -519
  33. package/src/styles/contextual-variables/shadows.scss +0 -44
  34. package/src/styles/global-variables/border.scss +0 -65
  35. package/src/styles/global-variables/color.scss +0 -734
  36. package/src/styles/global-variables/index.scss +0 -7
  37. package/src/styles/global-variables/motion.scss +0 -65
  38. package/src/styles/global-variables/shadows.scss +0 -39
  39. package/src/styles/global-variables/spacing.scss +0 -79
  40. package/src/styles/global-variables/typography.scss +0 -203
@@ -0,0 +1,352 @@
1
+ {
2
+ "color": {
3
+ "focus": {
4
+ "$value": "rgba({blue.70}, 1)",
5
+ "$description": "Focus ring on interactive elements."
6
+ },
7
+ "focus-inverse": {
8
+ "$value": "rgba({white}, 1)",
9
+ "$description": "Focus ring on inverse (dark) surfaces."
10
+ },
11
+ "shadows": {
12
+ "$value": "rgba({black}, 1)",
13
+ "$description": "Base color for shadow tokens."
14
+ },
15
+ "brand": {
16
+ "$value": "rgba({red.70}, 1)",
17
+ "$description": "Primary brand color."
18
+ },
19
+ "brand-hover": {
20
+ "$value": "rgba({red.80}, 1)",
21
+ "$description": "Brand color, hover state."
22
+ },
23
+ "brand-active": {
24
+ "$value": "rgba({red.90}, 1)",
25
+ "$description": "Brand color, active/pressed state."
26
+ },
27
+ "accent": {
28
+ "$value": "rgba({blue.70}, 1)",
29
+ "$description": "Accent color used for emphasis and selection."
30
+ },
31
+ "skeleton": {
32
+ "$value": "rgba({gray.20}, 1)",
33
+ "$description": "Skeleton placeholder background."
34
+ },
35
+ "skeleton-inverse": {
36
+ "$value": "rgba({white}, 1)",
37
+ "$description": "Skeleton placeholder background on inverse surfaces."
38
+ },
39
+ "background": {
40
+ "$value": "rgba({white}, 1)",
41
+ "$description": "Default surface background."
42
+ },
43
+ "background-secondary": {
44
+ "$value": "rgba({gray.80}, 1)",
45
+ "$description": "Secondary surface background."
46
+ },
47
+ "background-decorative": {
48
+ "$value": "rgba({gray.20}, 1)",
49
+ "$description": "Background for decorative, non-interactive surfaces."
50
+ },
51
+ "background-highlight-secondary": {
52
+ "$value": "rgba({blue.10}, 1)",
53
+ "$description": "Secondary highlight background."
54
+ },
55
+ "background-info": {
56
+ "$value": "rgba({status.info}, 1)",
57
+ "$description": "Background for info status surfaces."
58
+ },
59
+ "background-info-light": {
60
+ "$value": "rgba({status.info-light}, 1)",
61
+ "$description": "Light background for info status surfaces."
62
+ },
63
+ "background-success": {
64
+ "$value": "rgba({status.success}, 1)",
65
+ "$description": "Background for success status surfaces."
66
+ },
67
+ "background-success-light": {
68
+ "$value": "rgba({status.success-light}, 1)",
69
+ "$description": "Light background for success status surfaces."
70
+ },
71
+ "background-warning": {
72
+ "$value": "rgba({status.warning}, 1)",
73
+ "$description": "Background for warning status surfaces."
74
+ },
75
+ "background-warning-light": {
76
+ "$value": "rgba({status.warning-light}, 1)",
77
+ "$description": "Light background for warning status surfaces."
78
+ },
79
+ "background-error": {
80
+ "$value": "rgba({status.error}, 1)",
81
+ "$description": "Background for error status surfaces."
82
+ },
83
+ "background-error-light": {
84
+ "$value": "rgba({status.error-light}, 1)",
85
+ "$description": "Light background for error status surfaces."
86
+ },
87
+ "background-private": {
88
+ "$value": "rgba({gray.100}, 1)",
89
+ "$description": "Background for private content warnings."
90
+ },
91
+ "background-inverse": {
92
+ "$value": "rgba({gray.100}, 1)",
93
+ "$description": "Inverse (dark) surface background."
94
+ },
95
+ "background-inverse-hover": {
96
+ "$value": "rgba({gray.90}, 1)",
97
+ "$description": "Inverse surface background, hover state."
98
+ },
99
+ "background-disabled": {
100
+ "$value": "rgba({gray.40}, 1)",
101
+ "$description": "Background for disabled controls."
102
+ },
103
+ "background-highlight-hover": {
104
+ "$value": "rgba({gray.20}, 1)",
105
+ "$description": "Highlight background, hover state."
106
+ },
107
+ "background-highlight-active": {
108
+ "$value": "rgba({gray.90}, 1)",
109
+ "$description": "Highlight background, active/pressed state."
110
+ },
111
+ "background-highlight-selected": {
112
+ "$value": "rgba({gray.100}, 1)",
113
+ "$description": "Highlight background, selected state."
114
+ },
115
+ "background-highlight-emph-active": {
116
+ "$value": "rgba({gray.30}, 1)",
117
+ "$description": "Emphasized highlight background, active state."
118
+ },
119
+ "line": {
120
+ "$value": "rgba({gray.70}, 1)",
121
+ "$description": "Default line/border color."
122
+ },
123
+ "line-hover": {
124
+ "$value": "rgba({gray.90}, 1)",
125
+ "$description": "Line color, hover state."
126
+ },
127
+ "line-active": {
128
+ "$value": "rgba({gray.100}, 1)",
129
+ "$description": "Line color, active state."
130
+ },
131
+ "line-selected": {
132
+ "$value": "rgba({gray.90}, 1)",
133
+ "$description": "Line color, selected state."
134
+ },
135
+ "line-disabled": {
136
+ "$value": "rgba({gray.40}, 1)",
137
+ "$description": "Line color for disabled controls."
138
+ },
139
+ "line-highlight-secondary": {
140
+ "$value": "rgba({blue.20}, 1)",
141
+ "$description": "Secondary highlight line color."
142
+ },
143
+ "line-divider": {
144
+ "$value": "rgba({gray.20}, 1)",
145
+ "$description": "Divider line color."
146
+ },
147
+ "line-divider-inverse": {
148
+ "$value": "rgba({gray.80}, 1)",
149
+ "$description": "Divider line color on inverse surfaces."
150
+ },
151
+ "line-emph": {
152
+ "$value": "rgba({gray.20}, 1)",
153
+ "$description": "Emphasized line color."
154
+ },
155
+ "line-emph-hover": {
156
+ "$value": "rgba({gray.90}, 1)",
157
+ "$description": "Emphasized line color, hover state."
158
+ },
159
+ "line-emph-active": {
160
+ "$value": "rgba({black}, 1)",
161
+ "$description": "Emphasized line color, active state."
162
+ },
163
+ "line-inverse": {
164
+ "$value": "rgba({white}, 1)",
165
+ "$description": "Line color on inverse surfaces."
166
+ },
167
+ "line-inverse-disabled": {
168
+ "$value": "rgba({white}, 1)",
169
+ "$description": "Line color for disabled controls on inverse surfaces."
170
+ },
171
+ "icon-light": {
172
+ "$value": "rgba({gray.70}, 1)",
173
+ "$description": "Light icon color."
174
+ },
175
+ "icon-disabled": {
176
+ "$value": "rgba({gray.40}, 1)",
177
+ "$description": "Icon color for disabled controls."
178
+ },
179
+ "icon-inverse": {
180
+ "$value": "rgba({white}, 1)",
181
+ "$description": "Icon color on inverse surfaces."
182
+ },
183
+ "input-icon-default": {
184
+ "$value": "rgba({gray.70}, 1)",
185
+ "$description": "Default icon color inside form inputs."
186
+ },
187
+ "text": {
188
+ "$value": "rgba({gray.80}, 1)",
189
+ "$description": "Default body text color."
190
+ },
191
+ "text-hover": {
192
+ "$value": "rgba({gray.90}, 1)",
193
+ "$description": "Text color, hover state."
194
+ },
195
+ "text-active": {
196
+ "$value": "rgba({gray.90}, 1)",
197
+ "$description": "Text color, active state."
198
+ },
199
+ "text-selected": {
200
+ "$value": "rgba({gray.100}, 1)",
201
+ "$description": "Text color, selected state."
202
+ },
203
+ "text-disabled": {
204
+ "$value": "rgba({gray.40}, 1)",
205
+ "$description": "Text color for disabled controls."
206
+ },
207
+ "text-disabled-inverse": {
208
+ "$value": "rgba({white}, 1)",
209
+ "$description": "Disabled text color on inverse surfaces."
210
+ },
211
+ "text-emph": {
212
+ "$value": "rgba({gray.80}, 1)",
213
+ "$description": "Emphasized text color."
214
+ },
215
+ "text-emph-hover": {
216
+ "$value": "rgba({gray.90}, 1)",
217
+ "$description": "Emphasized text color, hover state."
218
+ },
219
+ "text-emph-active": {
220
+ "$value": "rgba({black}, 1)",
221
+ "$description": "Emphasized text color, active state."
222
+ },
223
+ "text-highlight": {
224
+ "$value": "rgba({gray.80}, 1)",
225
+ "$description": "Text color on highlighted backgrounds."
226
+ },
227
+ "text-highlight-hover": {
228
+ "$value": "rgba({gray.90}, 1)",
229
+ "$description": "Highlighted text color, hover state."
230
+ },
231
+ "text-highlight-active": {
232
+ "$value": "rgba({white}, 1)",
233
+ "$description": "Highlighted text color, active state."
234
+ },
235
+ "text-highlight-selected": {
236
+ "$value": "rgba({white}, 1)",
237
+ "$description": "Highlighted text color, selected state."
238
+ },
239
+ "text-highlight-emph": {
240
+ "$value": "rgba({gray.90}, 1)",
241
+ "$description": "Emphasized highlighted text color."
242
+ },
243
+ "text-highlight-emph-hover": {
244
+ "$value": "rgba({gray.100}, 1)",
245
+ "$description": "Emphasized highlighted text color, hover state."
246
+ },
247
+ "text-highlight-emph-active": {
248
+ "$value": "rgba({black}, 1)",
249
+ "$description": "Emphasized highlighted text color, active state."
250
+ },
251
+ "text-highlight-emph-selected": {
252
+ "$value": "rgba({white}, 1)",
253
+ "$description": "Emphasized highlighted text color, selected state."
254
+ },
255
+ "text-inverse": {
256
+ "$value": "rgba({white}, 1)",
257
+ "$description": "Text color on inverse surfaces."
258
+ },
259
+ "text-inverse-secondary": {
260
+ "$value": "rgba({gray.10}, 1)",
261
+ "$description": "Secondary text color on inverse surfaces."
262
+ },
263
+ "text-inverse-hover": {
264
+ "$value": "rgba({white}, 1)",
265
+ "$description": "Inverse text color, hover state."
266
+ },
267
+ "text-inverse-active": {
268
+ "$value": "rgba({white}, 1)",
269
+ "$description": "Inverse text color, active state."
270
+ },
271
+ "text-inverse-selected": {
272
+ "$value": "rgba({white}, 1)",
273
+ "$description": "Inverse text color, selected state."
274
+ },
275
+ "text-02": {
276
+ "$value": "rgba({gray.90}, 1)",
277
+ "$description": "Alternate body text color."
278
+ },
279
+ "text-secondary": {
280
+ "$value": "rgba({gray.70}, 1)",
281
+ "$description": "Secondary text color."
282
+ },
283
+ "text-label": {
284
+ "$value": "rgba({gray.100}, 1)",
285
+ "$description": "Text color for form labels."
286
+ },
287
+ "text-heading": {
288
+ "$value": "rgba({gray.100}, 1)",
289
+ "$description": "Text color for headings."
290
+ },
291
+ "text-success": {
292
+ "$value": "rgba({status.success}, 1)",
293
+ "$description": "Text color for success messages."
294
+ },
295
+ "text-warning": {
296
+ "$value": "rgba({gray.90}, 1)",
297
+ "$description": "Text color for warning messages."
298
+ },
299
+ "text-warning-light": {
300
+ "$value": "rgba({gray.80}, 1)",
301
+ "$description": "Text color for light-warning messages."
302
+ },
303
+ "text-error": {
304
+ "$value": "rgba({status.error}, 1)",
305
+ "$description": "Text color for error messages."
306
+ },
307
+ "text-info": {
308
+ "$value": "rgba({status.info}, 1)",
309
+ "$description": "Text color for info messages."
310
+ },
311
+ "text-private": {
312
+ "$value": "rgba({gray.100}, 1)",
313
+ "$description": "Text color for private content."
314
+ },
315
+ "icon-emph-selected": {
316
+ "$value": "rgba({gray.100}, 1)",
317
+ "$description": "Emphasized icon color, selected state."
318
+ },
319
+ "background-inverse-active": {
320
+ "$value": "{color.accent}",
321
+ "$description": "Inverse surface background, active state."
322
+ },
323
+ "background-inverse-selected": {
324
+ "$value": "{color.accent}",
325
+ "$description": "Inverse surface background, selected state."
326
+ },
327
+ "background-highlight-emph-selected": {
328
+ "$value": "{color.accent}",
329
+ "$description": "Emphasized highlight background, selected state."
330
+ },
331
+ "line-emph-selected": {
332
+ "$value": "{color.accent}",
333
+ "$description": "Emphasized line color, selected state."
334
+ },
335
+ "text-emph-selected": {
336
+ "$value": "{color.accent}",
337
+ "$description": "Emphasized text color, selected state."
338
+ },
339
+ "background-page": {
340
+ "$value": "rgb(243, 245, 246)",
341
+ "$description": "Intentional one-off page background (#f3f5f6)."
342
+ },
343
+ "background-hover-opacity": {
344
+ "$value": "rgba({gray.30}, 0.2)",
345
+ "$description": "Hover overlay at 20% opacity."
346
+ },
347
+ "background-inverse-hover-opacity": {
348
+ "$value": "{black-opacity-02}",
349
+ "$description": "Inverse hover overlay using black-opacity-02."
350
+ }
351
+ }
352
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "shadows": {
3
+ "$description": "Contextual Shadow Tokens. Please note! If you make a change to these tokens, please make sure that the mrl-shadow mixin is changed as well. We need the tokens to map to the drop-shadow filter!",
4
+ "lifted": {
5
+ "$type": "shadow",
6
+ "$value": "{shadow.01}",
7
+ "$description": "Contextual shadow token."
8
+ },
9
+ "raised": {
10
+ "$type": "shadow",
11
+ "$value": "{shadow.02}",
12
+ "$description": "Contextual shadow token."
13
+ },
14
+ "floating": {
15
+ "$type": "shadow",
16
+ "$value": "{shadow.03}",
17
+ "$description": "Contextual shadow token."
18
+ },
19
+ "hover": {
20
+ "$type": "shadow",
21
+ "$value": "{shadow.interactive-01}",
22
+ "$description": "Contextual shadow token."
23
+ },
24
+ "drag": {
25
+ "$type": "shadow",
26
+ "$value": "{shadow.interactive-02}",
27
+ "$description": "Contextual shadow token."
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,120 @@
1
+ {
2
+ "space": {
3
+ "offset-focus": {
4
+ "$value": "1px",
5
+ "$description": "Focus ring offset. No global spacing token for 1px, so this is hard-coded."
6
+ },
7
+ "stack-components": {
8
+ "$value": "{spacing.06}",
9
+ "$description": "Vertical stack spacing between components."
10
+ },
11
+ "stack-controls": {
12
+ "$value": "{spacing.05}",
13
+ "$description": "Vertical stack spacing between controls."
14
+ },
15
+ "stack-controls-small": {
16
+ "$value": "{spacing.04}",
17
+ "$description": "Vertical stack spacing between small controls."
18
+ },
19
+ "stack-section": {
20
+ "$value": "{spacing.07}",
21
+ "$description": "Vertical stack spacing between sections."
22
+ },
23
+ "stack-section-divider": {
24
+ "$value": "{spacing.04}",
25
+ "$description": "Vertical stack spacing around section dividers."
26
+ },
27
+ "stack-section-divider-small": {
28
+ "$value": "{spacing.03}",
29
+ "$description": "Vertical stack spacing around small section dividers."
30
+ },
31
+ "stack-section-divider-large": {
32
+ "$value": "{spacing.06}",
33
+ "$description": "Vertical stack spacing around large section dividers."
34
+ },
35
+ "stack-section-divider-xlarge": {
36
+ "$value": "{spacing.08}",
37
+ "$description": "Vertical stack spacing around xlarge section dividers."
38
+ },
39
+ "stack-section-divider-label": {
40
+ "$value": "{spacing.05}",
41
+ "$description": "Vertical stack spacing around section divider labels."
42
+ },
43
+ "stack-siblings": {
44
+ "$value": "{spacing.04}",
45
+ "$description": "Vertical stack spacing between sibling elements."
46
+ },
47
+ "stack-related": {
48
+ "$value": "{spacing.03}",
49
+ "$description": "Vertical stack spacing between related elements."
50
+ },
51
+ "stack-related-small": {
52
+ "$value": "{spacing.02}",
53
+ "$description": "Vertical stack spacing between closely related elements."
54
+ },
55
+ "inset": {
56
+ "$value": "{spacing.03}",
57
+ "$description": "Default inset padding."
58
+ },
59
+ "inset-container": {
60
+ "$value": "{spacing.08}",
61
+ "$description": "Inset padding for containers."
62
+ },
63
+ "inset-container-large": {
64
+ "$value": "{spacing.05}",
65
+ "$description": "Inset padding for large containers (mobile-first; overridden above 600px in spacing.scss)."
66
+ },
67
+ "inset-large": {
68
+ "$value": "{spacing.05}",
69
+ "$description": "Large inset padding."
70
+ },
71
+ "inset-control": {
72
+ "$value": "{spacing.06}",
73
+ "$description": "Inset padding for controls."
74
+ },
75
+ "inset-control-large": {
76
+ "$value": "{spacing.05}",
77
+ "$description": "Inset padding for large controls."
78
+ },
79
+ "inset-control-small": {
80
+ "$value": "calc({spacing.03} + {spacing.01})",
81
+ "$description": "Inset padding for small controls (form inputs, buttons)."
82
+ },
83
+ "inline-related": {
84
+ "$value": "{spacing.03}",
85
+ "$description": "Horizontal spacing between related elements."
86
+ },
87
+ "inline-sibling": {
88
+ "$value": "{spacing.04}",
89
+ "$description": "Horizontal spacing between sibling elements."
90
+ },
91
+ "inline-sibling-small": {
92
+ "$value": "{spacing.02}",
93
+ "$description": "Horizontal spacing between closely placed sibling elements."
94
+ },
95
+ "inline-sibling-xsmall": {
96
+ "$value": "{space.inline-sibling-small}",
97
+ "$description": "Horizontal spacing between very closely placed sibling elements."
98
+ },
99
+ "gutter": {
100
+ "$value": "{spacing.04}",
101
+ "$description": "Default grid/layout gutter."
102
+ },
103
+ "gutter-label": {
104
+ "$value": "{spacing.05}",
105
+ "$description": "Gutter spacing around labels."
106
+ },
107
+ "stack-subheading": {
108
+ "$value": "{spacing.05}",
109
+ "$description": "Vertical stack spacing around subheadings."
110
+ },
111
+ "stack-title": {
112
+ "$value": "{spacing.07}",
113
+ "$description": "Vertical stack spacing around titles."
114
+ },
115
+ "stack-title-related": {
116
+ "$value": "{spacing.05}",
117
+ "$description": "Vertical stack spacing between a title and related content."
118
+ }
119
+ }
120
+ }