@graupl/core 1.0.0-beta.15 → 1.0.0-beta.16

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 (124) hide show
  1. package/dist/css/base/button.css +1 -1
  2. package/dist/css/base/button.css.map +1 -1
  3. package/dist/css/base/form.css +1 -1
  4. package/dist/css/base/form.css.map +1 -1
  5. package/dist/css/base/link.css +1 -1
  6. package/dist/css/base/link.css.map +1 -1
  7. package/dist/css/base/table.css.map +1 -1
  8. package/dist/css/base.css +1 -1
  9. package/dist/css/base.css.map +1 -1
  10. package/dist/css/component/accordion.css +2 -2
  11. package/dist/css/component/accordion.css.map +1 -1
  12. package/dist/css/component/alert.css +1 -1
  13. package/dist/css/component/alert.css.map +1 -1
  14. package/dist/css/component/carousel.css +1 -1
  15. package/dist/css/component/carousel.css.map +1 -1
  16. package/dist/css/component.css +2 -2
  17. package/dist/css/component.css.map +1 -1
  18. package/dist/css/graupl.css +2 -2
  19. package/dist/css/graupl.css.map +1 -1
  20. package/dist/css/layout.css +2 -2
  21. package/dist/css/layout.css.map +1 -1
  22. package/dist/css/state/focus.css +1 -1
  23. package/dist/css/state/focus.css.map +1 -1
  24. package/dist/css/state.css +1 -1
  25. package/dist/css/state.css.map +1 -1
  26. package/dist/css/theme/color.css +1 -1
  27. package/dist/css/theme/color.css.map +1 -1
  28. package/dist/css/theme.css +1 -1
  29. package/dist/css/theme.css.map +1 -1
  30. package/dist/css/utilities/border.css +1 -1
  31. package/dist/css/utilities/border.css.map +1 -1
  32. package/dist/css/utilities/color.css +1 -1
  33. package/dist/css/utilities/color.css.map +1 -1
  34. package/dist/css/utilities/gradient.css +1 -1
  35. package/dist/css/utilities/gradient.css.map +1 -1
  36. package/dist/css/utilities/order.css.map +1 -1
  37. package/dist/css/utilities/typography.css +1 -1
  38. package/dist/css/utilities/typography.css.map +1 -1
  39. package/dist/css/utilities/visually-hidden.css.map +1 -1
  40. package/dist/css/utilities.css +1 -1
  41. package/dist/css/utilities.css.map +1 -1
  42. package/dist/js/accordion.js.map +1 -1
  43. package/dist/js/alert.js.map +1 -1
  44. package/dist/js/carousel.js.map +1 -1
  45. package/dist/js/component/accordion.cjs.js.map +1 -1
  46. package/dist/js/component/accordion.es.js.map +1 -1
  47. package/dist/js/component/accordion.iife.js.map +1 -1
  48. package/dist/js/component/alert.cjs.js.map +1 -1
  49. package/dist/js/component/alert.es.js.map +1 -1
  50. package/dist/js/component/alert.iife.js.map +1 -1
  51. package/dist/js/component/carousel.cjs.js.map +1 -1
  52. package/dist/js/component/carousel.es.js.map +1 -1
  53. package/dist/js/component/carousel.iife.js.map +1 -1
  54. package/dist/js/generator/accordion.cjs.js.map +1 -1
  55. package/dist/js/generator/accordion.es.js.map +1 -1
  56. package/dist/js/generator/accordion.iife.js.map +1 -1
  57. package/dist/js/generator/alert.cjs.js.map +1 -1
  58. package/dist/js/generator/alert.es.js.map +1 -1
  59. package/dist/js/generator/alert.iife.js.map +1 -1
  60. package/dist/js/generator/carousel.cjs.js.map +1 -1
  61. package/dist/js/generator/carousel.es.js.map +1 -1
  62. package/dist/js/generator/carousel.iife.js.map +1 -1
  63. package/dist/js/generator/navigation.cjs.js.map +1 -1
  64. package/dist/js/generator/navigation.es.js.map +1 -1
  65. package/dist/js/generator/navigation.iife.js.map +1 -1
  66. package/dist/js/graupl.js.map +1 -1
  67. package/dist/js/navigation.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/scss/_defaults.scss +147 -29
  70. package/src/scss/base/button/_defaults.scss +21 -5
  71. package/src/scss/base/button/_mixins.scss +1 -1
  72. package/src/scss/base/table/_defaults.scss +15 -2
  73. package/src/scss/base/table/_index.scss +4 -7
  74. package/src/scss/component/alert/_defaults.scss +22 -5
  75. package/src/scss/component/alert/_index.scss +1 -1
  76. package/src/scss/functions/_theme.scss +14 -2
  77. package/src/scss/theme/color/_defaults.scss +84 -14
  78. package/src/scss/theme/color/_index.scss +18 -3
  79. package/src/scss/theme/color/_variables.scss +63 -30
  80. package/src/scss/theme/typography/_defaults.scss +37 -7
  81. package/src/scss/utilities/_template/_defaults.scss +7 -6
  82. package/src/scss/utilities/_template/_index.scss +2 -2
  83. package/src/scss/utilities/alignment/_defaults.scss +53 -15
  84. package/src/scss/utilities/alignment/_index.scss +4 -6
  85. package/src/scss/utilities/background/_defaults.scss +117 -35
  86. package/src/scss/utilities/background/_index.scss +8 -14
  87. package/src/scss/utilities/border/_defaults.scss +77 -15
  88. package/src/scss/utilities/border/_index.scss +73 -75
  89. package/src/scss/utilities/color/_defaults.scss +55 -7
  90. package/src/scss/utilities/color/_index.scss +143 -144
  91. package/src/scss/utilities/container/_defaults.scss +21 -5
  92. package/src/scss/utilities/container/_index.scss +2 -2
  93. package/src/scss/utilities/display/_defaults.scss +18 -5
  94. package/src/scss/utilities/display/_index.scss +2 -2
  95. package/src/scss/utilities/flex/_defaults.scss +88 -25
  96. package/src/scss/utilities/flex/_index.scss +6 -10
  97. package/src/scss/utilities/gradient/_defaults.scss +64 -9
  98. package/src/scss/utilities/gradient/_index.scss +127 -129
  99. package/src/scss/utilities/height/_defaults.scss +27 -2
  100. package/src/scss/utilities/height/_index.scss +169 -163
  101. package/src/scss/utilities/inset/_defaults.scss +25 -4
  102. package/src/scss/utilities/inset/_index.scss +3 -4
  103. package/src/scss/utilities/justification/_defaults.scss +53 -15
  104. package/src/scss/utilities/justification/_index.scss +4 -6
  105. package/src/scss/utilities/list/_defaults.scss +37 -10
  106. package/src/scss/utilities/list/_index.scss +3 -4
  107. package/src/scss/utilities/order/_defaults.scss +33 -2
  108. package/src/scss/utilities/order/_index.scss +55 -67
  109. package/src/scss/utilities/position/_defaults.scss +18 -5
  110. package/src/scss/utilities/position/_index.scss +2 -2
  111. package/src/scss/utilities/ratio/_defaults.scss +15 -2
  112. package/src/scss/utilities/ratio/_index.scss +2 -2
  113. package/src/scss/utilities/spacing/_defaults.scss +18 -5
  114. package/src/scss/utilities/spacing/_index.scss +2 -2
  115. package/src/scss/utilities/typography/_defaults.scss +146 -12
  116. package/src/scss/utilities/typography/_index.scss +854 -704
  117. package/src/scss/utilities/visibility/_defaults.scss +20 -5
  118. package/src/scss/utilities/visibility/_index.scss +2 -2
  119. package/src/scss/utilities/visually-hidden/_defaults.scss +1 -0
  120. package/src/scss/utilities/visually-hidden/_index.scss +1 -0
  121. package/src/scss/utilities/width/_defaults.scss +27 -2
  122. package/src/scss/utilities/width/_index.scss +163 -163
  123. package/src/scss/utilities/z-index/_defaults.scss +17 -5
  124. package/src/scss/utilities/z-index/_index.scss +2 -2
@@ -36,6 +36,7 @@
36
36
  // The following variables control the generated classes:
37
37
  // - `$selector-base`: The base selector for the utility classes.
38
38
  // - `$use-important`: A flag to determine if the `!important` flag should be added to the utility classes.
39
+ // - `$generate-base-utilities`: A flag to determine if the base utility classes should be generated.
39
40
  // - `$screen-aware`: A flag to generate screen-aware utility classes.
