@muraldevkit/ds-foundation 2.17.0 → 2.19.0-dev-rMoq.1

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 -514
  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 +10 -10
  25. package/dist/tokens/border.json +0 -39
  26. package/dist/tokens/color.json +0 -419
  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 -784
  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
@@ -1,6 +1,3 @@
1
- @forward 'color';
2
1
  @forward 'spacing';
3
- @forward 'border';
4
2
  @forward 'typography';
5
- @forward 'shadows';
6
3
  @forward 'z-index';
@@ -1,178 +1,17 @@
1
1
  ////
2
- /// Contextual Spacing Tokens
3
- /// Source: see internal documentation on "Spacing"
4
- /// (NOTE: these values are not finalized yet)
2
+ /// Contextual Spacing Tokens — viewport-responsive overrides only.
3
+ ///
4
+ /// Base values for every --mrl-space-* token are generated by Style Dictionary
5
+ /// into src/styles/_tokens.scss from src/tokens/contextual-variables/spacing.json.
6
+ ///
7
+ /// This file only carries the values that need to change at a breakpoint, since
8
+ /// Style Dictionary emits a flat :root {} block and cannot model @media overrides.
9
+ /// See architecture.md §2 ("Some token values change with viewport").
5
10
  /// @group variables
6
11
  ////
7
12
 
