claritas-web-framework 6.2.72 → 6.3.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 (70) hide show
  1. package/.stylelintrc.json +6 -8
  2. package/dist/index.css +1 -1
  3. package/dist/index.html +1 -1
  4. package/dist/index.js +0 -1
  5. package/index.html +37 -30
  6. package/index.js +0 -7
  7. package/package.json +15 -20
  8. package/sass/_functions.scss +18 -6
  9. package/sass/_mixins.scss +0 -2
  10. package/sass/_reboot.scss +46 -62
  11. package/sass/_root.scss +35 -21
  12. package/sass/_variables.scss +59 -301
  13. package/sass/helpers/_grid.scss +2 -3
  14. package/sass/mixins/_borderRadius.scss +2 -1
  15. package/sass/mixins/_boxShadow.scss +2 -2
  16. package/sass/mixins/_breakpoints.scss +5 -1
  17. package/sass/mixins/_button.scss +193 -64
  18. package/sass/mixins/_colors.scss +18 -9
  19. package/sass/mixins/_colors.temp.scss +88 -0
  20. package/sass/mixins/_gradient.scss +0 -1
  21. package/sass/mixins/_grid.scss +13 -14
  22. package/sass/mixins/_group.scss +1 -1
  23. package/sass/mixins/_list.scss +1 -1
  24. package/sass/mixins/_pill.scss +1 -1
  25. package/sass/mixins/_rfs.scss +5 -4
  26. package/sass/mixins/_tag.scss +46 -24
  27. package/sass/mixins/_transition.scss +2 -2
  28. package/sass/modules/_alert.scss +37 -13
  29. package/sass/modules/_button.old.scss +214 -0
  30. package/sass/modules/_button.scss +151 -161
  31. package/sass/modules/_card.scss +1 -2
  32. package/sass/modules/_close.scss +21 -22
  33. package/sass/modules/_details.scss +1 -1
  34. package/sass/modules/_dialog.scss +0 -1
  35. package/sass/modules/_dropdown.scss +0 -1
  36. package/sass/modules/_form.scss +1 -2
  37. package/sass/modules/_list.scss +2 -3
  38. package/sass/modules/_loader.scss +3 -0
  39. package/sass/modules/_modal.scss +0 -1
  40. package/sass/modules/_nav.scss +1 -2
  41. package/sass/modules/_pill.scss +45 -30
  42. package/sass/modules/_tabs.scss +2 -3
  43. package/sass/modules/_tag.scss +48 -36
  44. package/sass/modules/_tile.scss +1 -2
  45. package/sass/modules/_tooltip.scss +0 -1
  46. package/sass/modules/form/_checkbox.scss +0 -1
  47. package/sass/modules/form/_file.scss +0 -1
  48. package/sass/modules/form/_output.scss +0 -1
  49. package/sass/modules/form/_progress.scss +0 -1
  50. package/sass/modules/form/_radio.scss +0 -1
  51. package/sass/modules/form/_range.scss +0 -1
  52. package/sass/modules/form/_text.scss +0 -1
  53. package/sass/modules/form/_toggle.scss +0 -1
  54. package/sass/utilities/_align.scss +0 -1
  55. package/sass/utilities/_border.scss +31 -14
  56. package/sass/utilities/_colors.scss +6 -6
  57. package/sass/utilities/_display.scss +0 -1
  58. package/sass/utilities/_flex.scss +0 -1
  59. package/sass/utilities/_float.scss +0 -1
  60. package/sass/utilities/_order.scss +0 -1
  61. package/sass/utilities/_overflow.scss +0 -1
  62. package/sass/utilities/_pointerEvents.scss +0 -1
  63. package/sass/utilities/_position.scss +0 -1
  64. package/sass/utilities/_size.scss +0 -1
  65. package/sass/utilities/_spacing.scss +0 -1
  66. package/sass/utilities/_typography.scss +0 -1
  67. package/sass/utilities/_visibility.scss +0 -1
  68. package/sass/utilities/_zIndex.scss +0 -1
  69. package/.eslintrc.js +0 -21
  70. package/sass/mixins/_alert.scss +0 -31
@@ -1,5 +1,6 @@
1
1
  @use "sass:map";
2
2
  @use "sass:color";
3
+ @use "sass:math";
3
4
 
4
5
  $enable-rounded: true !default;
5
6
  $enable-shadows: false !default;
@@ -7,12 +8,9 @@ $enable-gradients: false !default;
7
8
  $enable-transitions: true !default;
8
9
  $enable-reduced-motion: true !default;
9
10
  $enable-button-pointers: true !default;
10
- $enable-rfs: true !default;
11
11
  $enable-smooth-scroll: true !default;
12
12
  $enable-margins: true !default;
13
13
 
14
- $prefix: "" !default;
15
-
16
14
  // Color system
17
15
  $white: #fff !default;