40
41
  // - `$theme-aware`: A flag to generate theme-aware utility classes.
41
42
  // - `$state-aware`: A flag to generate state-aware utility classes.
@@ -48,15 +49,16 @@
48
49
  // - `$theme-aware-selector-prefix`: The prefix for theme-aware utility classes.
49
50
  // - `$state-aware-selector-prefix`: The prefix for state-aware utility classes.
50
51
  // - `$container-aware-selector-prefix`: The prefix for container-aware utility classes.
51
- // - `$text-selector-prefix`: The prefix for the text utility classes.
52
+ // - `$text-style-selector-prefix`: The prefix for the text style utility classes.
53
+ // - `$text-style-properties`: The combined properties and values for the text style utility classes.
54
+ // - `$font-size-selector-prefix`: The prefix for the font size utility classes.
55
+ // - `$font-size-properties`: The combined properties and values for the font size utility classes.
52
56
  // - `$font-weight-selector-prefix`: The prefix for the font weight utility classes.
53
57
  // - `$font-style-selector-prefix`: The prefix for the font style utility classes.
54
- // - `$base-font-style-properties`: The base properties and values for the font style utility classes.
55
- // - `$custom-font-style-properties`: The custom properties and values for the font style utility classes.
58
+ // - `$custom-font-style-properties`: [DEPRECATED] The custom properties and values for the font style utility classes.
56
59
  // - `$font-style-properties`: The combined properties and values for the font style utility classes.
57
60
  // - `$text-transform-selector-prefix`: The prefix for the text transform utility classes.
58
- // - `$base-text-transform-properties`: The base properties and values for the text transform utility classes.
59
- // - `$custom-text-transform-properties`: The custom properties and values for the text transform utility classes.
61
+ // - `$custom-text-transform-properties`: [DEPRECATED] The custom properties and values for the text transform utility classes.
60
62
  // - `$text-transform-properties`: The combined properties and values for the text transform utility classes.
61
63
  //
62
64
  // Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
@@ -101,145 +103,169 @@
101
103
  $selector-prefix: defaults.$selector-base;
102
104
 
103
105
  // For each font size property, create a utility class.
104
- @each $size, $value in typography.$font-sizes {
105
- // e.g. `.text-2xl` or `.text-3xl`
106
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
107
-
108
- @include utility.create($selector, font-size, $value);
109
- }
106
+ // @each $size, $value in typography.$font-sizes {
107
+ // // e.g. `.text-2xl` or `.text-3xl`
108
+ // $selector: #{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$size};
109
+
110
+ // @include utility.create($selector, font-size, $value);
111
+ // }
112
+
113
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}paragraph";
114
+
115
+ // @include utility.create-mapped(
116
+ // $selector,
117
+ // (
118
+ // margin: typography.$paragraph-margin,
119
+ // font-size: typography.$paragraph-font-size,
120
+ // font-weight: typography.$paragraph-font-weight,
121
+ // line-height: typography.$paragraph-line-height,
122
+ // color: typography.$paragraph-color,
123
+ // ),
124
+ // $important: defaults.$use-important
125
+ // );
126
+
127
+ // // `.text-small`
128
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}small";
129
+
130
+ // @include utility.create-mapped(
131
+ // $selector,
132
+ // (
133
+ // margin: typography.$small-margin,
134
+ // font-size: typography.$small-font-size,
135
+ // font-weight: typography.$small-font-weight,
136
+ // line-height: typography.$small-line-height,
137
+ // color: typography.$small-color,
138
+ // ),
139
+ // $important: defaults.$use-important
140
+ // );
141
+
142
+ // // `.text-h1`
143
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h1";
144
+
145
+ // @include utility.create-mapped(
146
+ // $selector,
147
+ // (
148
+ // margin: typography.$h1-margin,
149
+ // font-family: typography.$h1-font-family,
150
+ // font-size: typography.$h1-font-size,
151
+ // font-weight: typography.$h1-font-weight,
152
+ // line-height: typography.$h1-line-height,
153
+ // color: typography.$h1-color,
154
+ // ),
155
+ // $important: defaults.$use-important
156
+ // );
157
+
158
+ // // `.text-h2`
159
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h2";
160
+
161
+ // @include utility.create-mapped(
162
+ // $selector,
163
+ // (
164
+ // margin: typography.$h2-margin,
165
+ // font-family: typography.$h2-font-family,
166
+ // font-size: typography.$h2-font-size,
167
+ // font-weight: typography.$h2-font-weight,
168
+ // line-height: typography.$h2-line-height,
169
+ // color: typography.$h2-color,
170
+ // ),
171
+ // $important: defaults.$use-important
172
+ // );
173
+
174
+ // // `.text-h3`
175
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h3";
176
+
177
+ // @include utility.create-mapped(
178
+ // $selector,
179
+ // (
180
+ // margin: typography.$h3-margin,
181
+ // font-family: typography.$h3-font-family,
182
+ // font-size: typography.$h3-font-size,
183
+ // font-weight: typography.$h3-font-weight,
184
+ // line-height: typography.$h3-line-height,
185
+ // color: typography.$h3-color,
186
+ // ),
187
+ // $important: defaults.$use-important
188
+ // );
189
+
190
+ // // `.text-h4`
191
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h4";
192
+
193
+ // @include utility.create-mapped(
194
+ // $selector,
195
+ // (
196
+ // margin: typography.$h4-margin,
197
+ // font-family: typography.$h4-font-family,
198
+ // font-size: typography.$h4-font-size,
199
+ // font-weight: typography.$h4-font-weight,
200
+ // line-height: typography.$h4-line-height,
201
+ // color: typography.$h4-color,
202
+ // ),
203
+ // $important: defaults.$use-important
204
+ // );
205
+
206
+ // // `.text-h5`
207
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h5";
208
+
209
+ // @include utility.create-mapped(
210
+ // $selector,
211
+ // (
212
+ // margin: typography.$h5-margin,
213
+ // font-family: typography.$h5-font-family,
214
+ // font-size: typography.$h5-font-size,
215
+ // font-weight: typography.$h5-font-weight,
216
+ // line-height: typography.$h5-line-height,
217
+ // color: typography.$h5-color,
218
+ // ),
219
+ // $important: defaults.$use-important
220
+ // );
221
+
222
+ // // `.text-h6`
223
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h6";
224
+
225
+ // @include utility.create-mapped(
226
+ // $selector,
227
+ // (
228
+ // margin: typography.$h6-margin,
229
+ // font-family: typography.$h6-font-family,
230
+ // font-size: typography.$h6-font-size,
231
+ // font-weight: typography.$h6-font-weight,
232
+ // line-height: typography.$h6-line-height,
233
+ // color: typography.$h6-color,
234
+ // ),
235
+ // $important: defaults.$use-important
236
+ // );
110
237
 
111
238
  // Create utility classes for each type of text style in Graupl.
112
239
  // These will apply not only the font size, but also the margin, font weight, and line height.
113
240
  // This will allow for a more consistent and maintainable typography system.
114
241
  //
115
242
  // `.text-paragraph`