8
13
  :root {
9
- // Focus offset
10
- // We don't have a global variable for 1px width, so fine must be hard coded:
11
- --mrl-space-offset-focus: 1px;
12
-
13
- /* Spacing */
14
- ///
15
- /// Contextual spacing token.
16
- /// --mrl-space-stack-components -> --mrl-spacing-06 -> calc(20 / var(--mrl-baseline) * 1rem).
17
- ///
18
- --mrl-space-stack-components: var(--mrl-spacing-06);
19
-
20
- ///
21
- /// Contextual spacing token.
22
- /// --mrl-space-stack-controls -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
23
- ///
24
- --mrl-space-stack-controls: var(--mrl-spacing-05);
25
-
26
- ///
27
- /// Contextual spacing token.
28
- /// --mrl-space-stack-controls-small -> --mrl-spacing-04 -> calc(12 / var(--mrl-baseline) * 1rem).
29
- ///
30
- --mrl-space-stack-controls-small: var(--mrl-spacing-04);
31
-
32
- ///
33
- /// Contextual spacing token.
34
- /// --mrl-space-stack-section -> --mrl-spacing-07 -> calc(24 / var(--mrl-baseline) * 1rem).
35
- ///
36
- --mrl-space-stack-section: var(--mrl-spacing-07);
37
-
38
- ///
39
- /// Contextual spacing token.
40
- /// --mrl-space-stack-section-divider -> --mrl-spacing-04 -> calc(12 / var(--mrl-baseline) * 1rem).
41
- ///
42
- --mrl-space-stack-section-divider: var(--mrl-spacing-04);
43
-
44
- ///
45
- /// Contextual spacing token.
46
- /// --mrl-space-stack-section-divider-small -> --mrl-spacing-03 -> calc(8 / var(--mrl-baseline) * 1rem).
47
- ///
48
- --mrl-space-stack-section-divider-small: var(--mrl-spacing-03);
49
-
50
- ///
51
- /// Contextual spacing token.
52
- /// --mrl-space-stack-section-divider-large -> --mrl-spacing-06 -> calc(20 / var(--mrl-baseline) * 1rem).
53
- ///
54
- --mrl-space-stack-section-divider-large: var(--mrl-spacing-06);
55
-
56
- ///
57
- /// Contextual spacing token.
58
- /// --mrl-space-stack-section-divider-xlarge -> --mrl-spacing-08 -> calc(32 / var(--mrl-baseline) * 1rem).
59
- ///
60
- --mrl-space-stack-section-divider-xlarge: var(--mrl-spacing-08);
61
-
62
- ///
63
- /// Contextual spacing token.
64
- /// --mrl-space-stack-section-divider-label -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
65
- ///
66
- --mrl-space-stack-section-divider-label: var(--mrl-spacing-05);
67
-
68
- ///
69
- /// Contextual spacing token.
70
- /// --mrl-space-stack-siblings -> --mrl-spacing-04 -> calc(12 / var(--mrl-baseline) * 1rem).
71
- ///
72
- --mrl-space-stack-siblings: var(--mrl-spacing-04);
73
-
74
- ///
75
- /// Contextual spacing token.
76
- /// --mrl-space-stack-related -> --mrl-spacing-03 -> calc(8 / var(--mrl-baseline) * 1rem).
77
- ///
78
- --mrl-space-stack-related: var(--mrl-spacing-03);
79
-
80
- ///
81
- /// Contextual spacing token.
82
- /// --mrl-space-stack-related-small -> --mrl-spacing-02 -> calc(4 / var(--mrl-baseline) * 1rem).
83
- ///
84
- --mrl-space-stack-related-small: var(--mrl-spacing-02);
85
-
86
- ///
87
- /// Contextual spacing token.
88
- /// --mrl-space-inset -> --mrl-spacing-03 -> calc(8 / var(--mrl-baseline) * 1rem).
89
- ///
90
- --mrl-space-inset: var(--mrl-spacing-03);
91
-
92
- ///
93
- /// Contextual spacing token.
94
- /// --mrl-space-inset-container -> --mrl-spacing-08 -> calc(32 / var(--mrl-baseline) * 1rem).
95
- ///
96
- --mrl-space-inset-container: var(--mrl-spacing-08);
97
-
98
- ///
99
- /// Contextual spacing token.
100
- /// --mrl-space-inset-container-large -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
101
- ///
102
- --mrl-space-inset-container-large: var(--mrl-spacing-05);
103
-
104
- ///
105
- /// Contextual spacing token.
106
- /// --mrl-space-inset-large -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
107
- ///
108
- --mrl-space-inset-large: var(--mrl-spacing-05);
109
-
110
- ///
111
- /// Contextual spacing token.
112
- /// --mrl-space-inset-control -> --mrl-spacing-06 -> calc(20 / var(--mrl-baseline) * 1rem).
113
- ///
114
- --mrl-space-inset-control: var(--mrl-spacing-06);
115
-
116
- ///
117
- /// Contextual spacing token.
118
- /// --mrl-space-inset-control-large -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
119
- ///
120
- --mrl-space-inset-control-large: var(--mrl-spacing-05);
121
-
122
- ///
123
- /// Contextual spacing token.
124
- /// --mrl-space-inline-related -> --mrl-spacing-03 -> calc(8 / var(--mrl-baseline) * 1rem).
125
- ///
126
- --mrl-space-inline-related: var(--mrl-spacing-03);
127
-
128
- ///
129
- /// Contextual spacing token.
130
- /// --mrl-space-inline-sibling -> --mrl-spacing-04 -> calc(12 / var(--mrl-baseline) * 1rem).
131
- ///
132
- --mrl-space-inline-sibling: var(--mrl-spacing-04);
133
-
134
- ///
135
- /// Contextual spacing token.
136
- /// --mrl-space-inline-sibling-small -> --mrl-spacing-02 -> calc(4 / var(--mrl-baseline) * 1rem).
137
- ///
138
- --mrl-space-inline-sibling-small: var(--mrl-spacing-02);
139
-
140
- ///
141
- /// Contextual spacing token.
142
- /// --mrl-space-gutter -> --mrl-spacing-04 -> calc(12 / var(--mrl-baseline) * 1rem).
143
- ///
144
- --mrl-space-gutter: var(--mrl-spacing-04);
145
-
146
- ///
147
- /// Contextual spacing token.
148
- /// --mrl-space-gutter-label -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
149
- ///
150
- --mrl-space-gutter-label: var(--mrl-spacing-05);
151
-
152
- ///
153
- /// Contextual spacing token.
154
- /// --mrl-space-stack-subheading -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
155
- ///
156
- --mrl-space-stack-subheading: var(--mrl-spacing-05);
157
-
158
- ///
159
- /// Contextual spacing token.
160
- /// --mrl-space-stack-title -> --mrl-spacing-07 -> calc(24 / var(--mrl-baseline) * 1rem).
161
- ///
162
- --mrl-space-stack-title: var(--mrl-spacing-07);
163
-
164
- ///
165
- /// Contextual spacing token.
166
- /// --mrl-space-stack-title-related -> --mrl-spacing-05 -> calc(16 / var(--mrl-baseline) * 1rem).
167
- ///
168
- --mrl-space-stack-title-related: var(--mrl-spacing-05);
169
-
170
14
  @media only screen and (min-width: 600px) {
171
15
  --mrl-space-inset-container-large: var(--mrl-spacing-08);
172
16
  }
173
-
174
- --mrl-space-inline-sibling-xsmall: var(--mrl-space-inline-sibling-small);
175
-
176
- // Exception in Foundation used for controls like form inputs and buttons
177
- --mrl-space-inset-control-small: calc(var(--mrl-spacing-03) + var(--mrl-spacing-01));
178
17
  }