18
16
  $gray-1: #f6f6f7 !default;
@@ -25,7 +23,6 @@ $gray-7: #4d5055 !default;
25
23
  $gray-8: #30353a !default;
26
24
  $gray-9: #14191f !default;
27
25
  $black: #000 !default;
28
-
29
26
  $grays: (
30
27
  "gray-1": $gray-1,
31
28
  "gray-2": $gray-2,
@@ -37,7 +34,6 @@ $grays: (
37
34
  "gray-8": $gray-8,
38
35
  "gray-9": $gray-9,
39
36
  ) !default;
40
-
41
37
  $blue: #0d6efd !default;
42
38
  $indigo: #6610f2 !default;
43
39
  $purple: #6f42c1 !default;
@@ -48,7 +44,6 @@ $yellow: #ffc107 !default;
48
44
  $green: #198754 !default;
49
45
  $teal: #20c997 !default;
50
46
  $cyan: #0dcaf0 !default;
51
-
52
47
  $colors: (
53
48
  "blue": $blue,
54
49
  "indigo": $indigo,
@@ -64,7 +59,6 @@ $colors: (
64
59
  "gray": $gray-6,
65
60
  "gray-dark": $gray-8,
66
61
  ) !default;
67
-
68
62
  $primary: $blue !default;
69
63
  $secondary: $gray-6 !default;
70
64
  $success: $green !default;
@@ -74,7 +68,6 @@ $danger: $red !default;
74
68
  $light: $gray-1 !default;
75
69
  $medium: $gray-6 !default;
76
70
  $dark: $gray-8 !default;
77
-
78
71
  $theme-colors: (
79
72
  "primary": $primary,
80
73
  "secondary": $secondary,
@@ -90,235 +83,14 @@ $theme-colors: (
90
83
  // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
91
84
  // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
92
85
  $min-contrast-ratio: 2 !default;
86
+ $lightness-value: 55% !default;
93
87
 
94
88
  // Customize the light and dark text colors for use in our color contrast function.
95
89
  $color-contrast-dark: $dark !default;
96
90
  $color-contrast-light: $light !default;
97
91
 
98
- $blue-1: color.mix(white, $blue, 80%) !default;
99
- $blue-2: color.mix(white, $blue, 60%) !default;
100
- $blue-3: color.mix(white, $blue, 40%) !default;
101
- $blue-4: color.mix(white, $blue, 20%) !default;
102
- $blue-5: $blue !default;
103
- $blue-6: color.mix(black, $blue, 20%) !default;
104
- $blue-7: color.mix(black, $blue, 40%) !default;
105
- $blue-8: color.mix(black, $blue, 60%) !default;
106
- $blue-9: color.mix(black, $blue, 80%) !default;
107
-
108
- $indigo-1: color.mix(white, $indigo, 80%) !default;
109
- $indigo-2: color.mix(white, $indigo, 60%) !default;
110
- $indigo-3: color.mix(white, $indigo, 40%) !default;
111
- $indigo-4: color.mix(white, $indigo, 20%) !default;
112
- $indigo-5: $indigo !default;
113
- $indigo-6: color.mix(black, $indigo, 20%) !default;
114
- $indigo-7: color.mix(black, $indigo, 40%) !default;
115
- $indigo-8: color.mix(black, $indigo, 60%) !default;
116
- $indigo-9: color.mix(black, $indigo, 80%) !default;
117
-
118
- $purple-1: color.mix(white, $purple, 80%) !default;
119
- $purple-2: color.mix(white, $purple, 60%) !default;
120
- $purple-3: color.mix(white, $purple, 40%) !default;
121
- $purple-4: color.mix(white, $purple, 20%) !default;
122
- $purple-5: $purple !default;
123
- $purple-6: color.mix(black, $purple, 20%) !default;
124
- $purple-7: color.mix(black, $purple, 40%) !default;
125
- $purple-8: color.mix(black, $purple, 60%) !default;
126
- $purple-9: color.mix(black, $purple, 80%) !default;
127
-
128
- $pink-1: color.mix(white, $pink, 80%) !default;
129
- $pink-2: color.mix(white, $pink, 60%) !default;
130
- $pink-3: color.mix(white, $pink, 40%) !default;
131
- $pink-4: color.mix(white, $pink, 20%) !default;
132
- $pink-5: $pink !default;
133
- $pink-6: color.mix(black, $pink, 20%) !default;
134
- $pink-7: color.mix(black, $pink, 40%) !default;
135
- $pink-8: color.mix(black, $pink, 60%) !default;
136
- $pink-9: color.mix(black, $pink, 80%) !default;
137
-
138
- $red-1: color.mix(white, $red, 80%) !default;
139
- $red-2: color.mix(white, $red, 60%) !default;
140
- $red-3: color.mix(white, $red, 40%) !default;
141
- $red-4: color.mix(white, $red, 20%) !default;
142
- $red-5: $red !default;
143
- $red-6: color.mix(black, $red, 20%) !default;
144
- $red-7: color.mix(black, $red, 40%) !default;
145
- $red-8: color.mix(black, $red, 60%) !default;
146
- $red-9: color.mix(black, $red, 80%) !default;
147
-
148
- $orange-1: color.mix(white, $orange, 80%) !default;
149
- $orange-2: color.mix(white, $orange, 60%) !default;
150
- $orange-3: color.mix(white, $orange, 40%) !default;
151
- $orange-4: color.mix(white, $orange, 20%) !default;
152
- $orange-5: $orange !default;
153
- $orange-6: color.mix(black, $orange, 20%) !default;
154
- $orange-7: color.mix(black, $orange, 40%) !default;
155
- $orange-8: color.mix(black, $orange, 60%) !default;
156
- $orange-9: color.mix(black, $orange, 80%) !default;
157
-
158
- $yellow-1: color.mix(white, $yellow, 80%) !default;
159
- $yellow-2: color.mix(white, $yellow, 60%) !default;
160
- $yellow-3: color.mix(white, $yellow, 40%) !default;
161
- $yellow-4: color.mix(white, $yellow, 20%) !default;
162
- $yellow-5: $yellow !default;
163
- $yellow-6: color.mix(black, $yellow, 20%) !default;
164
- $yellow-7: color.mix(black, $yellow, 40%) !default;
165
- $yellow-8: color.mix(black, $yellow, 60%) !default;
166
- $yellow-9: color.mix(black, $yellow, 80%) !default;
167
-
168
- $green-1: color.mix(white, $green, 80%) !default;
169
- $green-2: color.mix(white, $green, 60%) !default;
170
- $green-3: color.mix(white, $green, 40%) !default;
171
- $green-4: color.mix(white, $green, 20%) !default;
172
- $green-5: $green !default;
173
- $green-6: color.mix(black, $green, 20%) !default;
174
- $green-7: color.mix(black, $green, 40%) !default;
175
- $green-8: color.mix(black, $green, 60%) !default;
176
- $green-9: color.mix(black, $green, 80%) !default;
177
-
178
- $teal-1: color.mix(white, $teal, 80%) !default;
179
- $teal-2: color.mix(white, $teal, 60%) !default;
180
- $teal-3: color.mix(white, $teal, 40%) !default;
181
- $teal-4: color.mix(white, $teal, 20%) !default;
182
- $teal-5: $teal !default;
183
- $teal-6: color.mix(black, $teal, 20%) !default;
184
- $teal-7: color.mix(black, $teal, 40%) !default;
185
- $teal-8: color.mix(black, $teal, 60%) !default;
186
- $teal-9: color.mix(black, $teal, 80%) !default;
187
-
188
- $cyan-1: color.mix(white, $cyan, 80%) !default;
189
- $cyan-2: color.mix(white, $cyan, 60%) !default;
190
- $cyan-3: color.mix(white, $cyan, 40%) !default;
191
- $cyan-4: color.mix(white, $cyan, 20%) !default;
192
- $cyan-5: $cyan !default;
193
- $cyan-6: color.mix(black, $cyan, 20%) !default;
194
- $cyan-7: color.mix(black, $cyan, 40%) !default;
195
- $cyan-8: color.mix(black, $cyan, 60%) !default;
196
- $cyan-9: color.mix(black, $cyan, 80%) !default;
197
-
198
- $blues: (
199
- "blue-1": $blue-1,
200
- "blue-2": $blue-2,
201
- "blue-3": $blue-3,
202
- "blue-4": $blue-4,
203
- "blue-5": $blue-5,
204
- "blue-6": $blue-6,
205
- "blue-7": $blue-7,
206
- "blue-8": $blue-8,
207
- "blue-9": $blue-9,
208
- ) !default;
209
-
210
- $indigos: (
211
- "indigo-1": $indigo-1,
212
- "indigo-2": $indigo-2,
213
- "indigo-3": $indigo-3,
214
- "indigo-4": $indigo-4,
215
- "indigo-5": $indigo-5,
216
- "indigo-6": $indigo-6,
217
- "indigo-7": $indigo-7,
218
- "indigo-8": $indigo-8,
219
- "indigo-9": $indigo-9,
220
- ) !default;
221
-
222
- $purples: (
223
- "purple-1": $purple-2,
224
- "purple-2": $purple-1,
225
- "purple-3": $purple-3,
226
- "purple-4": $purple-4,
227
- "purple-5": $purple-5,
228
- "purple-6": $purple-6,
229
- "purple-7": $purple-7,
230
- "purple-8": $purple-8,
231
- "purple-9": $purple-9,
232
- ) !default;
233
-
234
- $pinks: (
235
- "pink-1": $pink-1,
236
- "pink-2": $pink-2,
237
- "pink-3": $pink-3,
238
- "pink-4": $pink-4,
239
- "pink-5": $pink-5,
240
- "pink-6": $pink-6,
241
- "pink-7": $pink-7,
242
- "pink-8": $pink-8,
243
- "pink-9": $pink-9,
244
- ) !default;
245
-
246
- $reds: (
247
- "red-1": $red-1,
248
- "red-2": $red-2,
249
- "red-3": $red-3,
250
- "red-4": $red-4,
251
- "red-5": $red-5,
252
- "red-6": $red-6,
253
- "red-7": $red-7,
254
- "red-8": $red-8,
255
- "red-9": $red-9,
256
- ) !default;
257
-
258
- $oranges: (
259
- "orange-1": $orange-1,
260
- "orange-2": $orange-2,
261
- "orange-3": $orange-3,
262
- "orange-4": $orange-4,
263
- "orange-5": $orange-5,
264
- "orange-6": $orange-6,
265
- "orange-7": $orange-7,
266
- "orange-8": $orange-8,
267
- "orange-9": $orange-9,
268
- ) !default;
269
-
270
- $yellows: (
271
- "yellow-1": $yellow-1,
272
- "yellow-2": $yellow-2,
273
- "yellow-3": $yellow-3,
274
- "yellow-4": $yellow-4,
275
- "yellow-5": $yellow-5,
276
- "yellow-6": $yellow-6,
277
- "yellow-7": $yellow-7,
278
- "yellow-8": $yellow-8,
279
- "yellow-9": $yellow-9,
280
- ) !default;
281
-
282
- $greens: (
283
- "green-1": $green-1,
284
- "green-2": $green-2,
285
- "green-3": $green-3,
286
- "green-4": $green-4,
287
- "green-5": $green-5,
288
- "green-6": $green-6,
289
- "green-7": $green-7,
290
- "green-8": $green-8,
291
- "green-9": $green-9,
292
- ) !default;
293
-
294
- $teals: (
295
- "teal-1": $teal-1,
296
- "teal-2": $teal-2,
297
- "teal-3": $teal-3,
298
- "teal-4": $teal-4,
299
- "teal-5": $teal-5,
300
- "teal-6": $teal-6,
301
- "teal-7": $teal-7,
302
- "teal-8": $teal-8,
303
- "teal-9": $teal-9,
304
- ) !default;
305
-
306
- $cyans: (
307
- "cyan-1": $cyan-1,
308
- "cyan-2": $cyan-2,
309
- "cyan-3": $cyan-3,
310
- "cyan-4": $cyan-4,
311
- "cyan-5": $cyan-5,
312
- "cyan-6": $cyan-6,
313
- "cyan-7": $cyan-7,
314
- "cyan-8": $cyan-8,
315
- "cyan-9": $cyan-9,
316
- ) !default;
317
-
318
92
  $all-colors: map.merge($colors, $theme-colors) !default;
319
-
320
93
  $spacer: 1rem !default;
321
-
322
94
  $spacers: (
323
95
  0: 0,
324
96
  1: $spacer * 0.25,
@@ -328,25 +100,21 @@ $spacers: (
328
100
  5: $spacer * 3,
329
101
  ) !default;
330
102
 
331
- $link-color: $primary !default;
332
103
  $link-shade-percentage: 20% !default;
333
- $link-hover-color: color.mix(black, $link-color, $link-shade-percentage) !default;
104
+ $link-shade-value: 0.8 !default;
334
105
  $link-decoration: none !default;
335
106
  $link-hover-decoration: underline !default;
336
-
337
107
  $body-background: $white !default;
338
108
  $body-color: $gray-9 !default;
339
109
  $body-text-align: null !default;
340
-
341
110
  $breakpoints: (
342
- "<-mobile": 0,
111
+ "below-mobile": 0,
343
112
  "mobile": 576px,
344
113
  "tablet": 768px,
345
114
  "desktop": 1024px,
346
115
  "widescreen": 1216px,
347
116
  "fullhd": 1408px,
348
117
  ) !default;
349
-
350
118
  $container-max-widths: (
351
119
  "mobile": 576px,
352
120
  "tablet": 768px,
@@ -354,30 +122,25 @@ $container-max-widths: (
354
122
  "widescreen": 1216px,
355
123
  "fullhd": 1408px,
356
124
  ) !default;
357
-
358
125
  $grid-columns: 12 !default;
359
126
  $grid-gutter-x: calc($spacer * 1.5) !default;
360
127
  $grid-gutter-y: null !default;
361
128
  $grid-margin-x: 0.5 !default;
362
129
  $grid-margin-x-tight: 0.25 !default;
363
-
364
130
  $font-size-root: null !default;
365
131
  $font-size-base: $spacer !default;
366
132
  $line-height-base: 1.5 !default;
367
-
368
133
  $font-size-6: $font-size-base !default;
369
134
  $font-size-5: calc($font-size-base * 1.125) !default;
370
135
  $font-size-4: calc(($font-size-base * 1.275) + 0.3vw) !default;
371
136
  $font-size-3: calc(($font-size-base * 1.3) + 0.6vw) !default;
372
137
  $font-size-2: calc(($font-size-base * 1.325) + 0.9vw) !default;
373
138
  $font-size-1: calc(($font-size-base * 1.375) + 1.5vw) !default;
374
-
375
139
  $font-size-xsmall: 0.675em !default;
376
140
  $font-size-small: 0.875em !default;
377
141
  $font-size-sub-sup: 0.75em !default;
378
142
  $font-size-large: calc($font-size-base * 1.25) !default;
379
143
  $font-size-code: $font-size-base !default;
380
-
381
144
  $font-sizes: (
382
145
  1: $font-size-1,
383
146
  2: $font-size-2,
@@ -393,25 +156,21 @@ $font-sizes: (
393
156
  "sub-sup": $font-size-sub-sup,
394
157
  "code": $font-size-code,
395
158
  ) !default;
396
-
397
- $font-family-sans-serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
159
+ $font-family-sans-serif: inter, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial,
398
160
  "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
399
- $font-family-serif: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times,
161
+ $font-family-serif: cambria, "Hoefler Text", utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", times,
400
162
  "Times New Roman", serif !default;
401
- $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
163
+ $font-family-monospace: sfmono-regular, menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace !default;
402
164
  $font-family-base: $font-family-sans-serif !default;
403
-
404
165
  $font-families: (
405
166
  "sans-serif": $font-family-sans-serif,
406
167
  "serif": $font-family-serif,
407
168
  "monospace": $font-family-monospace,
408
169
  ) !default;
409
-
410
170
  $text-aligns: (left, right, center, justify) !default;
411
171
  $text-transforms: (uppercase, lowercase, capitalize, none) !default;
412
172
  $text-wraps: (normal, nowrap) !default;
413
173
  $font-styles: (italic, oblique, normal) !default;
414
-
415
174
  $font-weight-lighter: lighter !default;
416
175
  $font-weight-bolder: bolder !default;
417
176
  $font-weight-thin: 100 !default;
@@ -422,7 +181,6 @@ $font-weight-semibold: 600 !default;
422
181
  $font-weight-bold: 700 !default;
423
182
  $font-weight-heavy: 800 !default;
424
183
  $font-weight-black: 900 !default;
425
-
426
184
  $font-weights: (
427
185
  "lighter": $font-weight-lighter,
428
186
  "bolder": $font-weight-bolder,
@@ -435,29 +193,36 @@ $font-weights: (
435
193
  "heavy": $font-weight-heavy,
436
194
  "black": $font-weight-black,
437
195
  ) !default;
438
-
439
196
  $font-weight-base: $font-weight-normal !default;
440
-
441
197
  $headings-font-family: null !default;
442
198
  $headings-font-style: null !default;
443
199
  $headings-font-weight: $font-weight-bold !default;
444
200
  $headings-line-height: 1.2 !default;
445
201
  $headings-color: $body-color !default;
446
-
447
202
  $border-color-main: $black !default;
448
203
  $border-unfocus-opacity: 10% !default;
449
204
  $border-opacity: 20% !default;
205
+ $border-opacity-value: 0.2 !default;
450
206
  $border-hover-opacity: 30% !default;
451
207
  $border-active-opacity: 40% !default;
452
208
  $border-width: 1px !default;
453
209
  $border-style: solid !default;
210
+ $border-radius-none: 0 !default;
454
211
  $border-radius-small: calc($spacer * 0.15) !default;
455
212
  $border-radius-medium: calc($spacer * 0.275) !default;
456
213
  $border-radius-large: calc($spacer * 0.5) !default;
457
214
  $border-radius-round: calc($spacer * 99) !default;
458
- $border-radius-none: 0 !default;
459
215
  $border-radius-default: $border-radius-medium !default;
460
216
 
217
+ $border-radii: (
218
+ "none": $border-radius-none,
219
+ "small": $border-radius-small,
220
+ "medium": $border-radius-medium,
221
+ "large": $border-radius-large,
222
+ "round": $border-radius-round,
223
+ "default": $border-radius-default,
224
+ ) !default;
225
+
461
226
  $hr-border-color: $border-color-main !default;
462
227
  $hr-border-opacity: $border-opacity !default;
463
228
  $hr-border-width: $border-width !default;
@@ -467,22 +232,17 @@ $hr-margin-x: 0 !default;
467
232
  $hr-color: transparent !default;
468
233
  $hr-background-color: null !default;
469
234
  $hr-height: 0 !default;
470
-
471
235
  $legend-margin-bottom: 0.5rem !default;
472
236
  $legend-font-size: 1.5rem !default;
473
237
  $legend-font-weight: null !default;
474
-
475
238
  $dt-font-weight: $font-weight-bold !default;
476
-
477
239
  $mark-padding: 0.1875em !default;
478
240
  $pre-color: null !default;
479
-
480
241
  $kbd-padding-y: 0.1875rem !default;
481
242
  $kbd-padding-x: 0.375rem !default;
482
243
  $kbd-font-size: $font-size-code !default;
483
244
  $kbd-color: var(--body-background) !default;
484
245
  $kbd-background: var(--body-color) !default;
485
-
486
246
  $table-cell-padding-y: calc(($spacer * 0.625) - 1px) !default;
487
247
  $table-cell-padding-x: calc($spacer * 0.5) !default;
488
248
  $table-cell-padding-y-small: calc(($spacer * 0.25) - 1px) !default;
@@ -499,7 +259,6 @@ $table-striped-background-opacity: 4% !default;
499
259
  $table-even-background-color: rgba($dark, $table-striped-background-opacity) !default;
500
260
  $table-odd-background-color: rgba($light, $table-striped-background-opacity) !default;
501
261
  $table-caption-color: $medium !default;
502
-
503
262
  $zindex-static: 0 !default;
504
263
  $zindex-relative: 1 !default;
505
264
  $zindex-absolute: 1 !default;
@@ -510,7 +269,6 @@ $zindex-modal-backdrop: 1050 !default;
510
269
  $zindex-modal: 1060 !default;
511
270
  $zindex-popover: 1070 !default;
512
271
  $zindex-tooltip: 1080 !default;
513
-
514
272
  $zindexes: (
515
273
  "static": $zindex-static,
516
274
  "relative": $zindex-relative,
@@ -523,21 +281,17 @@ $zindexes: (
523
281
  "popover": $zindex-popover,
524
282
  "tooltip": $zindex-tooltip,
525
283
  ) !default;
526
-
527
284
  $box-shadow-none: none !default;
528
285
  $box-shadow-small: 0 calc($spacer * 0.125) calc($spacer * 0.25) rgba($dark, 7.5%) !default;
529
286
  $box-shadow-medium: 0 calc($spacer * 0.5) calc($spacer * 0.75) rgba($dark, 15%) !default;
530
287
  $box-shadow-large: 0 $spacer calc($spacer * 2.5) rgba($dark, 17.5%) !default;
531
-
532
288
  $box-shadows: (
533
289
  "none": $box-shadow-none,
534
290
  "small": $box-shadow-small,
535
291
  "medium": $box-shadow-medium,
536
292
  "large": $box-shadow-large,
537
293
  ) !default;
538
-
539
294
  $component-active-background: $primary !default;
540
-
541
295
  $embeds: (
542
296
  "32by9": 28.125%,
543
297
  "21by9": 42.8571%,
@@ -545,20 +299,15 @@ $embeds: (
545
299
  "4by3": 75%,
546
300
  "1by1": 100%,
547
301
  ) !default;
548
-
549
302
  $escaped-characters: (("<", "%3c"), (">", "%3e"), ("#", "%23"), ("(", "%28"), (")", "%29")) !default;
550
-
551
303
  $form-select-indicator-color: $body-color !default;
552
304
  $form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>") !default;
553
-
554
305
  $list-nested-indicator-color: rgba($body-color, 25%) !default;
555
306
  $list-nested-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='#{$list-nested-indicator-color}' stroke='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z'/></svg>") !default;
556
-
557
307
  $form-file-indicator-color: rgba($body-color, 25%) !default;
558
308
  $form-file-indicator-hover-color: rgba($body-color, 50%) !default;
559
309
  $form-file-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='#{$form-file-indicator-color}' stroke='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z'/></svg>") !default;
560
310
  $form-file-indicator-hover: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='#{$form-file-indicator-hover-color}' stroke='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z'/></svg>") !default;
561
-
562
311
  $form-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
563
312
  box-shadow 0.15s ease-in-out;
564
313
 
@@ -570,7 +319,6 @@ $label-font-weight: $font-weight-medium !default;
570
319
  $label-text-transform: none !default;
571
320
  $label-font-size: $font-size-base !default;
572
321
  $label-color: $body-color !default;
573
-
574
322
  $input-button-border-width: $border-width !default;
575
323
  $input-button-border-style: $border-style !default;
576
324
  $input-button-border-color: rgba($border-color-main, $border-opacity) !default;
@@ -579,15 +327,12 @@ $input-button-active-border-color: rgba($border-color-main, $border-active-opaci
579
327
  $input-button-border-radius: $border-radius-default !default;
580
328
  $input-button-border-radius-large: $border-radius-large !default;
581
329
  $input-button-border-radius-small: $border-radius-small !default;
582
-
583
330
  $input-button-background: $white !default;
584
-
585
331
  $input-button-font-size: $font-size-base !default;
586
332
  $input-button-font-size-large: $font-size-large !default;
587
333
  $input-button-font-size-small: $font-size-small !default;
588
334
  $input-button-font-family: $font-family-sans-serif !default;
589
335
  $input-button-line-height: $line-height-base !default;
590
-
591
336
  $input-button-padding-y: calc($spacer * 0.375) !default;
592
337
  $input-button-padding-x: calc($spacer * 0.75) !default;
593
338
  $input-button-padding-y-large: calc($spacer * 0.5) !default;
@@ -597,13 +342,11 @@ $input-button-padding-x-small: calc($spacer * 0.5) !default;
597
342
 
598
343
  // $input-button-focus-box-shadow: 0 0 0 calc($spacer * 0.25) $input-button-border-color !default;
599
344
  // $input-button-focus-box-shadow: 0 0 $input-button-focus-blur $input-button-focus-width $input-button-focus-color !default;
600
-
601
345
  $input-button-focus-width: 0.25rem !default;
602
346
  $input-button-focus-color-opacity: 0.25 !default;
603
347
  $input-button-focus-color: rgba($component-active-background, $input-button-focus-color-opacity) !default;
604
348
  $input-button-focus-blur: 0 !default;
605
349
  $input-button-focus-box-shadow: 0 0 $input-button-focus-blur $input-button-focus-width $input-button-focus-color !default;
606
-
607
350
  $input-button-disabled-opacity: 65% !default;
608
351
  $input-button-detail-color: $primary !default;
609
352
 
@@ -618,16 +361,13 @@ $input-focus-border-color: $input-button-active-border-color !default;
618
361
  $input-border-radius: $input-button-border-radius !default;
619
362
  $input-border-radius-large: $input-button-border-radius-large !default;
620
363
  $input-border-radius-small: $input-button-border-radius-small !default;
621
-
622
364
  $input-background-color: $input-button-background !default;
623
-
624
365
  $input-padding-y: $input-button-padding-y !default;
625
366
  $input-padding-x: $input-button-padding-x !default;
626
367
  $input-padding-y-large: $input-button-padding-y-large !default;
627
368
  $input-padding-x-large: $input-button-padding-x-large !default;
628
369
  $input-padding-y-small: $input-button-padding-y-small !default;
629
370
  $input-padding-x-small: $input-button-padding-x-small !default;
630
-
631
371
  $input-font-size: $input-button-font-size !default;
632
372
  $input-font-size-large: $input-button-font-size-large !default;
633
373
  $input-font-size-small: $input-button-font-size-small !default;
@@ -644,31 +384,24 @@ $button-border-style: $input-button-border-style !default;
644
384
  $button-border-color: $input-button-border-color !default;
645
385
  $button-hover-border-color: $input-button-hover-border-color !default;
646
386
  $button-active-border-color: $input-button-active-border-color !default;
647
-
648
387
  $button-border-radius: $input-button-border-radius !default;
649
388
  $button-border-radius-large: $input-button-border-radius-large !default;
650
389
  $button-border-radius-small: $input-button-border-radius-small !default;
651
390
  $button-white-space: null !default;
652
391
  $button-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
653
392
  box-shadow 0.15s ease-in-out !default;
654
-
655
393
  $button-background: $input-button-background !default;
656
-
657
394
  $button-padding-y: $input-button-padding-y !default;
658
395
  $button-padding-x: $input-button-padding-x !default;
659
396
  $button-padding-y-large: $input-button-padding-y-large !default;
660
397
  $button-padding-x-large: $input-button-padding-x-large !default;
661
398
  $button-padding-y-small: $input-button-padding-y-small !default;
662
399
  $button-padding-x-small: $input-button-padding-x-small !default;
663
-
664
400
  $button-font-size: $input-button-font-size !default;
665
401
  $button-font-size-large: $input-button-font-size-large !default;
666
402
  $button-font-size-small: $input-button-font-size-small !default;
667
403
  $button-font-family: $input-button-font-family !default;
668
-
669
404
  $button-focus-box-shadow: $input-button-focus-box-shadow !default;
670
- $button-disabled-opacity: $input-button-disabled-opacity !default;
671
-
672
405
  $button-hover-background-shade-amount: 15% !default;
673
406
  $button-hover-background-tint-amount: 15% !default;
674
407
  $button-hover-border-shade-amount: 20% !default;
@@ -677,13 +410,11 @@ $button-active-background-shade-amount: 20% !default;
677
410
  $button-active-background-tint-amount: 20% !default;
678
411
  $button-active-border-shade-amount: 25% !default;
679
412
  $button-active-border-tint-amount: 10% !default;
680
-
681
413
  $button-font-weight: $font-weight-normal !default;
682
414
  $button-box-shadow: inset 0 1px 0 rgba($white, 15%), 0 1px 1px rgba($black, 7.5%) !default;
683
415
  $button-focus-box-shadow: $input-button-focus-box-shadow !default;
684
416
  $button-disabled-opacity: $input-button-disabled-opacity !default;
685
417
  $button-active-box-shadow: inset 0 3px 5px rgba($black, 12.5%) !default;
686
-
687
418
  $close-indicator-color: $white !default;
688
419
  $close-indicator-color-light: $dark !default;
689
420
  $close-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='#{$close-indicator-color}' d='M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z'/></svg>") !default;
@@ -716,19 +447,6 @@ $card-background-color: $white !default;
716
447
  $card-header-footer-padding: calc(($spacer * 0.375) - 1px) $spacer !default;
717
448
  $card-body-padding: $spacer !default;
718
449
 
719
- // Tag
720
- $tag-background: $light !default;
721
- $tag-border-color: rgba($border-color-main, $border-opacity) !default;
722
- $tag-border-radius: $border-radius-default !default;
723
- $tag-color: $body-color !default;
724
- $tag-padding-y: calc(($spacer * 0.25) - 1px) !default;
725
- $tag-padding-x: calc(($spacer * 0.5) - 1px) !default;
726
-
727
- // Pill
728
- $pill-background: $light !default;
729
- $pill-border-color: rgba($border-color-main, $border-opacity) !default;
730
- $pill-color: $body-color !default;
731
-
732
450
  // Nav
733
451
  $nav-label-color: $medium !default;
734
452
  $nav-label-font-size: $font-size-small !default;
@@ -763,6 +481,46 @@ $details-caret-color: $primary !default;
763
481
  $tabs-active-color: $primary !default;
764
482
 
765
483
  // Dialog
766
- $modal-background: rgba(#{color.red($dark)} #{color.green($dark)} #{color.blue($dark)} / 0%) !default;
767
484
  $modal-open-background: rgba(#{color.red($dark)} #{color.green($dark)} #{color.blue($dark)} / 50%) !default;
768
485
  $modal-background-blur: 4px !default;
486
+
487
+ // Colours
488
+ $color-flip-threshold: 50% !default;
489
+ $color-flip-l: 35% !default;
490
+ $color-variant-border-l: 20% !default;
491
+ $color-variant-border-a: 50% !default;
492
+ $color-variant-hover-border-a: 60% !default;
493
+
494
+ // Alert
495
+ $alert-color-l: 40% !default;
496
+ $alert-background-l: 90% !default;
497
+
498
+ // Buttons
499
+ $button-color-flip-threshold: 52.5% !default;
500
+ $button-color-flip-l: 35% !default;
501
+ $button-active-background-l: 95% !default;
502
+ $button-background-l: 10% !default;
503
+ $button-hover-background-l: 5% !default;
504
+ $button-hover-link-background-a: 15% !default;
505
+
506
+ // Pills
507
+ $pill-color-flip-threshold: 54% !default;
508
+ $pill-color-flip-l: 35% !default;
509
+ $pill-padding-x: calc($spacer * 0.25) !default;
510
+ $pill-padding-y: calc(($spacer * 0.125) - 1px) !default;
511
+ $pill-font-family: $font-family-base !default;
512
+ $pill-font-weight: 600 !default;
513
+ $pill-line-height: 1 !default;
514
+ $pill-white-space: nowrap !default;
515
+ $pill-font-size: $font-size-small !default;
516
+
517
+ // Tags
518
+ $tag-color-flip-threshold: 54% !default;
519
+ $tag-color-flip-l: 60% !default;
520
+ $tag-padding-x: calc($spacer * 0.5) !default;
521
+ $tag-padding-y: calc($spacer * 0.25) !default;
522
+ $tag-font-family: $font-family-base !default;
523
+ $tag-font-weight: 400 !default;
524
+ $tag-line-height: 1 !default;
525
+ $tag-white-space: nowrap !default;
526
+ $tag-font-size: $font-size-small !default;
@@ -1,5 +1,4 @@
1
1
  @use "sass:map";
2
-
3
2
  @use "./../variables" as *;
4
3
  @use "./../mixins/breakpoints" as *;
5
4
  @use "./../mixins/grid" as *;
@@ -18,13 +17,13 @@
18
17
 
19
18
  [class*="col-#{$infix}-fit"],
20
19
  .col-#{$infix}-fit {
21
- --#{$prefix}flex: 1 0 0%;
20
+ --flex: 1 0 0%;
22
21
  }
23
22
 
24
23
  @for $value from 1 through $grid-columns {
25
24
  [class*="col-#{$infix}-#{$value}"],
26
25
  .col-#{$infix}-#{$value} {
27
- --#{$prefix}width: calc((#{$value} / #{$grid-columns}) * 100%);
26
+ --width: calc((#{$value} / #{$grid-columns}) * 100%);
28
27
  }
29
28
  }
30
29