116
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
117
-
118
- @include utility.create-mapped(
119
- $selector,
120
- (
121
- margin: typography.$paragraph-margin,
122
- font-size: typography.$paragraph-font-size,
123
- font-weight: typography.$paragraph-font-weight,
124
- line-height: typography.$paragraph-line-height,
125
- color: typography.$paragraph-color,
126
- ),
127
- $important: defaults.$use-important
128
- );
129
-
130
- // `.text-small`
131
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
132
-
133
- @include utility.create-mapped(
134
- $selector,
135
- (
136
- margin: typography.$small-margin,
137
- font-size: typography.$small-font-size,
138
- font-weight: typography.$small-font-weight,
139
- line-height: typography.$small-line-height,
140
- color: typography.$small-color,
141
- ),
142
- $important: defaults.$use-important
143
- );
144
-
145
- // `.text-h1`
146
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
147
-
148
- @include utility.create-mapped(
149
- $selector,
150
- (
151
- margin: typography.$h1-margin,
152
- font-family: typography.$h1-font-family,
153
- font-size: typography.$h1-font-size,
154
- font-weight: typography.$h1-font-weight,
155
- line-height: typography.$h1-line-height,
156
- color: typography.$h1-color,
157
- ),
158
- $important: defaults.$use-important
159
- );
160
-
161
- // `.text-h2`
162
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
163
-
164
- @include utility.create-mapped(
165
- $selector,
166
- (
167
- margin: typography.$h2-margin,
168
- font-family: typography.$h2-font-family,
169
- font-size: typography.$h2-font-size,
170
- font-weight: typography.$h2-font-weight,
171
- line-height: typography.$h2-line-height,
172
- color: typography.$h2-color,
173
- ),
174
- $important: defaults.$use-important
175
- );
176
-
177
- // `.text-h3`
178
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
179
-
180
- @include utility.create-mapped(
181
- $selector,
182
- (
183
- margin: typography.$h3-margin,
184
- font-family: typography.$h3-font-family,
185
- font-size: typography.$h3-font-size,
186
- font-weight: typography.$h3-font-weight,
187
- line-height: typography.$h3-line-height,
188
- color: typography.$h3-color,
189
- ),
190
- $important: defaults.$use-important
191
- );
192
-
193
- // `.text-h4`
194
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
195
-
196
- @include utility.create-mapped(
197
- $selector,
198
- (
199
- margin: typography.$h4-margin,
200
- font-family: typography.$h4-font-family,
201
- font-size: typography.$h4-font-size,
202
- font-weight: typography.$h4-font-weight,
203
- line-height: typography.$h4-line-height,
204
- color: typography.$h4-color,
205
- ),
206
- $important: defaults.$use-important
207
- );
208
-
209
- // `.text-h5`
210
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
211
-
212
- @include utility.create-mapped(
213
- $selector,
214
- (
215
- margin: typography.$h5-margin,
216
- font-family: typography.$h5-font-family,
217
- font-size: typography.$h5-font-size,
218
- font-weight: typography.$h5-font-weight,
219
- line-height: typography.$h5-line-height,
220
- color: typography.$h5-color,
221
- ),
222
- $important: defaults.$use-important
223
- );
224
-
225
- // `.text-h6`
226
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
227
-
228
- @include utility.create-mapped(
229
- $selector,
230
- (
231
- margin: typography.$h6-margin,
232
- font-family: typography.$h6-font-family,
233
- font-size: typography.$h6-font-size,
234
- font-weight: typography.$h6-font-weight,
235
- line-height: typography.$h6-line-height,
236
- color: typography.$h6-color,
237
- ),
238
- $important: defaults.$use-important
239
- );
243
+
244
+ @each $style, $props in defaults.$text-style-properties {
245
+ // e.g. `.text-paragraph` or `.text-small`
246
+ $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$style}";
247
+
248
+ @include utility.create-mapped(
249
+ $selector,
250
+ $props,
251
+ $important: defaults.$use-important
252
+ );
253
+ }
254
+
255
+ // For each font size property, create a utility class.
256
+ @each $size, $value in defaults.$font-size-properties {
257
+ $selector: #{$selector-prefix}#{defaults.$font-size-selector-prefix}#{$size};
258
+
259
+ @include utility.create(
260
+ $selector,
261
+ font-size,
262
+ $value,
263
+ $important: defaults.$use-important
264
+ );
265
+ }
240
266
 
241
267
  // For each font weight property, create a utility class.
242
- @each $weight, $value in typography.$font-weights {
268
+ @each $weight, $value in defaults.$font-weight-properties {
243
269
  // e.g. `.font-bold` or `.font-normal`
244
270
  $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
245
271
 
@@ -283,10 +309,179 @@
283
309
  // e.g. `.md:` or `.lg:`
284
310
  $selector-prefix: #{defaults.$selector-base}#{defaults.$screen-aware-selector-prefix}#{$screen-name}#{defaults.$screen-aware-separator};
285
311
 
312
+ // // For each font size property, create a utility class.
313
+ // @each $size, $value in typography.$font-sizes {
314
+ // // e.g. `.md:text-2xl` or `.lg:text-3xl`
315
+ // $selector: #{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$size};
316
+
317
+ // @include utility.create(
318
+ // $selector,
319
+ // font-size,
320
+ // $value,
321
+ // $important: defaults.$use-important,
322
+ // $screen: $screen-name
323
+ // );
324
+ // }
325
+
326
+ // // Create utility classes for each type of text style in Graupl.
327
+ // // These will apply not only the font size, but also the margin, font weight, and line height.
328
+ // // This will allow for a more consistent and maintainable typography system.
329
+ // //
330
+ // // e.g. `.md:text-paragraph` or `.lg:text-paragraph`
331
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}paragraph";
332
+
333
+ // @include utility.create-mapped(
334
+ // $selector,
335
+ // (
336
+ // margin: typography.$paragraph-margin,
337
+ // font-size: typography.$paragraph-font-size,
338
+ // font-weight: typography.$paragraph-font-weight,
339
+ // line-height: typography.$paragraph-line-height,
340
+ // color: typography.$paragraph-color,
341
+ // ),
342
+ // $important: defaults.$use-important,
343
+ // $screen: $screen-name
344
+ // );
345
+
346
+ // // e.g. `.md:text-small` or `.lg:text-small`
347
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}small";
348
+
349
+ // @include utility.create-mapped(
350
+ // $selector,
351
+ // (
352
+ // margin: typography.$small-margin,
353
+ // font-size: typography.$small-font-size,
354
+ // font-weight: typography.$small-font-weight,
355
+ // line-height: typography.$small-line-height,
356
+ // color: typography.$small-color,
357
+ // ),
358
+ // $important: defaults.$use-important,
359
+ // $screen: $screen-name
360
+ // );
361
+
362
+ // // e.g. `.md:text-h1` or `.lg:text-h1`
363
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h1";
364
+
365
+ // @include utility.create-mapped(
366
+ // $selector,
367
+ // (
368
+ // margin: typography.$h1-margin,
369
+ // font-family: typography.$h1-font-family,
370
+ // font-size: typography.$h1-font-size,
371
+ // font-weight: typography.$h1-font-weight,
372
+ // line-height: typography.$h1-line-height,
373
+ // color: typography.$h1-color,
374
+ // ),
375
+ // $important: defaults.$use-important,
376
+ // $screen: $screen-name
377
+ // );
378
+
379
+ // // e.g. `.md:text-h2` or `.lg:text-h2`
380
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h2";
381
+
382
+ // @include utility.create-mapped(
383
+ // $selector,
384
+ // (
385
+ // margin: typography.$h2-margin,
386
+ // font-family: typography.$h2-font-family,
387
+ // font-size: typography.$h2-font-size,
388
+ // font-weight: typography.$h2-font-weight,
389
+ // line-height: typography.$h2-line-height,
390
+ // color: typography.$h2-color,
391
+ // ),
392
+ // $important: defaults.$use-important,
393
+ // $screen: $screen-name
394
+ // );
395
+
396
+ // // e.g. `.md:text-h3` or `.lg:text-h3`
397
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h3";
398
+
399
+ // @include utility.create-mapped(
400
+ // $selector,
401
+ // (
402
+ // margin: typography.$h3-margin,
403
+ // font-family: typography.$h3-font-family,
404
+ // font-size: typography.$h3-font-size,
405
+ // font-weight: typography.$h3-font-weight,
406
+ // line-height: typography.$h3-line-height,
407
+ // color: typography.$h3-color,
408
+ // ),
409
+ // $important: defaults.$use-important,
410
+ // $screen: $screen-name
411
+ // );
412
+
413
+ // // e.g. `.md:text-h4` or `.lg:text-h4`
414
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h4";
415
+
416
+ // @include utility.create-mapped(
417
+ // $selector,
418
+ // (
419
+ // margin: typography.$h4-margin,
420
+ // font-family: typography.$h4-font-family,
421
+ // font-size: typography.$h4-font-size,
422
+ // font-weight: typography.$h4-font-weight,
423
+ // line-height: typography.$h4-line-height,
424
+ // color: typography.$h4-color,
425
+ // ),
426
+ // $important: defaults.$use-important,
427
+ // $screen: $screen-name
428
+ // );
429
+
430
+ // // e.g. `.md:text-h5` or `.lg:text-h5`
431
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h5";
432
+
433
+ // @include utility.create-mapped(
434
+ // $selector,
435
+ // (
436
+ // margin: typography.$h5-margin,
437
+ // font-family: typography.$h5-font-family,
438
+ // font-size: typography.$h5-font-size,
439
+ // font-weight: typography.$h5-font-weight,
440
+ // line-height: typography.$h5-line-height,
441
+ // color: typography.$h5-color,
442
+ // ),
443
+ // $important: defaults.$use-important,
444
+ // $screen: $screen-name
445
+ // );
446
+
447
+ // // e.g. `.md:text-h6` or `.lg:text-h6`
448
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h6";
449
+
450
+ // @include utility.create-mapped(
451
+ // $selector,
452
+ // (
453
+ // margin: typography.$h6-margin,
454
+ // font-family: typography.$h6-font-family,
455
+ // font-size: typography.$h6-font-size,
456
+ // font-weight: typography.$h6-font-weight,
457
+ // line-height: typography.$h6-line-height,
458
+ // color: typography.$h6-color,
459
+ // ),
460
+ // $important: defaults.$use-important,
461
+ // $screen: $screen-name
462
+ // );
463
+
464
+ // Create utility classes for each type of text style in Graupl.
465
+ // These will apply not only the font size, but also the margin, font weight, and line height.
466
+ // This will allow for a more consistent and maintainable typography system.
467
+ //
468
+ // `.text-paragraph`
469
+
470
+ @each $style, $props in defaults.$text-style-properties {
471
+ // e.g. `.text-paragraph` or `.text-small`
472
+ $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$style}";
473
+
474
+ @include utility.create-mapped(
475
+ $selector,
476
+ $props,
477
+ $important: defaults.$use-important,
478
+ $screen: $screen-name
479
+ );
480
+ }
481
+
286
482
  // For each font size property, create a utility class.