@@ -1,400 +1,35 @@
1
1
  ////
2
- /// Contextual Typography Tokens
2
+ /// Contextual Typography Tokens — viewport-responsive overrides only.
3
+ ///
4
+ /// Base values for every --mrl-type-*, --mrl-body-font, and --mrl-heading-font
5
+ /// token are generated by Style Dictionary into src/styles/_tokens.scss from
6
+ /// src/tokens/contextual-variables/typography.json.
7
+ ///
8
+ /// This file only carries the values that need to change at a breakpoint, since
9
+ /// Style Dictionary emits a flat :root {} block and cannot model @media overrides.
10
+ /// See architecture.md §2 ("Some token values change with viewport").
3
11
  /// @group variables
4
12
  ////
5
13
 
6
- // We have 6 different use cases for text: display, headlines, titles, body copy (text),
7
- // and interactive UI elements. For each category, the default is the medium, [primary] variation.
8
- // For use cases that have differences between mobile and desktop (display, and headline),
9
- // we implement mobile as the default since our implementation follows a mobile-first philosophy
10
- // for performance.
11
-
12
- :root {
13
- --mrl-body-font: var(--mrl-font-family-01), sans-serif;
14
- --mrl-heading-font: var(--mrl-font-family-01), sans-serif;
15
- --mrl-heading-font-alt: var(--mrl-font-family-02), serif;
16
-
17
- // Typography - Font Size
18
- ///
19
- /// Contextual typography token.
20
- /// --mrl-type-size-display -> --mrl-font-size-08 -> calc(32 / var(--mrl-baseline) * 1rem).
21
- ///
22
- --mrl-type-size-display: var(--mrl-font-size-08);
23
-
24
- ///
25
- /// Contextual typography token.
26
- /// --mrl-type-size-display-large -> --mrl-font-size-09 -> calc(40 / var(--mrl-baseline) * 1rem).
27
- ///
28
- --mrl-type-size-display-large: var(--mrl-font-size-09);
29
-
30
- ///
31
- /// Contextual typography token.
32
- /// --mrl-type-size-display-small -> --mrl-font-size-07 -> calc(24 / var(--mrl-baseline) * 1rem).
33
- ///
34
- --mrl-type-size-display-small: var(--mrl-font-size-07);
35
-
36
- ///
37
- /// Contextual typography token.
38
- /// --mrl-type-size-display-xsmall -> --mrl-font-size-06 -> calc(20 / var(--mrl-baseline) * 1rem).
39
- ///
40
- --mrl-type-size-display-xsmall: var(--mrl-font-size-06);
41
-
42
- ///
43
- /// Contextual typography token.
44
- /// --mrl-type-size-headline -> --mrl-font-size-06 -> calc(20 / var(--mrl-baseline) * 1rem).
45
- ///
46
- --mrl-type-size-headline: var(--mrl-font-size-06);
47
-
48
- ///
49
- /// Contextual typography token.
50
- /// --mrl-type-size-headline-large -> --mrl-font-size-06 -> calc(20 / var(--mrl-baseline) * 1rem).
51
- ///
52
- --mrl-type-size-headline-large: var(--mrl-font-size-06);
53
-
54
- ///
55
- /// Contextual typography token.
56
- /// --mrl-type-size-headline-small -> --mrl-font-size-04 -> calc(16 / var(--mrl-baseline) * 1rem).
57
- ///
58
- --mrl-type-size-headline-small: var(--mrl-font-size-04);
59
-
60
- ///
61
- /// Contextual typography token.
62
- /// --mrl-type-size-text -> --mrl-font-size-04 -> calc(16 / var(--mrl-baseline) * 1rem).
63
- ///
64
- --mrl-type-size-text: var(--mrl-font-size-04);
65
-
66
- ///
67
- /// Contextual typography token.
68
- /// --mrl-type-size-text-large -> --mrl-font-size-05 -> calc(18 / var(--mrl-baseline) * 1rem).
69
- ///
70
- --mrl-type-size-text-large: var(--mrl-font-size-05);
71
-
72
- ///
73
- /// Contextual typography token.
74
- /// --mrl-type-size-text-small -> --mrl-font-size-03 -> calc(14 / var(--mrl-baseline) * 1rem).
75
- ///
76
- --mrl-type-size-text-small: var(--mrl-font-size-03);
77
-
78
- ///
79
- /// Contextual typography token.
80
- /// --mrl-type-size-text-xsmall -> --mrl-font-size-02 -> calc(12 / var(--mrl-baseline) * 1rem).
81
- ///
82
- --mrl-type-size-text-xsmall: var(--mrl-font-size-02);
83
-
84
- ///
85
- /// Contextual typography token.
86
- /// --mrl-type-size-text-xxsmall -> --mrl-font-size-01 -> calc(11 / var(--mrl-baseline) * 1rem).
87
- ///
88
- --mrl-type-size-text-xxsmall: var(--mrl-font-size-01);
89
-
90
- // Typography - Line Height
91
- ///
92
- /// Contextual typography token.
93
- /// --mrl-type-line-height-title -> --mrl-line-height-05 -> 1.25.
94
- ///
95
- --mrl-type-line-height-title: var(--mrl-line-height-05);
96
-
97
- ///
98
- /// Contextual typography token.
99
- /// --mrl-type-line-height-title-large -> --mrl-line-height-06 -> 1.333.
100
- ///
101
- --mrl-type-line-height-title-large: var(--mrl-line-height-06);
102
-
103
- ///
104
- /// Contextual typography token.
105
- /// --mrl-type-line-height-title-small -> --mrl-line-height-08 -> 1.429.
106
- ///
107
- --mrl-type-line-height-title-small: var(--mrl-line-height-08);
108
-
109
- ///
110
- /// Contextual typography token.
111
- /// --mrl-type-line-height-title-xsmall -> --mrl-line-height-06 -> 1.333.
112
- ///
113
- --mrl-type-line-height-title-xsmall: var(--mrl-line-height-06);
114
-
115
- ///
116
- /// Contextual typography token.
117
- /// --mrl-type-line-height-title-xxsmall -> --mrl-line-height-06 -> 1.333.
118
- ///
119
- --mrl-type-line-height-title-xxsmall: var(--mrl-line-height-06);
120
-
121
- ///
122
- /// Contextual typography token.
123
- /// --mrl-type-line-height-display -> --mrl-line-height-02 -> 1.
124
- ///
125
- --mrl-type-line-height-display: var(--mrl-line-height-02);
126
-
127
- ///
128
- /// Contextual typography token.
129
- /// --mrl-type-line-height-display-large -> --mrl-line-height-02 -> 1.
130
- ///
131
- --mrl-type-line-height-display-large: var(--mrl-line-height-02);
132
-
133
- ///
134
- /// Contextual typography token.
135
- /// --mrl-type-line-height-display-small -> --mrl-line-height-02 -> 1.
136
- ///
137
- --mrl-type-line-height-display-small: var(--mrl-line-height-02);
138
-
139
- ///
140
- /// Contextual typography token.
141
- /// --mrl-type-line-height-display-xsmall -> --mrl-line-height-02 -> 1.
142
- ///
143
- --mrl-type-line-height-display-xsmall: var(--mrl-line-height-02);
144
-
145
- ///
146
- /// Contextual typography token.
147
- /// --mrl-type-line-height-headline -> --mrl-line-height-07 -> 1.4.
148
- ///
149
- --mrl-type-line-height-headline: var(--mrl-line-height-07);
150
-
151
- ///
152
- /// Contextual typography token.
153
- /// --mrl-type-line-height-headline-large -> --mrl-line-height-07 -> 1.4.
154
- ///
155
- --mrl-type-line-height-headline-large: var(--mrl-line-height-07);
156
-
157
- ///
158
- /// Contextual typography token.
159
- /// --mrl-type-line-height-headline-small -> --mrl-line-height-02 -> 1.
160
- ///
161
- --mrl-type-line-height-headline-small: var(--mrl-line-height-02);
162
-
163
- ///
164
- /// Contextual typography token.
165
- /// --mrl-type-line-height-text -> --mrl-line-height-09 -> 1.5.
166
- ///
167
- --mrl-type-line-height-text: var(--mrl-line-height-09);
168
-
169
- ///
170
- /// Contextual typography token.
171
- /// --mrl-type-line-height-text-large -> --mrl-line-height-10 -> 1.56.
172
- ///
173
- --mrl-type-line-height-text-large: var(--mrl-line-height-10);
174
-
175
- ///
176
- /// Contextual typography token.
177
- /// --mrl-type-line-height-text-small -> --mrl-line-height-08 -> 1.429.
178
- ///
179
- --mrl-type-line-height-text-small: var(--mrl-line-height-08);
180
-
181
- ///
182
- /// Contextual typography token.
183
- /// --mrl-type-line-height-text-xsmall -> --mrl-line-height-06 -> 1.333.
184
- ///
185
- --mrl-type-line-height-text-xsmall: var(--mrl-line-height-06);
186
-
187
- ///
188
- /// Contextual typography token.
189
- /// --mrl-type-line-height-text-xxsmall -> --mrl-line-height-08 -> 1.429.
190
- ///
191
- --mrl-type-line-height-text-xxsmall: var(--mrl-line-height-08);
192
-
193
- ///
194
- /// Contextual typography token.
195
- /// --mrl-type-line-height-interactive -> --mrl-line-height-09 -> 1.5.
196
- ///
197
- --mrl-type-line-height-interactive: var(--mrl-line-height-09);
198
-
199
- ///
200
- /// Contextual typography token.
201
- /// --mrl-type-line-height-interactive-large -> --mrl-line-height-10 -> 1.56.
202
- ///
203
- --mrl-type-line-height-interactive-large: var(--mrl-line-height-10);
204
-
205
- ///
206
- /// Contextual typography token.
207
- /// --mrl-type-line-height-interactive-small -> --mrl-line-height-08 -> 1.429.
208
- ///
209
- --mrl-type-line-height-interactive-small: var(--mrl-line-height-08);
210
-
211
- ///
212
- /// Contextual typography token.
213
- /// --mrl-type-line-height-interactive-xsmall -> --mrl-line-height-06 -> 1.333.
214
- ///
215
- --mrl-type-line-height-interactive-xsmall: var(--mrl-line-height-06);
216
-
217
- // Typography - Font Weight
218
- ///
219
- /// Contextual typography token.
220
- /// --mrl-type-weight-display -> --mrl-font-weight-01 -> 400.
221
- ///
222
- --mrl-type-weight-display: var(--mrl-font-weight-01);
223
-
224
- ///
225
- /// Contextual typography token.
226
- /// --mrl-type-weight-headline -> --mrl-font-weight-04 -> 700.
227
- ///
228
- --mrl-type-weight-headline: var(--mrl-font-weight-04);
229
-
230
- ///
231
- /// Contextual typography token.
232
- /// --mrl-type-weight-title -> --mrl-font-weight-04 -> 700.
233
- ///
234
- --mrl-type-weight-title: var(--mrl-font-weight-04);
235
-
236
- ///
237
- /// Contextual typography token.
238
- /// --mrl-type-weight-title-secondary -> --mrl-font-weight-02 -> 500.
239
- ///
240
- --mrl-type-weight-title-secondary: var(--mrl-font-weight-02);
241
-
242
- ///
243
- /// Contextual typography token.
244
- /// --mrl-type-weight-text -> --mrl-font-weight-01 -> 400.
245
- ///
246
- --mrl-type-weight-text: var(--mrl-font-weight-01);
247
-
248
- ///
249
- /// Contextual typography token.
250
- /// --mrl-type-weight-text-bold -> --mrl-font-weight-04 -> 700.
251
- ///
252
- --mrl-type-weight-text-bold: var(--mrl-font-weight-04);
253
-
254
- ///
255
- /// Contextual typography token.
256
- /// --mrl-type-weight-text-secondary -> --mrl-font-weight-01 -> 400.
257
- ///
258
- --mrl-type-weight-text-secondary: var(--mrl-font-weight-01);
259
-
260
- ///
261
- /// Contextual typography token.
262
- /// --mrl-type-weight-interactive -> --mrl-font-weight-04 -> 700.
263
- ///
264
- --mrl-type-weight-interactive: var(--mrl-font-weight-04);
265
-
266
- // Typography - Letter Spacing
267
- ///
268
- /// Contextual typography token.
269
- /// --mrl-type-spacing-display -> --mrl-letter-spacing-03 -> 0%.
270
- ///
271
- --mrl-type-spacing-display: var(--mrl-letter-spacing-03);
272
-
273
- ///
274
- /// Contextual typography token.
275
- /// --mrl-type-spacing-display-large -> --mrl-letter-spacing-02 -> -1%.
276
- ///
277
- --mrl-type-spacing-display-large: var(--mrl-letter-spacing-02);
278
-
279
- ///
280
- /// Contextual typography token.
281
- /// --mrl-type-spacing-display-small -> --mrl-letter-spacing-02 -> -1%.
282
- ///
283
- --mrl-type-spacing-display-small: var(--mrl-letter-spacing-02);
284
-
285
- ///
286
- /// Contextual typography token.
287
- /// --mrl-type-spacing-display-xsmall -> --mrl-letter-spacing-02 -> -1%.
288
- ///
289
- --mrl-type-spacing-display-xsmall: var(--mrl-letter-spacing-02);
290
-
291
- ///
292
- /// Contextual typography token.
293
- /// --mrl-type-spacing-headline -> --mrl-letter-spacing-03 -> 0%.
294
- ///
295
- --mrl-type-spacing-headline: var(--mrl-letter-spacing-03);
296
-
297
- ///
298
- /// Contextual typography token.
299
- /// --mrl-type-spacing-headline-large -> --mrl-letter-spacing-03 -> 0%.
300
- ///
301
- --mrl-type-spacing-headline-large: var(--mrl-letter-spacing-03);
302
-
303
- ///
304
- /// Contextual typography token.
305
- /// --mrl-type-spacing-headline-small -> --mrl-letter-spacing-04 -> 1%.
306
- ///
307
- --mrl-type-spacing-headline-small: var(--mrl-letter-spacing-04);
308
-
309
- ///
310
- /// Contextual typography token.
311
- /// --mrl-type-spacing-text -> --mrl-letter-spacing-03 -> 0%.
312
- ///
313
- --mrl-type-spacing-text: var(--mrl-letter-spacing-03);
314
-
315
- ///
316
- /// Contextual typography token.
317
- /// --mrl-type-spacing-interactive-xsmall -> --mrl-letter-spacing-04 -> 1%.
318
- ///
319
- --mrl-type-spacing-interactive-xsmall: var(--mrl-letter-spacing-04);
320
-
321
- // Toggleable label mixin variables
322
- // Exceptional value: this mixin renders a 10px font, which we have no variable for
323
- --mrl-type-size-toggleable-label: calc(10 / var(--mrl-baseline) * 1rem);
324
- --mrl-type-weight-toggleable-label: var(--mrl-font-weight-03);
325
- }
326
-
327
14
  // @todo - 1779 - Responsive Grid, Phase 1