287
- @each $size, $value in typography.$font-sizes {
288
- // e.g. `.md:text-2xl` or `.lg:text-3xl`
289
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
483
+ @each $size, $value in defaults.$font-size-properties {
484
+ $selector: #{$selector-prefix}#{defaults.$font-size-selector-prefix}#{$size};
290
485
 
291
486
  @include utility.create(
292
487
  $selector,
@@ -297,146 +492,8 @@
297
492
  );
298
493
  }
299
494
 
300
- // Create utility classes for each type of text style in Graupl.
301
- // These will apply not only the font size, but also the margin, font weight, and line height.
302
- // This will allow for a more consistent and maintainable typography system.
303
- //
304
- // e.g. `.md:text-paragraph` or `.lg:text-paragraph`
305
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
306
-
307
- @include utility.create-mapped(
308
- $selector,
309
- (
310
- margin: typography.$paragraph-margin,
311
- font-size: typography.$paragraph-font-size,
312
- font-weight: typography.$paragraph-font-weight,
313
- line-height: typography.$paragraph-line-height,
314
- color: typography.$paragraph-color,
315
- ),
316
- $important: defaults.$use-important,
317
- $screen: $screen-name
318
- );
319
-
320
- // e.g. `.md:text-small` or `.lg:text-small`
321
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
322
-
323
- @include utility.create-mapped(
324
- $selector,
325
- (
326
- margin: typography.$small-margin,
327
- font-size: typography.$small-font-size,
328
- font-weight: typography.$small-font-weight,
329
- line-height: typography.$small-line-height,
330
- color: typography.$small-color,
331
- ),
332
- $important: defaults.$use-important,
333
- $screen: $screen-name
334
- );
335
-
336
- // e.g. `.md:text-h1` or `.lg:text-h1`
337
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
338
-
339
- @include utility.create-mapped(
340
- $selector,
341
- (
342
- margin: typography.$h1-margin,
343
- font-family: typography.$h1-font-family,
344
- font-size: typography.$h1-font-size,
345
- font-weight: typography.$h1-font-weight,
346
- line-height: typography.$h1-line-height,
347
- color: typography.$h1-color,
348
- ),
349
- $important: defaults.$use-important,
350
- $screen: $screen-name
351
- );
352
-
353
- // e.g. `.md:text-h2` or `.lg:text-h2`
354
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
355
-
356
- @include utility.create-mapped(
357
- $selector,
358
- (
359
- margin: typography.$h2-margin,
360
- font-family: typography.$h2-font-family,
361
- font-size: typography.$h2-font-size,
362
- font-weight: typography.$h2-font-weight,
363
- line-height: typography.$h2-line-height,
364
- color: typography.$h2-color,
365
- ),
366
- $important: defaults.$use-important,
367
- $screen: $screen-name
368
- );
369
-
370
- // e.g. `.md:text-h3` or `.lg:text-h3`
371
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
372
-
373
- @include utility.create-mapped(
374
- $selector,
375
- (
376
- margin: typography.$h3-margin,
377
- font-family: typography.$h3-font-family,
378
- font-size: typography.$h3-font-size,
379
- font-weight: typography.$h3-font-weight,
380
- line-height: typography.$h3-line-height,
381
- color: typography.$h3-color,
382
- ),
383
- $important: defaults.$use-important,
384
- $screen: $screen-name
385
- );
386
-
387
- // e.g. `.md:text-h4` or `.lg:text-h4`
388
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
389
-
390
- @include utility.create-mapped(
391
- $selector,
392
- (
393
- margin: typography.$h4-margin,
394
- font-family: typography.$h4-font-family,
395
- font-size: typography.$h4-font-size,
396
- font-weight: typography.$h4-font-weight,
397
- line-height: typography.$h4-line-height,
398
- color: typography.$h4-color,
399
- ),
400
- $important: defaults.$use-important,
401
- $screen: $screen-name
402
- );
403
-
404
- // e.g. `.md:text-h5` or `.lg:text-h5`
405
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
406
-
407
- @include utility.create-mapped(
408
- $selector,
409
- (
410
- margin: typography.$h5-margin,
411
- font-family: typography.$h5-font-family,
412
- font-size: typography.$h5-font-size,
413
- font-weight: typography.$h5-font-weight,
414
- line-height: typography.$h5-line-height,
415
- color: typography.$h5-color,
416
- ),
417
- $important: defaults.$use-important,
418
- $screen: $screen-name
419
- );
420
-
421
- // e.g. `.md:text-h6` or `.lg:text-h6`
422
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
423
-
424
- @include utility.create-mapped(
425
- $selector,
426
- (
427
- margin: typography.$h6-margin,
428
- font-family: typography.$h6-font-family,
429
- font-size: typography.$h6-font-size,
430
- font-weight: typography.$h6-font-weight,
431
- line-height: typography.$h6-line-height,
432
- color: typography.$h6-color,
433
- ),
434
- $important: defaults.$use-important,
435
- $screen: $screen-name
436
- );
437
-
438
495
  // For each font weight property, create a utility class.
439
- @each $weight, $value in typography.$font-weights {
496
+ @each $weight, $value in defaults.$font-weight-properties {
440
497
  // e.g. `.md:font-bold` or `.lg:font-normal`
441
498
  $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
442
499
 
@@ -486,10 +543,179 @@
486
543
  // e.g. `.dark:` or `.light:`
487
544
  $selector-prefix: #{defaults.$selector-base}#{defaults.$theme-aware-selector-prefix}#{$theme-name}#{defaults.$theme-aware-separator};
488
545
 
546
+ // // For each font size property, create a utility class.
547
+ // @each $size, $value in typography.$font-sizes {
548
+ // // e.g. `.dark:text-2xl` or `.light:text-3xl`
549
+ // $selector: #{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$size};
550
+
551
+ // @include utility.create(
552
+ // $selector,
553
+ // font-size,
554
+ // $value,
555
+ // $important: defaults.$use-important,
556
+ // $theme: $theme-name
557
+ // );
558
+ // }
559
+
560
+ // // Create utility classes for each type of text style in Graupl.
561
+ // // These will apply not only the font size, but also the margin, font weight, and line height.
562
+ // // This will allow for a more consistent and maintainable typography system.
563
+ // //
564
+ // // e.g. `.dark:text-paragraph` or `.light:text-paragraph`
565
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}paragraph";
566
+
567
+ // @include utility.create-mapped(
568
+ // $selector,
569
+ // (
570
+ // margin: typography.$paragraph-margin,
571
+ // font-size: typography.$paragraph-font-size,
572
+ // font-weight: typography.$paragraph-font-weight,
573
+ // line-height: typography.$paragraph-line-height,
574
+ // color: typography.$paragraph-color,
575
+ // ),
576
+ // $important: defaults.$use-important,
577
+ // $theme: $theme-name
578
+ // );
579
+
580
+ // // e.g. `.dark:text-small` or `.light:text-small`
581
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}small";
582
+
583
+ // @include utility.create-mapped(
584
+ // $selector,
585
+ // (
586
+ // margin: typography.$small-margin,
587
+ // font-size: typography.$small-font-size,
588
+ // font-weight: typography.$small-font-weight,
589
+ // line-height: typography.$small-line-height,
590
+ // color: typography.$small-color,
591
+ // ),
592
+ // $important: defaults.$use-important,
593
+ // $theme: $theme-name
594
+ // );
595
+
596
+ // // e.g. `.dark:text-h1` or `.light:text-h1`
597
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h1";
598
+
599
+ // @include utility.create-mapped(
600
+ // $selector,
601
+ // (
602
+ // margin: typography.$h1-margin,
603
+ // font-family: typography.$h1-font-family,
604
+ // font-size: typography.$h1-font-size,
605
+ // font-weight: typography.$h1-font-weight,
606
+ // line-height: typography.$h1-line-height,
607
+ // color: typography.$h1-color,
608
+ // ),
609
+ // $important: defaults.$use-important,
610
+ // $theme: $theme-name
611
+ // );
612
+
613
+ // // e.g. `.dark:text-h2` or `.light:text-h2`
614
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h2";
615
+
616
+ // @include utility.create-mapped(
617
+ // $selector,
618
+ // (
619
+ // margin: typography.$h2-margin,
620
+ // font-family: typography.$h2-font-family,
621
+ // font-size: typography.$h2-font-size,
622
+ // font-weight: typography.$h2-font-weight,
623
+ // line-height: typography.$h2-line-height,
624
+ // color: typography.$h2-color,
625
+ // ),
626
+ // $important: defaults.$use-important,
627
+ // $theme: $theme-name
628
+ // );
629
+
630
+ // // e.g. `.dark:text-h3` or `.light:text-h3`
631
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h3";
632
+
633
+ // @include utility.create-mapped(
634
+ // $selector,
635
+ // (
636
+ // margin: typography.$h3-margin,
637
+ // font-family: typography.$h3-font-family,
638
+ // font-size: typography.$h3-font-size,
639
+ // font-weight: typography.$h3-font-weight,
640
+ // line-height: typography.$h3-line-height,
641
+ // color: typography.$h3-color,
642
+ // ),
643
+ // $important: defaults.$use-important,
644
+ // $theme: $theme-name
645
+ // );
646
+
647
+ // // e.g. `.dark:text-h4` or `.light:text-h4`
648
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h4";
649
+
650
+ // @include utility.create-mapped(
651
+ // $selector,
652
+ // (
653
+ // margin: typography.$h4-margin,
654
+ // font-family: typography.$h4-font-family,
655
+ // font-size: typography.$h4-font-size,
656
+ // font-weight: typography.$h4-font-weight,
657
+ // line-height: typography.$h4-line-height,
658
+ // color: typography.$h4-color,
659
+ // ),
660
+ // $important: defaults.$use-important,
661
+ // $theme: $theme-name
662
+ // );
663
+
664
+ // // e.g. `.dark:text-h5` or `.light:text-h5`
665
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h5";
666
+
667
+ // @include utility.create-mapped(
668
+ // $selector,
669
+ // (
670
+ // margin: typography.$h5-margin,
671
+ // font-family: typography.$h5-font-family,
672
+ // font-size: typography.$h5-font-size,
673
+ // font-weight: typography.$h5-font-weight,
674
+ // line-height: typography.$h5-line-height,
675
+ // color: typography.$h5-color,
676
+ // ),
677
+ // $important: defaults.$use-important,
678
+ // $theme: $theme-name
679
+ // );
680
+
681
+ // // e.g. `.dark:text-h6` or `.light:text-h6`
682
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h6";
683
+
684
+ // @include utility.create-mapped(
685
+ // $selector,
686
+ // (
687
+ // margin: typography.$h6-margin,
688
+ // font-family: typography.$h6-font-family,
689
+ // font-size: typography.$h6-font-size,
690
+ // font-weight: typography.$h6-font-weight,
691
+ // line-height: typography.$h6-line-height,
692
+ // color: typography.$h6-color,
693
+ // ),
694
+ // $important: defaults.$use-important,
695
+ // $theme: $theme-name
696
+ // );
697
+
698
+ // Create utility classes for each type of text style in Graupl.
699
+ // These will apply not only the font size, but also the margin, font weight, and line height.
700
+ // This will allow for a more consistent and maintainable typography system.
701
+ //
702
+ // `.text-paragraph`
703
+
704
+ @each $style, $props in defaults.$text-style-properties {
705
+ // e.g. `.text-paragraph` or `.text-small`
706
+ $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$style}";
707
+
708
+ @include utility.create-mapped(
709
+ $selector,
710
+ $props,
711
+ $important: defaults.$use-important,
712
+ $theme: $theme-name
713
+ );
714
+ }
715
+
489
716
  // For each font size property, create a utility class.
490
- @each $size, $value in typography.$font-sizes {
491
- // e.g. `.dark:text-2xl` or `.light:text-3xl`
492
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
717
+ @each $size, $value in defaults.$font-size-properties {
718
+ $selector: #{$selector-prefix}#{defaults.$font-size-selector-prefix}#{$size};
493
719
 
494
720
  @include utility.create(
495
721
  $selector,
@@ -500,146 +726,8 @@
500
726
  );
501
727
  }
502
728
 
503
- // Create utility classes for each type of text style in Graupl.
504
- // These will apply not only the font size, but also the margin, font weight, and line height.
505
- // This will allow for a more consistent and maintainable typography system.
506
- //
507
- // e.g. `.dark:text-paragraph` or `.light:text-paragraph`
508
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
509
-
510
- @include utility.create-mapped(
511
- $selector,
512
- (
513
- margin: typography.$paragraph-margin,
514
- font-size: typography.$paragraph-font-size,
515
- font-weight: typography.$paragraph-font-weight,
516
- line-height: typography.$paragraph-line-height,
517
- color: typography.$paragraph-color,
518
- ),
519
- $important: defaults.$use-important,
520
- $theme: $theme-name
521
- );
522
-
523
- // e.g. `.dark:text-small` or `.light:text-small`
524
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
525
-
526
- @include utility.create-mapped(
527
- $selector,
528
- (
529
- margin: typography.$small-margin,
530
- font-size: typography.$small-font-size,
531
- font-weight: typography.$small-font-weight,
532
- line-height: typography.$small-line-height,
533
- color: typography.$small-color,
534
- ),
535
- $important: defaults.$use-important,
536
- $theme: $theme-name
537
- );
538
-
539
- // e.g. `.dark:text-h1` or `.light:text-h1`
540
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
541
-
542
- @include utility.create-mapped(
543
- $selector,
544
- (
545
- margin: typography.$h1-margin,
546
- font-family: typography.$h1-font-family,
547
- font-size: typography.$h1-font-size,
548
- font-weight: typography.$h1-font-weight,
549
- line-height: typography.$h1-line-height,
550
- color: typography.$h1-color,
551
- ),
552
- $important: defaults.$use-important,
553
- $theme: $theme-name
554
- );
555
-
556
- // e.g. `.dark:text-h2` or `.light:text-h2`
557
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
558
-
559
- @include utility.create-mapped(
560
- $selector,
561
- (
562
- margin: typography.$h2-margin,
563
- font-family: typography.$h2-font-family,
564
- font-size: typography.$h2-font-size,
565
- font-weight: typography.$h2-font-weight,
566
- line-height: typography.$h2-line-height,
567
- color: typography.$h2-color,
568
- ),
569
- $important: defaults.$use-important,
570
- $theme: $theme-name
571
- );
572
-
573
- // e.g. `.dark:text-h3` or `.light:text-h3`
574
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
575
-
576
- @include utility.create-mapped(
577
- $selector,
578
- (
579
- margin: typography.$h3-margin,
580
- font-family: typography.$h3-font-family,
581
- font-size: typography.$h3-font-size,
582
- font-weight: typography.$h3-font-weight,
583
- line-height: typography.$h3-line-height,
584
- color: typography.$h3-color,
585
- ),
586
- $important: defaults.$use-important,
587
- $theme: $theme-name
588
- );
589
-
590
- // e.g. `.dark:text-h4` or `.light:text-h4`
591
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
592
-
593
- @include utility.create-mapped(
594
- $selector,
595
- (
596
- margin: typography.$h4-margin,
597
- font-family: typography.$h4-font-family,
598
- font-size: typography.$h4-font-size,
599
- font-weight: typography.$h4-font-weight,
600
- line-height: typography.$h4-line-height,
601
- color: typography.$h4-color,
602
- ),
603
- $important: defaults.$use-important,
604
- $theme: $theme-name
605
- );
606
-
607
- // e.g. `.dark:text-h5` or `.light:text-h5`
608
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
609
-
610
- @include utility.create-mapped(
611
- $selector,
612
- (
613
- margin: typography.$h5-margin,
614
- font-family: typography.$h5-font-family,
615
- font-size: typography.$h5-font-size,
616
- font-weight: typography.$h5-font-weight,
617
- line-height: typography.$h5-line-height,
618
- color: typography.$h5-color,
619
- ),
620
- $important: defaults.$use-important,
621
- $theme: $theme-name
622
- );
623
-
624
- // e.g. `.dark:text-h6` or `.light:text-h6`
625
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
626
-
627
- @include utility.create-mapped(
628
- $selector,
629
- (
630
- margin: typography.$h6-margin,
631
- font-family: typography.$h6-font-family,
632
- font-size: typography.$h6-font-size,
633
- font-weight: typography.$h6-font-weight,
634
- line-height: typography.$h6-line-height,
635
- color: typography.$h6-color,
636
- ),
637
- $important: defaults.$use-important,
638
- $theme: $theme-name
639
- );
640
-
641
729
  // For each font weight property, create a utility class.
642
- @each $weight, $value in typography.$font-weights {
730
+ @each $weight, $value in defaults.$font-weight-properties {
643
731
  // e.g. `.dark:font-bold` or `.light:font-normal`
644
732
  $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
645
733
 
@@ -689,10 +777,179 @@
689
777
  // e.g. `.hover:` or `.focus:`
690
778
  $selector-prefix: #{defaults.$selector-base}#{defaults.$state-aware-selector-prefix}#{$state-name}#{defaults.$state-aware-separator};
691
779
 
780
+ // // For each font size property, create a utility class.
781
+ // @each $size, $value in typography.$font-sizes {
782
+ // // e.g. `.hover:text-2xl` or `.focus:text-3xl`
783
+ // $selector: #{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$size};
784
+
785
+ // @include utility.create(
786
+ // $selector,
787
+ // font-size,
788
+ // $value,
789
+ // $important: defaults.$use-important,
790
+ // $state: $state-name
791
+ // );
792
+ // }
793
+
794
+ // // Create utility classes for each type of text style in Graupl.
795
+ // // These will apply not only the font size, but also the margin, font weight, and line height.
796
+ // // This will allow for a more consistent and maintainable typography system.
797
+ // //
798
+ // // e.g. `.hover:text-paragraph` or `.focus:text-paragraph`
799
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}paragraph";
800
+
801
+ // @include utility.create-mapped(
802
+ // $selector,
803
+ // (
804
+ // margin: typography.$paragraph-margin,
805
+ // font-size: typography.$paragraph-font-size,
806
+ // font-weight: typography.$paragraph-font-weight,
807
+ // line-height: typography.$paragraph-line-height,
808
+ // color: typography.$paragraph-color,
809
+ // ),
810
+ // $important: defaults.$use-important,
811
+ // $state: $state-name
812
+ // );
813
+
814
+ // // e.g. `.hover:text-small` or `.focus:text-small`
815
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}small";
816
+
817
+ // @include utility.create-mapped(
818
+ // $selector,
819
+ // (
820
+ // margin: typography.$small-margin,
821
+ // font-size: typography.$small-font-size,
822
+ // font-weight: typography.$small-font-weight,
823
+ // line-height: typography.$small-line-height,
824
+ // color: typography.$small-color,
825
+ // ),
826
+ // $important: defaults.$use-important,
827
+ // $state: $state-name
828
+ // );
829
+
830
+ // // e.g. `.hover:text-h1` or `.focus:text-h1`
831
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h1";
832
+
833
+ // @include utility.create-mapped(
834
+ // $selector,
835
+ // (
836
+ // margin: typography.$h1-margin,
837
+ // font-family: typography.$h1-font-family,
838
+ // font-size: typography.$h1-font-size,
839
+ // font-weight: typography.$h1-font-weight,
840
+ // line-height: typography.$h1-line-height,
841
+ // color: typography.$h1-color,
842
+ // ),
843
+ // $important: defaults.$use-important,
844
+ // $state: $state-name
845
+ // );
846
+
847
+ // // e.g. `.hover:text-h2` or `.focus:text-h2`
848
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h2";
849
+
850
+ // @include utility.create-mapped(
851
+ // $selector,
852
+ // (
853
+ // margin: typography.$h2-margin,
854
+ // font-family: typography.$h2-font-family,
855
+ // font-size: typography.$h2-font-size,
856
+ // font-weight: typography.$h2-font-weight,
857
+ // line-height: typography.$h2-line-height,
858
+ // color: typography.$h2-color,
859
+ // ),
860
+ // $important: defaults.$use-important,
861
+ // $state: $state-name
862
+ // );
863
+
864
+ // // e.g. `.hover:text-h3` or `.focus:text-h3`
865
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h3";
866
+
867
+ // @include utility.create-mapped(
868
+ // $selector,
869
+ // (
870
+ // margin: typography.$h3-margin,
871
+ // font-family: typography.$h3-font-family,
872
+ // font-size: typography.$h3-font-size,
873
+ // font-weight: typography.$h3-font-weight,
874
+ // line-height: typography.$h3-line-height,
875
+ // color: typography.$h3-color,
876
+ // ),
877
+ // $important: defaults.$use-important,
878
+ // $state: $state-name
879
+ // );
880
+
881
+ // // e.g. `.hover:text-h4` or `.focus:text-h4`
882
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h4";
883
+
884
+ // @include utility.create-mapped(
885
+ // $selector,
886
+ // (
887
+ // margin: typography.$h4-margin,
888
+ // font-family: typography.$h4-font-family,
889
+ // font-size: typography.$h4-font-size,
890
+ // font-weight: typography.$h4-font-weight,
891
+ // line-height: typography.$h4-line-height,
892
+ // color: typography.$h4-color,
893
+ // ),
894
+ // $important: defaults.$use-important,
895
+ // $state: $state-name
896
+ // );
897
+
898
+ // // e.g. `.hover:text-h5` or `.focus:text-h5`
899
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h5";
900
+
901
+ // @include utility.create-mapped(
902
+ // $selector,
903
+ // (
904
+ // margin: typography.$h5-margin,
905
+ // font-family: typography.$h5-font-family,
906
+ // font-size: typography.$h5-font-size,
907
+ // font-weight: typography.$h5-font-weight,
908
+ // line-height: typography.$h5-line-height,
909
+ // color: typography.$h5-color,
910
+ // ),
911
+ // $important: defaults.$use-important,
912
+ // $state: $state-name
913
+ // );
914
+
915
+ // // e.g. `.hover:text-h6` or `.focus:text-h6`
916
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h6";
917
+
918
+ // @include utility.create-mapped(
919
+ // $selector,
920
+ // (
921
+ // margin: typography.$h6-margin,
922
+ // font-family: typography.$h6-font-family,
923
+ // font-size: typography.$h6-font-size,
924
+ // font-weight: typography.$h6-font-weight,
925
+ // line-height: typography.$h6-line-height,
926
+ // color: typography.$h6-color,
927
+ // ),
928
+ // $important: defaults.$use-important,
929
+ // $state: $state-name
930
+ // );
931
+
932
+ // Create utility classes for each type of text style in Graupl.
933
+ // These will apply not only the font size, but also the margin, font weight, and line height.
934
+ // This will allow for a more consistent and maintainable typography system.
935
+ //
936
+ // `.text-paragraph`
937
+
938
+ @each $style, $props in defaults.$text-style-properties {
939
+ // e.g. `.text-paragraph` or `.text-small`
940
+ $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$style}";
941
+
942
+ @include utility.create-mapped(
943
+ $selector,
944
+ $props,
945
+ $important: defaults.$use-important,
946
+ $state: $state-name
947
+ );
948
+ }
949
+
692
950
  // For each font size property, create a utility class.