328
15
  // Waiting on Design before we can setup our breakpoint variables with proper values
329
16
  @media screen and (min-width: 600px) {
330
17
  :root {
331
18
  // Typography - Font Size
332
- ///
333
- /// Contextual typography token.
334
- /// --mrl-type-size-display -> --mrl-font-size-09 -> calc(40 / var(--mrl-baseline) * 1rem).
335
- ///
336
19
  --mrl-type-size-display: var(--mrl-font-size-09);
337
-
338
- ///
339
- /// Contextual typography token.
340
- /// --mrl-type-size-display-large -> --mrl-font-size-10 -> calc(48 / var(--mrl-baseline) * 1rem).
341
- ///
342
20
  --mrl-type-size-display-large: var(--mrl-font-size-10);
343
-
344
- ///
345
- /// Contextual typography token.
346
- /// --mrl-type-size-display-small -> --mrl-font-size-08 -> calc(32 / var(--mrl-baseline) * 1rem).
347
- ///
348
21
  --mrl-type-size-display-small: var(--mrl-font-size-08);
349
-
350
- ///
351
- /// Contextual typography token.
352
- /// --mrl-type-size-display-xsmall -> --mrl-font-size-07 -> calc(24 / var(--mrl-baseline) * 1rem).
353
- ///
354
22
  --mrl-type-size-display-xsmall: var(--mrl-font-size-07);
355
-
356
- ///
357
- /// Contextual typography token.
358
- /// --mrl-type-size-headline -> --mrl-font-size-06 -> calc(20 / var(--mrl-baseline) * 1rem).
359
- ///
360
23
  --mrl-type-size-headline: var(--mrl-font-size-06);
361
-
362
- ///
363
- /// Contextual typography token.
364
- /// --mrl-type-size-headline-large -> --mrl-font-size-07 -> calc(24 / var(--mrl-baseline) * 1rem).
365
- ///
366
24
  --mrl-type-size-headline-large: var(--mrl-font-size-07);
367
-
368
- ///
369
- /// Contextual typography token.
370
- /// --mrl-type-size-headline-small -> --mrl-font-size-04 -> calc(16 / var(--mrl-baseline) * 1rem).
371
- ///
372
25
  --mrl-type-size-headline-small: var(--mrl-font-size-04);
373
26
 
374
27
  // Typography - Line Height
375
- ///
376
- /// Contextual typography token.
377
- /// --mrl-type-line-height-headline -> --mrl-line-height-07 -> 1.4.
378
- ///
379
28
  --mrl-type-line-height-headline: var(--mrl-line-height-07);
380
-
381
- ///
382
- /// Contextual typography token.
383
- /// --mrl-type-line-height-headline-large -> --mrl-line-height-06 -> 1.333.
384
- ///
385
29
  --mrl-type-line-height-headline-large: var(--mrl-line-height-06);
386
-
387
- ///
388
- /// Contextual typography token.
389
- /// --mrl-type-line-height-headline-small -> --mrl-line-height-09 -> 1.5.
390
- ///
391
30
  --mrl-type-line-height-headline-small: var(--mrl-line-height-09);
392
31
 
393
32
  // Typography - Letter Spacing
394
- ///
395
- /// Contextual typography token.
396
- /// --mrl-type-spacing-headline-small -> --mrl-letter-spacing-03 -> 0%.
397
- ///
398
33
  --mrl-type-spacing-headline-small: var(--mrl-letter-spacing-03);
399
34
  }
400
35
  }
@@ -5,13 +5,13 @@
5
5
 
6
6
  // @todo - some of the following files export CSS, providing an option for adopters
7
7
  // who do not want the full CSS output and prefer to use mixins directly without bloating their code base
8
- @forward "global-variables/index";
9
- @forward "contextual-variables/index";
10
- @forward "mixins";
11
- @forward "focus";
12
- @forward "functions";
13
- @forward "baseline";
14
- @forward "grid";
15
- @forward "spacing";
16
- @forward "typography";
17
- @forward "skeletons/index";
8
+ @forward 'tokens';
9
+ @forward 'contextual-variables/index';
10
+ @forward 'mixins';
11
+ @forward 'focus';
12
+ @forward 'functions';
13
+ @forward 'baseline';
14
+ @forward 'grid';
15
+ @forward 'spacing';
16
+ @forward 'typography';
17
+ @forward 'skeletons/index';
@@ -1,39 +0,0 @@
1
- {
2
- "radii": {
3
- "01": {
4
- "value": "2"
5
- },
6
- "02": {
7
- "value": "4"
8
- },
9
- "03": {
10
- "value": "8"
11
- },
12
- "04": {
13
- "value": "12"
14
- },
15
- "05": {
16
- "value": "16"
17
- },
18
- "06": {
19
- "value": "24"
20
- },
21
- "07": {
22
- "value": "32"
23
- },
24
- "08": {
25
- "value": "40"
26
- }
27
- },
28
- "stroke": {
29
- "01": {
30
- "value": "2"
31
- },
32
- "02": {
33
- "value": "2"
34
- },
35
- "03": {
36
- "value": "2"
37
- }
38
- }
39
- }