693
- @each $size, $value in typography.$font-sizes {
694
- // e.g. `.hover:text-2xl` or `.focus:text-3xl`
695
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
951
+ @each $size, $value in defaults.$font-size-properties {
952
+ $selector: #{$selector-prefix}#{defaults.$font-size-selector-prefix}#{$size};
696
953
 
697
954
  @include utility.create(
698
955
  $selector,
@@ -703,146 +960,8 @@
703
960
  );
704
961
  }
705
962
 
706
- // Create utility classes for each type of text style in Graupl.
707
- // These will apply not only the font size, but also the margin, font weight, and line height.
708
- // This will allow for a more consistent and maintainable typography system.
709
- //
710
- // e.g. `.hover:text-paragraph` or `.focus:text-paragraph`
711
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
712
-
713
- @include utility.create-mapped(
714
- $selector,
715
- (
716
- margin: typography.$paragraph-margin,
717
- font-size: typography.$paragraph-font-size,
718
- font-weight: typography.$paragraph-font-weight,
719
- line-height: typography.$paragraph-line-height,
720
- color: typography.$paragraph-color,
721
- ),
722
- $important: defaults.$use-important,
723
- $state: $state-name
724
- );
725
-
726
- // e.g. `.hover:text-small` or `.focus:text-small`
727
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
728
-
729
- @include utility.create-mapped(
730
- $selector,
731
- (
732
- margin: typography.$small-margin,
733
- font-size: typography.$small-font-size,
734
- font-weight: typography.$small-font-weight,
735
- line-height: typography.$small-line-height,
736
- color: typography.$small-color,
737
- ),
738
- $important: defaults.$use-important,
739
- $state: $state-name
740
- );
741
-
742
- // e.g. `.hover:text-h1` or `.focus:text-h1`
743
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
744
-
745
- @include utility.create-mapped(
746
- $selector,
747
- (
748
- margin: typography.$h1-margin,
749
- font-family: typography.$h1-font-family,
750
- font-size: typography.$h1-font-size,
751
- font-weight: typography.$h1-font-weight,
752
- line-height: typography.$h1-line-height,
753
- color: typography.$h1-color,
754
- ),
755
- $important: defaults.$use-important,
756
- $state: $state-name
757
- );
758
-
759
- // e.g. `.hover:text-h2` or `.focus:text-h2`
760
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
761
-
762
- @include utility.create-mapped(
763
- $selector,
764
- (
765
- margin: typography.$h2-margin,
766
- font-family: typography.$h2-font-family,
767
- font-size: typography.$h2-font-size,
768
- font-weight: typography.$h2-font-weight,
769
- line-height: typography.$h2-line-height,
770
- color: typography.$h2-color,
771
- ),
772
- $important: defaults.$use-important,
773
- $state: $state-name
774
- );
775
-
776
- // e.g. `.hover:text-h3` or `.focus:text-h3`
777
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
778
-
779
- @include utility.create-mapped(
780
- $selector,
781
- (
782
- margin: typography.$h3-margin,
783
- font-family: typography.$h3-font-family,
784
- font-size: typography.$h3-font-size,
785
- font-weight: typography.$h3-font-weight,
786
- line-height: typography.$h3-line-height,
787
- color: typography.$h3-color,
788
- ),
789
- $important: defaults.$use-important,
790
- $state: $state-name
791
- );
792
-
793
- // e.g. `.hover:text-h4` or `.focus:text-h4`
794
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
795
-
796
- @include utility.create-mapped(
797
- $selector,
798
- (
799
- margin: typography.$h4-margin,
800
- font-family: typography.$h4-font-family,
801
- font-size: typography.$h4-font-size,
802
- font-weight: typography.$h4-font-weight,
803
- line-height: typography.$h4-line-height,
804
- color: typography.$h4-color,
805
- ),
806
- $important: defaults.$use-important,
807
- $state: $state-name
808
- );
809
-
810
- // e.g. `.hover:text-h5` or `.focus:text-h5`
811
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
812
-
813
- @include utility.create-mapped(
814
- $selector,
815
- (
816
- margin: typography.$h5-margin,
817
- font-family: typography.$h5-font-family,
818
- font-size: typography.$h5-font-size,
819
- font-weight: typography.$h5-font-weight,
820
- line-height: typography.$h5-line-height,
821
- color: typography.$h5-color,
822
- ),
823
- $important: defaults.$use-important,
824
- $state: $state-name
825
- );
826
-
827
- // e.g. `.hover:text-h6` or `.focus:text-h6`
828
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
829
-
830
- @include utility.create-mapped(
831
- $selector,
832
- (
833
- margin: typography.$h6-margin,
834
- font-family: typography.$h6-font-family,
835
- font-size: typography.$h6-font-size,
836
- font-weight: typography.$h6-font-weight,
837
- line-height: typography.$h6-line-height,
838
- color: typography.$h6-color,
839
- ),
840
- $important: defaults.$use-important,
841
- $state: $state-name
842
- );
843
-
844
963
  // For each font weight property, create a utility class.
845
- @each $weight, $value in typography.$font-weights {
964
+ @each $weight, $value in defaults.$font-weight-properties {
846
965
  // e.g. `.hover:font-bold` or `.focus:font-normal`
847
966
  $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
848
967
 
@@ -891,10 +1010,179 @@
891
1010
  // e.g. `.md:` or `.lg:`
892
1011
  $selector-prefix: #{defaults.$selector-base}#{defaults.$container-aware-selector-prefix}#{$container-name}#{defaults.$container-aware-separator};
893
1012
 
1013
+ // // For each font size property, create a utility class.
1014
+ // @each $size, $value in typography.$font-sizes {
1015
+ // // e.g. `.md:text-2xl` or `.lg:text-3xl`
1016
+ // $selector: #{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$size};
1017
+
1018
+ // @include utility.create(
1019
+ // $selector,
1020
+ // font-size,
1021
+ // $value,
1022
+ // $important: defaults.$use-important,
1023
+ // $container: $container-name
1024
+ // );
1025
+ // }
1026
+
1027
+ // // Create utility classes for each type of text style in Graupl.
1028
+ // // These will apply not only the font size, but also the margin, font weight, and line height.
1029
+ // // This will allow for a more consistent and maintainable typography system.
1030
+ // //
1031
+ // // e.g. `.md:text-paragraph` or `.lg:text-paragraph`
1032
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}paragraph";
1033
+
1034
+ // @include utility.create-mapped(
1035
+ // $selector,
1036
+ // (
1037
+ // margin: typography.$paragraph-margin,
1038
+ // font-size: typography.$paragraph-font-size,
1039
+ // font-weight: typography.$paragraph-font-weight,
1040
+ // line-height: typography.$paragraph-line-height,
1041
+ // color: typography.$paragraph-color,
1042
+ // ),
1043
+ // $important: defaults.$use-important,
1044
+ // $container: $container-name
1045
+ // );
1046
+
1047
+ // // e.g. `.md:text-small` or `.lg:text-small`
1048
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}small";
1049
+
1050
+ // @include utility.create-mapped(
1051
+ // $selector,
1052
+ // (
1053
+ // margin: typography.$small-margin,
1054
+ // font-size: typography.$small-font-size,
1055
+ // font-weight: typography.$small-font-weight,
1056
+ // line-height: typography.$small-line-height,
1057
+ // color: typography.$small-color,
1058
+ // ),
1059
+ // $important: defaults.$use-important,
1060
+ // $container: $container-name
1061
+ // );
1062
+
1063
+ // // e.g. `.md:text-h1` or `.lg:text-h1`
1064
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h1";
1065
+
1066
+ // @include utility.create-mapped(
1067
+ // $selector,
1068
+ // (
1069
+ // margin: typography.$h1-margin,
1070
+ // font-family: typography.$h1-font-family,
1071
+ // font-size: typography.$h1-font-size,
1072
+ // font-weight: typography.$h1-font-weight,
1073
+ // line-height: typography.$h1-line-height,
1074
+ // color: typography.$h1-color,
1075
+ // ),
1076
+ // $important: defaults.$use-important,
1077
+ // $container: $container-name
1078
+ // );
1079
+
1080
+ // // e.g. `.md:text-h2` or `.lg:text-h2`
1081
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h2";
1082
+
1083
+ // @include utility.create-mapped(
1084
+ // $selector,
1085
+ // (
1086
+ // margin: typography.$h2-margin,
1087
+ // font-family: typography.$h2-font-family,
1088
+ // font-size: typography.$h2-font-size,
1089
+ // font-weight: typography.$h2-font-weight,
1090
+ // line-height: typography.$h2-line-height,
1091
+ // color: typography.$h2-color,
1092
+ // ),
1093
+ // $important: defaults.$use-important,
1094
+ // $container: $container-name
1095
+ // );
1096
+
1097
+ // // e.g. `.md:text-h3` or `.lg:text-h3`
1098
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h3";
1099
+
1100
+ // @include utility.create-mapped(
1101
+ // $selector,
1102
+ // (
1103
+ // margin: typography.$h3-margin,
1104
+ // font-family: typography.$h3-font-family,
1105
+ // font-size: typography.$h3-font-size,
1106
+ // font-weight: typography.$h3-font-weight,
1107
+ // line-height: typography.$h3-line-height,
1108
+ // color: typography.$h3-color,
1109
+ // ),
1110
+ // $important: defaults.$use-important,
1111
+ // $container: $container-name
1112
+ // );
1113
+
1114
+ // // e.g. `.md:text-h4` or `.lg:text-h4`
1115
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h4";
1116
+
1117
+ // @include utility.create-mapped(
1118
+ // $selector,
1119
+ // (
1120
+ // margin: typography.$h4-margin,
1121
+ // font-family: typography.$h4-font-family,
1122
+ // font-size: typography.$h4-font-size,
1123
+ // font-weight: typography.$h4-font-weight,
1124
+ // line-height: typography.$h4-line-height,
1125
+ // color: typography.$h4-color,
1126
+ // ),
1127
+ // $important: defaults.$use-important,
1128
+ // $container: $container-name
1129
+ // );
1130
+
1131
+ // // e.g. `.md:text-h5` or `.lg:text-h5`
1132
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h5";
1133
+
1134
+ // @include utility.create-mapped(
1135
+ // $selector,
1136
+ // (
1137
+ // margin: typography.$h5-margin,
1138
+ // font-family: typography.$h5-font-family,
1139
+ // font-size: typography.$h5-font-size,
1140
+ // font-weight: typography.$h5-font-weight,
1141
+ // line-height: typography.$h5-line-height,
1142
+ // color: typography.$h5-color,
1143
+ // ),
1144
+ // $important: defaults.$use-important,
1145
+ // $container: $container-name
1146
+ // );
1147
+
1148
+ // // e.g. `.md:text-h6` or `.lg:text-h6`
1149
+ // $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}h6";
1150
+
1151
+ // @include utility.create-mapped(
1152
+ // $selector,
1153
+ // (
1154
+ // margin: typography.$h6-margin,
1155
+ // font-family: typography.$h6-font-family,
1156
+ // font-size: typography.$h6-font-size,
1157
+ // font-weight: typography.$h6-font-weight,
1158
+ // line-height: typography.$h6-line-height,
1159
+ // color: typography.$h6-color,
1160
+ // ),
1161
+ // $important: defaults.$use-important,
1162
+ // $container: $container-name
1163
+ // );
1164
+
1165
+ // Create utility classes for each type of text style in Graupl.
1166
+ // These will apply not only the font size, but also the margin, font weight, and line height.
1167
+ // This will allow for a more consistent and maintainable typography system.
1168
+ //
1169
+ // `.text-paragraph`
1170
+
1171
+ @each $style, $props in defaults.$text-style-properties {
1172
+ // e.g. `.text-paragraph` or `.text-small`
1173
+ $selector: "#{$selector-prefix}#{defaults.$text-style-selector-prefix}#{$style}";
1174
+
1175
+ @include utility.create-mapped(
1176
+ $selector,
1177
+ $props,
1178
+ $important: defaults.$use-important,
1179
+ $container: $container-name
1180
+ );
1181
+ }
1182
+
894
1183
  // For each font size property, create a utility class.
895
- @each $size, $value in typography.$font-sizes {
896
- // e.g. `.md:text-2xl` or `.lg:text-3xl`
897
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
1184
+ @each $size, $value in defaults.$font-size-properties {
1185
+ $selector: #{$selector-prefix}#{defaults.$font-size-selector-prefix}#{$size};
898
1186
 
899
1187
  @include utility.create(
900
1188
  $selector,
@@ -905,146 +1193,8 @@
905
1193
  );
906
1194
  }
907
1195
 
908
- // Create utility classes for each type of text style in Graupl.
909
- // These will apply not only the font size, but also the margin, font weight, and line height.
910
- // This will allow for a more consistent and maintainable typography system.
911
- //
912
- // e.g. `.md:text-paragraph` or `.lg:text-paragraph`
913
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
914
-
915
- @include utility.create-mapped(
916
- $selector,
917
- (
918
- margin: typography.$paragraph-margin,
919
- font-size: typography.$paragraph-font-size,
920
- font-weight: typography.$paragraph-font-weight,
921
- line-height: typography.$paragraph-line-height,
922
- color: typography.$paragraph-color,
923
- ),
924
- $important: defaults.$use-important,
925
- $container: $container-name
926
- );
927
-
928
- // e.g. `.md:text-small` or `.lg:text-small`
929
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
930
-
931
- @include utility.create-mapped(
932
- $selector,
933
- (
934
- margin: typography.$small-margin,
935
- font-size: typography.$small-font-size,
936
- font-weight: typography.$small-font-weight,
937
- line-height: typography.$small-line-height,
938
- color: typography.$small-color,
939
- ),
940
- $important: defaults.$use-important,
941
- $container: $container-name
942
- );
943
-
944
- // e.g. `.md:text-h1` or `.lg:text-h1`
945
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
946
-
947
- @include utility.create-mapped(
948
- $selector,
949
- (
950
- margin: typography.$h1-margin,
951
- font-family: typography.$h1-font-family,
952
- font-size: typography.$h1-font-size,
953
- font-weight: typography.$h1-font-weight,
954
- line-height: typography.$h1-line-height,
955
- color: typography.$h1-color,
956
- ),
957
- $important: defaults.$use-important,
958
- $container: $container-name
959
- );
960
-
961
- // e.g. `.md:text-h2` or `.lg:text-h2`
962
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
963
-
964
- @include utility.create-mapped(
965
- $selector,
966
- (
967
- margin: typography.$h2-margin,
968
- font-family: typography.$h2-font-family,
969
- font-size: typography.$h2-font-size,
970
- font-weight: typography.$h2-font-weight,
971
- line-height: typography.$h2-line-height,
972
- color: typography.$h2-color,
973
- ),
974
- $important: defaults.$use-important,
975
- $container: $container-name
976
- );
977
-
978
- // e.g. `.md:text-h3` or `.lg:text-h3`
979
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
980
-
981
- @include utility.create-mapped(
982
- $selector,
983
- (
984
- margin: typography.$h3-margin,
985
- font-family: typography.$h3-font-family,
986
- font-size: typography.$h3-font-size,
987
- font-weight: typography.$h3-font-weight,
988
- line-height: typography.$h3-line-height,
989
- color: typography.$h3-color,
990
- ),
991
- $important: defaults.$use-important,
992
- $container: $container-name
993
- );
994
-
995
- // e.g. `.md:text-h4` or `.lg:text-h4`
996
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
997
-
998
- @include utility.create-mapped(
999
- $selector,
1000
- (
1001
- margin: typography.$h4-margin,
1002
- font-family: typography.$h4-font-family,
1003
- font-size: typography.$h4-font-size,
1004
- font-weight: typography.$h4-font-weight,
1005
- line-height: typography.$h4-line-height,
1006
- color: typography.$h4-color,
1007
- ),
1008
- $important: defaults.$use-important,
1009
- $container: $container-name
1010
- );
1011
-
1012
- // e.g. `.md:text-h5` or `.lg:text-h5`
1013
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
1014
-
1015
- @include utility.create-mapped(
1016
- $selector,
1017
- (
1018
- margin: typography.$h5-margin,
1019
- font-family: typography.$h5-font-family,
1020
- font-size: typography.$h5-font-size,
1021
- font-weight: typography.$h5-font-weight,
1022
- line-height: typography.$h5-line-height,
1023
- color: typography.$h5-color,
1024
- ),
1025
- $important: defaults.$use-important,
1026
- $container: $container-name
1027
- );
1028
-
1029
- // e.g. `.md:text-h6` or `.lg:text-h6`
1030
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
1031
-
1032
- @include utility.create-mapped(
1033
- $selector,
1034
- (
1035
- margin: typography.$h6-margin,
1036
- font-family: typography.$h6-font-family,
1037
- font-size: typography.$h6-font-size,
1038
- font-weight: typography.$h6-font-weight,
1039
- line-height: typography.$h6-line-height,
1040
- color: typography.$h6-color,
1041
- ),
1042
- $important: defaults.$use-important,
1043
- $container: $container-name
1044
- );
1045
-
1046
1196
  // For each font weight property, create a utility class.
1047
- @each $weight, $value in typography.$font-weights {
1197
+ @each $weight, $value in defaults.$font-weight-properties {
1048
1198
  // e.g. `.md:font-bold` or `.lg:font-normal`
1049
1199
  $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
1050
1200