@design-factory/styles 21.0.0-next.0 → 21.0.0-next.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 (75) hide show
  1. package/bundle.css +1 -1
  2. package/package.json +2 -2
  3. package/scss/_common.mixins.scss +10 -10
  4. package/scss/_common.root.scss +0 -31
  5. package/scss/_common.scss +14 -10
  6. package/scss/_common.variables.scss +13 -59
  7. package/scss/_variables.scss +12 -8
  8. package/scss/bootstrap/_functions.scss +55 -0
  9. package/scss/bootstrap/_mixins-override.scss +8 -52
  10. package/scss/bootstrap/_variables.scss +235 -355
  11. package/scss/bundle.scss +5 -6
  12. package/scss/components/accordion/_accordion.variables.scss +1 -1
  13. package/scss/components/alert/_alert.scss +1 -1
  14. package/scss/components/badge/_badge.scss +1 -1
  15. package/scss/components/brand-color/_brand-color.mixins.scss +0 -2
  16. package/scss/components/brand-color/_brand-color.scss +0 -7
  17. package/scss/components/button/_button.mixins.scss +1 -1
  18. package/scss/components/button/_button.namespace.scss +42 -0
  19. package/scss/components/button/_button.scss +12 -12
  20. package/scss/components/button/_button.variables.scss +11 -4
  21. package/scss/components/card/_card.variables.scss +1 -1
  22. package/scss/components/carousel/_carousel.namespace.scss +8 -0
  23. package/scss/components/checkbox/_checkbox.scss +14 -16
  24. package/scss/components/checkbox/_checkbox.variables.scss +2 -1
  25. package/scss/components/collapse/_collapse.scss +1 -1
  26. package/scss/components/datepicker/_datepicker.scss +16 -2
  27. package/scss/components/dropdown/_dropdown.scss +1 -1
  28. package/scss/components/dropdown/_dropdown.variables.scss +1 -1
  29. package/scss/components/form/_form.scss +13 -5
  30. package/scss/components/form/_form.variables.scss +9 -3
  31. package/scss/components/icon/_amadeus-icon.scss +1 -1
  32. package/scss/components/inputs/_inputs.mixin.scss +0 -13
  33. package/scss/components/inputs/_inputs.scss +6 -39
  34. package/scss/components/inputs/_inputs.variables.scss +7 -0
  35. package/scss/components/link/_link.scss +1 -1
  36. package/scss/components/list-group/_list-group.scss +5 -5
  37. package/scss/components/media/_media.scss +1 -1
  38. package/scss/components/modal/_modal.namespace.scss +13 -0
  39. package/scss/components/modal/_modal.scss +1 -1
  40. package/scss/components/navbar/_navbar.scss +3 -2
  41. package/scss/components/pagination/_pagination.namespace.scss +15 -0
  42. package/scss/components/pagination/_pagination.scss +35 -34
  43. package/scss/components/pagination/_pagination.variables.scss +2 -2
  44. package/scss/components/popover/_popover.scss +2 -2
  45. package/scss/components/popover/_popover.variables.scss +1 -1
  46. package/scss/components/radio/_radio.scss +12 -12
  47. package/scss/components/rating/_rating.scss +1 -1
  48. package/scss/components/scrollspy/_scrollspy.scss +22 -1
  49. package/scss/components/select/_select.namespace.scss +10 -0
  50. package/scss/components/select/_select.scss +8 -10
  51. package/scss/components/select/_select.variables.scss +1 -1
  52. package/scss/components/sidenav/_sidenav-deprecated.scss +1 -1
  53. package/scss/components/sidenav/_sidenav.scss +18 -0
  54. package/scss/components/slider/_slider.scss +7 -7
  55. package/scss/components/speechbubble/_speechbubble.scss +6 -10
  56. package/scss/components/stepper/_stepper.scss +2 -2
  57. package/scss/components/table/_advancedtables.scss +8 -3
  58. package/scss/components/tabs/_tabs.scss +6 -1
  59. package/scss/components/toast/_toast.variables.scss +2 -1
  60. package/scss/components/toggle/_toggle.scss +2 -2
  61. package/scss/namespace.scss +54 -33
  62. package/scss/utilities.scss +0 -1
  63. package/scss/_new-brand-common.variables.scss +0 -7
  64. package/scss/bootstrap/_variables-dark.scss +0 -86
  65. package/scss/components/brand-color/_brand-color.variables.scss +0 -146
  66. package/scss/components/brand-color/_brand-color_container.scss +0 -23
  67. package/scss/components/button/_button_container.scss +0 -47
  68. package/scss/components/pagination/_pagination_container.scss +0 -17
  69. package/scss/components/popover/_popover_container.scss +0 -214
  70. package/scss/components/spinner/_spinner_container.scss +0 -43
  71. package/scss/components/tooltip/_tooltip_container.scss +0 -116
  72. package/scss/themes/brand2023/_variables.scss +0 -315
  73. package/scss/utilities/_common.utilities.scss +0 -98
  74. package/scss/utilities/_form.mixins.scss +0 -26
  75. package/scss/utilities/_rgb.scss +0 -10
@@ -1,7 +1,10 @@
1
- @use 'sass:math';
2
1
  @use 'sass:map';
3
2
  @use 'sass:color';
4
- @use 'sass:meta';
3
+ @import '@design-factory/tokens/scss/vars-light';
4
+ @import '@design-factory/tokens/scss/root';
5
+
6
+ // stylelint-disable-next-line scss/dollar-variable-default
7
+ $prefix: df-;
5
8
 
6
9
  // stylelint-disable scss/dollar-variable-pattern
7
10
  // Variables
@@ -17,18 +20,18 @@ $black: #000 !default; // changed
17
20
 
18
21
  // DF specific colors
19
22
  // Grey colors
20
- $gray-1000: #000000 !default;
21
- $gray-900: #1a1a1a !default;
22
- $gray-800: #333 !default;
23
- $gray-700: #4d4d4d !default;
24
- $gray-600: #666 !default;
25
- $gray-500: #808080 !default;
26
- $gray-400: #999 !default;
27
- $gray-300: #b3b3b3 !default;
28
- $gray-200: #ccc !default;
29
- $gray-100: #e6e6e6 !default;
30
- $gray-50: #f2f2f2 !default;
31
- $gray-0: #ffffff !default;
23
+ $gray-1000: $df-theme-neutral-110 !default;
24
+ $gray-900: $df-theme-neutral-100 !default; // cloud-100
25
+ $gray-800: $df-theme-neutral-90 !default;
26
+ $gray-700: $df-theme-neutral-80 !default;
27
+ $gray-600: $df-theme-neutral-70 !default;
28
+ $gray-500: $df-theme-neutral-60 !default;
29
+ $gray-400: $df-theme-neutral-50 !default;
30
+ $gray-300: $df-theme-neutral-40 !default;
31
+ $gray-200: $df-theme-neutral-30 !default;
32
+ $gray-100: $df-theme-neutral-20 !default;
33
+ $gray-50: $df-theme-neutral-10 !default;
34
+ $gray-0: $df-theme-neutral-0 !default;
32
35
  // scss-docs-end gray-color-variables
33
36
 
34
37
  // fusv-disable
@@ -51,21 +54,21 @@ $grays: (
51
54
  // fusv-enable
52
55
 
53
56
  // scss-docs-start color-variables
54
- $blue: #005eb8 !default;
55
- $indigo: #6610f2 !default;
56
- $purple: #6f2b8d !default;
57
- $pink: #ce0058 !default;
58
- $red: #c60000 !default;
59
- $orange: #f7a827 !default;
60
- $yellow: #feeb3d !default;
61
- $green: #008540 !default;
62
- $teal: #1a7ead !default;
63
- $cyan: #009dd1 !default;
57
+ $blue: $df-colorPalette-sky-60 !default;
58
+ $indigo: #6610f2 !default; // not changed
59
+ $purple: $df-colorPalette-violet-60 !default;
60
+ $pink: $df-colorPalette-fuchsia-60 !default; // fuchsia
61
+ $red: $df-colorPalette-crimson-60 !default;
62
+ $orange: $df-colorPalette-pumpkin-40 !default; // orange 400
63
+ $yellow: $df-colorPalette-canary-60 !default;
64
+ $green: $df-colorPalette-forest-60 !default;
65
+ $teal: $df-colorPalette-sky-60 !default; // put to blue, temporary ?
66
+ $cyan: #009dd1 !default; // not changed
64
67
 
65
68
  // DF specific colors
66
- $dark-orange: #e95326 !default;
67
- $light-blue: #9bcaeb !default;
68
- $brown: #9e6900 !default;
69
+ $dark-orange: $df-colorPalette-pumpkin-70 !default; // TODO verify usaged not changed
70
+ $light-blue: #9bcaeb !default; // TODO verify this one
71
+ $brown: #9e6900 !default; // not changed
69
72
  $brand-green: #00a34e !default;
70
73
  // scss-docs-end color-variables
71
74
 
@@ -91,18 +94,24 @@ $colors: (
91
94
 
92
95
  // scss-docs-start theme-color-variables
93
96
  $primary: $blue !default;
94
- $secondary: $gray-600 !default;
95
- $success: $green !default;
96
- $info: $teal !default;
97
- $warning: $orange !default;
98
- $danger: $red !default;
99
- $light: $gray-100 !default;
100
- $dark: $gray-700 !default;
97
+ $secondary: $gray-700 !default; // not changed
98
+ $success: $df-theme-success-60 !default;
99
+ $info: $blue !default; // Sky 60
100
+ $warning: $df-theme-warning-40 !default; // Orange 400
101
+ $danger: $df-theme-danger-60 !default; // Crimson 500
102
+ $light: $gray-50 !default; // changed
103
+ $dark: $gray-700 !default; // changed
104
+ $dark-sky: $df-theme-primary-90 !default; // added
101
105
 
102
106
  // DF Theme colors
103
107
  $mystery: $purple !default;
104
108
  $love: $pink !default;
105
109
  $pacific: $light-blue !default;
110
+ $light-primary: $df-theme-primary-20 !default; // create
111
+ $tip: $purple !default;
112
+ $chromatic1: $yellow !default;
113
+ $chromatic2: $pink !default;
114
+ $pacific: $light-blue !default; // to removed ? where used ?
106
115
 
107
116
  // Added DF theme colors
108
117
  $light-primary: color.mix($primary, $white, 10%) !default;
@@ -111,16 +120,14 @@ $light-primary: color.mix($primary, $white, 10%) !default;
111
120
  // scss-docs-start theme-colors-map
112
121
  $theme-colors: (
113
122
  'primary': $primary,
114
- 'secondary': $secondary,
115
123
  'success': $success,
116
124
  'info': $info,
117
125
  'warning': $warning,
118
126
  'danger': $danger,
119
- 'light': $light,
120
- 'dark': $dark,
121
- 'mystery': $mystery,
122
- 'love': $love,
123
- 'pacific': $pacific
127
+ 'neutral': $dark,
128
+ 'tip': $tip,
129
+ 'chromatic1': $chromatic1,
130
+ 'chromatic2': $chromatic2
124
131
  ) !default;
125
132
  // scss-docs-end theme-colors-map
126
133
 
@@ -136,16 +143,16 @@ $theme-colors-rgb: map-loop($theme-colors, to-rgb, '$value') !default;
136
143
  // $color-contrast-dark: $black !default;
137
144
  // $color-contrast-light: $white !default;
138
145
 
139
- $dark-900: color.adjust($dark, $lightness: -10%) !default;
140
- $dark-800: color.adjust($dark, $lightness: -5%) !default;
141
- $dark-700: $dark !default; // normal dark
142
- $dark-600: #666 !default;
143
- $dark-500: #808080 !default;
144
- $dark-400: #999 !default;
145
- $dark-300: #b3b3b3 !default;
146
- $dark-200: #ccc !default;
147
- $dark-100: #e6e6e6 !default;
148
- $dark-50: #fafafa !default; // added to the olf DF palette
146
+ $dark-50: $gray-50 !default;
147
+ $dark-100: $gray-100 !default;
148
+ $dark-200: $gray-200 !default;
149
+ $dark-300: $gray-300 !default;
150
+ $dark-400: $gray-400 !default;
151
+ $dark-500: $gray-500 !default;
152
+ $dark-600: $gray-600 !default;
153
+ $dark-700: $gray-700 !default;
154
+ $dark-800: $gray-800 !default;
155
+ $dark-900: $gray-900 !default;
149
156
 
150
157
  $light-900: #1a1a1a !default;
151
158
  $light-800: #333 !default;
@@ -170,16 +177,16 @@ $white-100: color.adjust($white, $lightness: -5%) !default; // added to the olf
170
177
  $white-50: $white !default;
171
178
 
172
179
  // fusv-disable
173
- $blue-50: color.mix($blue, $white, 5%) !default;
174
- $blue-100: color.mix($blue, $white, 10%) !default;
175
- $blue-200: color.mix($blue, $white, 15%) !default;
176
- $blue-300: #61a2ff !default;
177
- $blue-400: #3a8bff !default;
178
- $blue-500: $blue !default;
179
- $blue-600: #104ea4 !default;
180
- $blue-700: color.adjust($blue, $lightness: -5%) !default;
181
- $blue-800: color.adjust($blue, $lightness: -10%) !default;
182
- $blue-900: #000521 !default;
180
+ $blue-50: $df-colorPalette-sky-10 !default;
181
+ $blue-100: $df-colorPalette-sky-20 !default;
182
+ $blue-200: $df-colorPalette-sky-30 !default;
183
+ $blue-300: $df-colorPalette-sky-40 !default;
184
+ $blue-400: $df-colorPalette-sky-50 !default;
185
+ $blue-500: $df-colorPalette-sky-60 !default;
186
+ $blue-600: $df-colorPalette-sky-70 !default;
187
+ $blue-700: $df-colorPalette-sky-80 !default;
188
+ $blue-800: $df-colorPalette-sky-90 !default;
189
+ $blue-900: $df-colorPalette-sky-100 !default;
183
190
 
184
191
  $pacific-50: color.mix($pacific, $white, 5%) !default;
185
192
  $pacific-100: color.mix($pacific, $white, 10%) !default;
@@ -192,16 +199,16 @@ $pacific-700: color.adjust($pacific, $lightness: -5%) !default;
192
199
  $pacific-800: color.adjust($pacific, $lightness: -10%) !default;
193
200
  $pacific-900: #000521 !default;
194
201
 
195
- $primary-50: color.mix($primary, $white, 5%) !default;
196
- $primary-100: color.mix($primary, $white, 10%) !default;
197
- $primary-200: color.mix($primary, $white, 15%) !default;
198
- $primary-300: #61a2ff !default;
199
- $primary-400: #3a8bff !default;
200
- $primary-500: $primary !default;
201
- $primary-600: #104ea4 !default;
202
- $primary-700: color.adjust($primary, $lightness: -5%) !default;
203
- $primary-800: color.adjust($primary, $lightness: -10%) !default;
204
- $primary-900: #000521 !default;
202
+ $primary-50: $df-theme-primary-10 !default;
203
+ $primary-100: $df-theme-primary-20 !default;
204
+ $primary-200: $df-theme-primary-30 !default;
205
+ $primary-300: $df-theme-primary-40 !default;
206
+ $primary-400: $df-theme-primary-50 !default;
207
+ $primary-500: $df-theme-primary-60 !default;
208
+ $primary-600: $df-theme-primary-70 !default;
209
+ $primary-700: $df-theme-primary-80 !default;
210
+ $primary-800: $df-theme-primary-90 !default;
211
+ $primary-900: $df-theme-primary-100 !default;
205
212
 
206
213
  $indigo-50: tint-color($indigo, 90%) !default;
207
214
  $indigo-100: tint-color($indigo, 80%) !default;
@@ -214,126 +221,126 @@ $indigo-700: shade-color($indigo, 40%) !default;
214
221
  $indigo-800: shade-color($indigo, 60%) !default;
215
222
  $indigo-900: shade-color($indigo, 80%) !default;
216
223
 
217
- $purple-50: color.mix($purple, $white, 5%) !default;
218
- $purple-100: color.mix($purple, $white, 10%) !default;
219
- $purple-200: color.mix($purple, $white, 15%) !default;
220
- $purple-300: #c573ff !default;
221
- $purple-400: #b650ff !default;
222
- $purple-500: $purple !default;
223
- $purple-600: #6d3099 !default;
224
- $purple-700: color.adjust($purple, $lightness: -5%) !default;
225
- $purple-800: color.adjust($purple, $lightness: -10%) !default;
226
- $purple-900: #160033 !default;
227
-
228
- $pink-50: color.mix($pink, $white, 5%) !default;
229
- $pink-100: color.mix($pink, $white, 10%) !default;
230
- $pink-200: color.mix($pink, $white, 15%) !default;
231
- $pink-300: #ff79bd !default;
232
- $pink-400: #ff58ac !default;
233
- $pink-500: $pink !default;
234
- $pink-600: #993567 !default;
235
- $pink-700: color.adjust($pink, $lightness: -5%) !default;
236
- $pink-800: color.adjust($pink, $lightness: -10%) !default;
237
- $pink-900: #34001f !default;
238
-
239
- $red-50: color.mix($red, $white, 5%) !default;
240
- $red-100: color.mix($red, $white, 10%) !default;
241
- $red-200: color.mix($red, $white, 15%) !default;
242
- $red-300: #ff7471 !default;
243
- $red-400: #ff514d !default;
244
- $red-500: $red !default;
245
- $red-600: #b2271f !default;
246
- $red-700: color.adjust($red, $lightness: -5%) !default;
247
- $red-800: color.adjust($red, $lightness: -10%) !default;
248
- $red-900: #430f0c !default;
249
-
250
- $orange-50: color.mix($orange, $white, 5%) !default;
251
- $orange-100: color.mix($orange, $white, 10%) !default;
252
- $orange-200: color.mix($orange, $white, 15%) !default;
253
- $orange-300: #ff8838 !default;
254
- $orange-400: #ff7920 !default;
255
- $orange-500: $orange !default;
256
- $orange-600: color.adjust($orange, $lightness: -5%) !default;
257
- $orange-700: color.adjust($orange, $lightness: -10%) !default;
258
- $orange-800: #9e6900 !default; // Brown in the old branding as this is used as color for warning as text only
259
- $orange-900: color.adjust(#9e6900, $lightness: -5%) !default;
260
-
261
- $yellow-50: color.mix($yellow, $white, 5%) !default;
262
- $yellow-100: color.mix($yellow, $white, 10%) !default;
263
- $yellow-200: color.mix($yellow, $white, 15%) !default;
264
- $yellow-300: #fdeb6d !default;
265
- $yellow-400: #fce649 !default;
266
- $yellow-500: $yellow !default;
267
- $yellow-600: #978a2c !default;
268
- $yellow-700: color.adjust($yellow, $lightness: -5%) !default;
269
- $yellow-800: color.adjust($yellow, $lightness: -10%) !default;
270
- $yellow-900: #2a2500 !default;
271
-
272
- $green-50: color.mix($green, $white, 5%) !default;
273
- $green-100: color.mix($green, $white, 10%) !default;
274
- $green-200: color.mix($green, $white, 15%) !default;
275
- $green-300: #a8ff8f !default;
276
- $green-400: #92ff73 !default;
277
- $green-500: $green !default;
278
- $green-600: #569643 !default;
279
- $green-700: color.adjust($green, $lightness: -5%) !default;
280
- $green-800: color.adjust($green, $lightness: -10%) !default;
281
- $green-900: #0f190b !default;
282
-
283
- $teal-50: color.mix($teal, $white, 5%) !default;
284
- $teal-100: color.mix($teal, $white, 10%) !default;
285
- $teal-200: color.mix($teal, $white, 15%) !default;
286
- $teal-300: #61a2ff !default;
287
- $teal-400: #3a8bff !default;
288
- $teal-500: $teal !default;
289
- $teal-600: #104ea4 !default;
290
- $teal-700: color.adjust($teal, $lightness: -5%) !default;
291
- $teal-800: color.adjust($teal, $lightness: -10%) !default;
292
- $teal-900: #000521 !default;
293
-
294
- $info-50: color.mix($teal, $white, 5%) !default;
295
- $info-100: color.mix($teal, $white, 10%) !default;
296
- $info-200: color.mix($teal, $white, 15%) !default;
297
- $info-300: #61a2ff !default; // not used ?
298
- $info-400: #3a8bff !default;
299
- $info-500: $info !default;
300
- $info-600: #104ea4 !default;
301
- $info-700: color.adjust($teal, $lightness: -5%) !default;
302
- $info-800: color.adjust($teal, $lightness: -5%) !default;
303
- $info-900: #000521 !default;
304
-
305
- $danger-50: color.mix($danger, $white, 5%) !default;
306
- $danger-100: color.mix($danger, $white, 10%) !default;
307
- $danger-200: color.mix($danger, $white, 15%) !default;
308
- $danger-300: #ff7471 !default;
309
- $danger-400: #ff514d !default;
310
- $danger-500: $danger !default;
311
- $danger-600: #b2271f !default;
312
- $danger-700: color.adjust($danger, $lightness: -5%) !default;
313
- $danger-800: color.adjust($danger, $lightness: -5%) !default;
314
- $danger-900: #430f0c !default;
315
-
316
- $warning-50: color.mix($warning, $white, 5%) !default;
317
- $warning-100: color.mix($warning, $white, 10%) !default;
318
- $warning-200: color.mix($warning, $white, 15%) !default;
319
- $warning-300: #ff8838 !default;
320
- $warning-400: #ff7920 !default;
321
- $warning-500: $warning !default;
322
- $warning-600: color.adjust($warning, $lightness: -5%) !default;
323
- $warning-700: color.adjust($warning, $lightness: -10%) !default;
324
- $warning-800: #9e6900 !default; // brown as it is used as text color for warning
325
- $warning-900: color.adjust(#9e6900, $lightness: -5%) !default;
326
-
327
- $success-50: color.mix($success, $white, 5%) !default;
328
- $success-100: color.mix($success, $white, 10%) !default;
329
- $success-200: color.mix($success, $white, 15%) !default;
330
- $success-300: #a8ff8f !default;
331
- $success-400: #92ff73 !default;
332
- $success-500: $success !default;
333
- $success-600: #569643 !default;
334
- $success-700: color.adjust($success, $lightness: -5%) !default;
335
- $success-800: color.adjust($success, $lightness: -10%) !default;
336
- $success-900: #0f190b !default;
224
+ $purple-50: $df-colorPalette-violet-10 !default;
225
+ $purple-100: $df-colorPalette-violet-20 !default;
226
+ $purple-200: $df-colorPalette-violet-30 !default;
227
+ $purple-300: $df-colorPalette-violet-40 !default;
228
+ $purple-400: $df-colorPalette-violet-50 !default;
229
+ $purple-500: $df-colorPalette-violet-60 !default;
230
+ $purple-600: $df-colorPalette-violet-70 !default;
231
+ $purple-700: $df-colorPalette-violet-80 !default;
232
+ $purple-800: $df-colorPalette-violet-90 !default;
233
+ $purple-900: $df-colorPalette-violet-100 !default;
234
+
235
+ $pink-50: $df-colorPalette-fuchsia-10 !default;
236
+ $pink-100: $df-colorPalette-fuchsia-20 !default;
237
+ $pink-200: $df-colorPalette-fuchsia-30 !default;
238
+ $pink-300: $df-colorPalette-fuchsia-40 !default;
239
+ $pink-400: $df-colorPalette-fuchsia-50 !default;
240
+ $pink-500: $df-colorPalette-fuchsia-60 !default;
241
+ $pink-600: $df-colorPalette-fuchsia-70 !default;
242
+ $pink-700: $df-colorPalette-fuchsia-80 !default;
243
+ $pink-800: $df-colorPalette-fuchsia-90 !default;
244
+ $pink-900: $df-colorPalette-fuchsia-100 !default;
245
+
246
+ $red-50: $df-colorPalette-crimson-10 !default;
247
+ $red-100: $df-colorPalette-crimson-20 !default;
248
+ $red-200: $df-colorPalette-crimson-30 !default;
249
+ $red-300: $df-colorPalette-crimson-40 !default;
250
+ $red-400: $df-colorPalette-crimson-50 !default;
251
+ $red-500: $df-colorPalette-crimson-60 !default;
252
+ $red-600: $df-colorPalette-crimson-70 !default;
253
+ $red-700: $df-colorPalette-crimson-80 !default;
254
+ $red-800: $df-colorPalette-crimson-90 !default;
255
+ $red-900: $df-colorPalette-crimson-100 !default;
256
+
257
+ $orange-50: $df-colorPalette-pumpkin-10 !default;
258
+ $orange-100: $df-colorPalette-pumpkin-20 !default;
259
+ $orange-200: $df-colorPalette-pumpkin-30 !default;
260
+ $orange-300: $df-colorPalette-pumpkin-40 !default;
261
+ $orange-400: $df-colorPalette-pumpkin-50 !default;
262
+ $orange-500: $df-colorPalette-pumpkin-60 !default;
263
+ $orange-600: $df-colorPalette-pumpkin-70 !default;
264
+ $orange-700: $df-colorPalette-pumpkin-80 !default;
265
+ $orange-800: $df-colorPalette-pumpkin-90 !default;
266
+ $orange-900: $df-colorPalette-pumpkin-100 !default;
267
+
268
+ $yellow-50: $df-colorPalette-canary-10 !default;
269
+ $yellow-100: $df-colorPalette-canary-20 !default;
270
+ $yellow-200: $df-colorPalette-canary-30 !default;
271
+ $yellow-300: $df-colorPalette-canary-40 !default;
272
+ $yellow-400: $df-colorPalette-canary-50 !default;
273
+ $yellow-500: $df-colorPalette-canary-60 !default;
274
+ $yellow-600: $df-colorPalette-canary-70 !default;
275
+ $yellow-700: $df-colorPalette-canary-80 !default;
276
+ $yellow-800: $df-colorPalette-canary-90 !default;
277
+ $yellow-900: $df-colorPalette-canary-100 !default;
278
+
279
+ $green-50: $df-colorPalette-forest-10 !default;
280
+ $green-100: $df-colorPalette-forest-20 !default;
281
+ $green-200: $df-colorPalette-forest-30 !default;
282
+ $green-300: $df-colorPalette-forest-40 !default;
283
+ $green-400: $df-colorPalette-forest-50 !default;
284
+ $green-500: $df-colorPalette-forest-60 !default;
285
+ $green-600: $df-colorPalette-forest-70 !default;
286
+ $green-700: $df-colorPalette-forest-80 !default;
287
+ $green-800: $df-colorPalette-forest-90 !default;
288
+ $green-900: $df-colorPalette-forest-100 !default;
289
+
290
+ $teal-50: $df-colorPalette-sky-10 !default;
291
+ $teal-100: $df-colorPalette-sky-20 !default;
292
+ $teal-200: $df-colorPalette-sky-30 !default;
293
+ $teal-300: $df-colorPalette-sky-40 !default;
294
+ $teal-400: $df-colorPalette-sky-50 !default;
295
+ $teal-500: $df-colorPalette-sky-60 !default;
296
+ $teal-600: $df-colorPalette-sky-70 !default;
297
+ $teal-700: $df-colorPalette-sky-80 !default;
298
+ $teal-800: $df-colorPalette-sky-90 !default;
299
+ $teal-900: $df-colorPalette-sky-100 !default;
300
+
301
+ $info-50: $df-theme-info-10 !default;
302
+ $info-100: $df-theme-info-20 !default;
303
+ $info-200: $df-theme-info-30 !default;
304
+ $info-300: $df-theme-info-40 !default;
305
+ $info-400: $df-theme-info-50 !default;
306
+ $info-500: $df-theme-info-60 !default;
307
+ $info-600: $df-theme-info-70 !default;
308
+ $info-700: $df-theme-info-80 !default;
309
+ $info-800: $df-theme-info-90 !default;
310
+ $info-900: $df-theme-info-100 !default;
311
+
312
+ $danger-50: $df-theme-danger-10 !default;
313
+ $danger-100: $df-theme-danger-20 !default;
314
+ $danger-200: $df-theme-danger-30 !default;
315
+ $danger-300: $df-theme-danger-40 !default;
316
+ $danger-400: $df-theme-danger-50 !default;
317
+ $danger-500: $df-theme-danger-60 !default;
318
+ $danger-600: $df-theme-danger-70 !default;
319
+ $danger-700: $df-theme-danger-80 !default;
320
+ $danger-800: $df-theme-danger-90 !default;
321
+ $danger-900: $df-theme-danger-100 !default;
322
+
323
+ $warning-50: $df-theme-warning-10 !default;
324
+ $warning-100: $df-theme-warning-20 !default;
325
+ $warning-200: $df-theme-warning-30 !default;
326
+ $warning-300: $df-theme-warning-40 !default;
327
+ $warning-400: $df-theme-warning-50 !default;
328
+ $warning-500: $df-theme-warning-60 !default;
329
+ $warning-600: $df-theme-warning-70 !default;
330
+ $warning-700: $df-theme-warning-80 !default;
331
+ $warning-800: $df-theme-warning-90 !default;
332
+ $warning-900: $df-theme-warning-100 !default;
333
+
334
+ $success-50: $df-theme-success-10 !default;
335
+ $success-100: $df-theme-success-20 !default;
336
+ $success-200: $df-theme-success-30 !default;
337
+ $success-300: $df-theme-success-40 !default;
338
+ $success-400: $df-theme-success-50 !default;
339
+ $success-500: $df-theme-success-60 !default;
340
+ $success-600: $df-theme-success-70 !default;
341
+ $success-700: $df-theme-success-80 !default;
342
+ $success-800: $df-theme-success-90 !default;
343
+ $success-900: $df-theme-success-100 !default;
337
344
 
338
345
  $cyan-50: tint-color($cyan, 90%) !default;
339
346
  $cyan-100: tint-color($cyan, 80%) !default;
@@ -632,111 +639,6 @@ $cyans: (
632
639
  'cyan-900': $cyan-900
633
640
  ) !default;
634
641
 
635
- // Create a map of all colors shades
636
- $shade-colors: () !default;
637
-
638
- // stylelint-disable scss/dollar-variable-default
639
- $shade-colors: map.merge(
640
- $map1: $shade-colors,
641
- $map2: $infos
642
- );
643
- $shade-colors: map.merge(
644
- $map1: $shade-colors,
645
- $map2: $successes
646
- );
647
- $shade-colors: map.merge(
648
- $map1: $shade-colors,
649
- $map2: $warnings
650
- );
651
- $shade-colors: map.merge(
652
- $map1: $shade-colors,
653
- $map2: $dangers
654
- );
655
- $shade-colors: map.merge(
656
- $map1: $shade-colors,
657
- $map2: $primaries
658
- );
659
- $shade-colors: map.merge(
660
- $map1: $shade-colors,
661
- $map2: $blues
662
- );
663
- $shade-colors: map.merge(
664
- $map1: $shade-colors,
665
- $map2: $cyans
666
- );
667
- $shade-colors: map.merge(
668
- $map1: $shade-colors,
669
- $map2: $teals
670
- );
671
- $shade-colors: map.merge(
672
- $map1: $shade-colors,
673
- $map2: $greens
674
- );
675
- $shade-colors: map.merge(
676
- $map1: $shade-colors,
677
- $map2: $yellows
678
- );
679
- $shade-colors: map.merge(
680
- $map1: $shade-colors,
681
- $map2: $oranges
682
- );
683
- $shade-colors: map.merge(
684
- $map1: $shade-colors,
685
- $map2: $reds
686
- );
687
- $shade-colors: map.merge(
688
- $map1: $shade-colors,
689
- $map2: $pinks
690
- );
691
- $shade-colors: map.merge(
692
- $map1: $shade-colors,
693
- $map2: $purples
694
- );
695
- $shade-colors: map.merge(
696
- $map1: $shade-colors,
697
- $map2: $indigos
698
- );
699
- $shade-colors: map.merge(
700
- $map1: $shade-colors,
701
- $map2: $lights
702
- );
703
- $shade-colors: map.merge(
704
- $map1: $shade-colors,
705
- $map2: $darks
706
- );
707
- $shade-colors: map.merge(
708
- $map1: $shade-colors,
709
- $map2: $whites
710
- );
711
- $shade-colors: map.merge(
712
- $map1: $shade-colors,
713
- $map2: $loves
714
- );
715
- $shade-colors: map.merge(
716
- $map1: $shade-colors,
717
- $map2: $mysteries
718
- );
719
- $shade-colors: map.merge(
720
- $map1: $shade-colors,
721
- $map2: $pacifics
722
- );
723
-
724
- // Grays map does not include gray prefix in the color name by default
725
- $grays-names: ();
726
- @each $colorName, $colorValue in $grays {
727
- $grays-names: map.set($grays-names, gray-#{$colorName}, $colorValue);
728
- }
729
-
730
- $shade-colors: map.merge(
731
- $map1: $shade-colors,
732
- $map2: $grays-names
733
- );
734
- $shade-colors: map.merge(
735
- $map1: $shade-colors,
736
- $map2: $secondaries
737
- );
738
- // stylelint-enable scss/dollar-variable-default
739
-
740
642
  // fusv-enable
741
643
 
742
644
  // scss-docs-start theme-text-variables
@@ -751,14 +653,15 @@ $shade-colors: map.merge(
751
653
  // scss-docs-end theme-text-variables
752
654
 
753
655
  // scss-docs-start theme-bg-subtle-variables
754
- // $primary-bg-subtle: tint-color($primary, 80%) !default;
755
- // $secondary-bg-subtle: tint-color($secondary, 80%) !default;
756
- // $success-bg-subtle: tint-color($success, 80%) !default;
757
- // $info-bg-subtle: tint-color($info, 80%) !default;
758
- // $warning-bg-subtle: tint-color($warning, 80%) !default;
759
- // $danger-bg-subtle: tint-color($danger, 80%) !default;
760
- // $light-bg-subtle: mix($gray-100, $white) !default;
761
- // $dark-bg-subtle: $gray-400 !default;
656
+ $primary-bg-subtle: var(--df-color-primary-subtle-background) !default;
657
+ // TODO check where this is used in bootstrap
658
+ $secondary-bg-subtle: var(--df-secondary-50) !default;
659
+ $success-bg-subtle: var(--df-color-success-subtle-background) !default;
660
+ $info-bg-subtle: var(--df-color-info-subtle-background) !default;
661
+ $warning-bg-subtle: var(--df-color-warning-subtle-background) !default;
662
+ $danger-bg-subtle: var(--df-color-danger-subtle-background) !default;
663
+ // TODO check where this is used in bootstrap
664
+ $light-bg-subtle: var(--df-white) !default;
762
665
  // scss-docs-end theme-bg-subtle-variables
763
666
 
764
667
  // scss-docs-start theme-border-subtle-variables
@@ -819,43 +722,23 @@ $enable-dark-mode: false !default;
819
722
  // You can add more entries to the $spacers map, should you need more variation.
820
723
 
821
724
  // scss-docs-start spacer-variables-maps
822
- $spacer: 1rem !default;
823
- $spacers: (
824
- 0: 0,
825
- 1: (
826
- $spacer * 0.125
827
- ),
828
- 2: (
829
- $spacer * 0.25
830
- ),
831
- 3: (
832
- $spacer * 0.5
833
- ),
834
- 4: (
835
- $spacer * 0.75
836
- ),
837
- 5: (
838
- $spacer * 1
839
- ),
840
- 6: (
841
- $spacer * 1.5
842
- ),
843
- 7: (
844
- $spacer * 2
845
- ),
846
- 8: (
847
- $spacer * 2.5
848
- ),
849
- 9: (
850
- $spacer * 3
851
- ),
852
- 10: (
853
- $spacer * 4
854
- ),
855
- 11: (
856
- $spacer * 6
857
- )
858
- ) !default;
725
+ $spacer: $df-spacing-5 !default;
726
+ $spacers: () !default;
727
+
728
+ $enable-negative-margins: false !default;
729
+
730
+ @for $i from 0 through 12 {
731
+ $spacers: map.set($spacers, $i, var(--df-spacing-#{$i}));
732
+ }
733
+
734
+ @if $enable-negative-margins {
735
+ $negative-spacers: () !default;
736
+ @for $i from 1 through 12 {
737
+ $negative-spacers: map.set($negative-spacers, 'n' + $i, calc(-1 * var(--df-spacing-#{$i})));
738
+ }
739
+ } @else {
740
+ $negative-spacers: null !default;
741
+ }
859
742
  // scss-docs-end spacer-variables-maps
860
743
 
861
744
  // Position
@@ -886,6 +769,8 @@ $body-tertiary-bg: $gray-100 !default;
886
769
 
887
770
  $body-emphasis-color: $black !default;
888
771
 
772
+ $color-contrast-dark: $body-color !default; // should be same as $body-color but not a CSS var
773
+
889
774
  // Paragraphs
890
775
  //
891
776
  // Style p element.
@@ -960,9 +845,10 @@ $border-color: var(--df-color-inert-neutral-main-border) !default;
960
845
  // scss-docs-end border-variables
961
846
 
962
847
  // scss-docs-start border-radius-variables
963
- $border-radius: 0.175rem !default;
964
- $border-radius-sm: $border-radius * map.get($df-size-ratios, 'sm') !default;
965
- $border-radius-lg: $border-radius * map.get($df-size-ratios, 'lg') !default;
848
+ $border-radius: var(--df-borderRadius-main-medium) !default;
849
+ $border-radius-sm: var(--df-borderRadius-main-small) !default;
850
+ $border-radius-lg: var(--df-borderRadius-main-large) !default;
851
+ $border-radius-pill: var(--df-borderRadius-main-rounded) !default;
966
852
  // $border-radius-xl: 1rem !default;
967
853
  // $border-radius-xxl: 2rem !default;
968
854
  // $border-radius-pill: 50rem !default;
@@ -1018,7 +904,7 @@ $focus-ring-box-shadow: 0 0 var(--df-box-shadow-blur, $focus-ring-blur) var(--df
1018
904
  // stylelint-enable function-disallowed-list
1019
905
 
1020
906
  // scss-docs-start vr-variables
1021
- // $vr-border-width: var(--#{$prefix}border-width) !default;
907
+ // $vr-border-width: var(--df-border-width) !default;
1022
908
  // scss-docs-end vr-variables
1023
909
 
1024
910
  // $legend-margin-bottom: .5rem !default;
@@ -1035,8 +921,6 @@ $focus-ring-box-shadow: 0 0 var(--df-box-shadow-blur, $focus-ring-blur) var(--df
1035
921
  // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
1036
922
 
1037
923
  // scss-docs-start input-btn-variables
1038
- $input-btn-padding-y: 0.3125rem !default;
1039
- $input-btn-padding-x: 1rem !default;
1040
924
  // $input-btn-font-family: null !default;
1041
925
  // $input-btn-font-size: $font-size-base !default;
1042
926
  // $input-btn-line-height: $line-height-base !default;
@@ -1045,17 +929,11 @@ $input-btn-padding-x: 1rem !default;
1045
929
  // $input-btn-focus-color-opacity: $focus-ring-opacity !default;
1046
930
  // $input-btn-focus-color: $focus-ring-color !default;
1047
931
  // $input-btn-focus-blur: $focus-ring-blur !default;
1048
- $input-btn-focus-box-shadow: $focus-ring-box-shadow !default;
1049
-
1050
- $input-btn-padding-y-sm: $input-btn-padding-y * map.get($df-sizing-ratios, 'sm') !default;
1051
- $input-btn-padding-x-sm: $input-btn-padding-x * map.get($df-sizing-ratios, 'sm') !default;
1052
932
  // $input-btn-font-size-sm: $font-size-sm !default;
1053
933
 
1054
- $input-btn-padding-y-lg: $input-btn-padding-y * map.get($df-sizing-ratios, 'lg') !default;
1055
- $input-btn-padding-x-lg: $input-btn-padding-x * map.get($df-sizing-ratios, 'lg') !default;
1056
934
  // $input-btn-font-size-lg: $font-size-lg !default;
1057
935
 
1058
- // $input-btn-border-width: var(--#{$prefix}border-width) !default;
936
+ // $input-btn-border-width: var(--df-border-width) !default;
1059
937
  // scss-docs-end input-btn-variables
1060
938
 
1061
939
  // Z-index master list
@@ -1107,12 +985,14 @@ $btn-close-opacity: 0.55 !default;
1107
985
 
1108
986
  // $code-font-size: $small-font-size !default;
1109
987
  $code-color: var(--df-color-chromatic2-alt-default-foreground) !default;
988
+ // have to override code-color-dark even though it is not used, as sass compilation fails otherwise
989
+ $code-color-dark: tint-color($pink, 40%) !default;
1110
990
 
1111
991
  // $kbd-padding-y: .2rem !default;
1112
992
  // $kbd-padding-x: .4rem !default;
1113
993
  // $kbd-font-size: $code-font-size !default;
1114
- // $kbd-color: var(--#{$prefix}body-bg) !default;
1115
- // $kbd-bg: var(--#{$prefix}body-color) !default;
994
+ // $kbd-color: var(--df-body-bg) !default;
995
+ // $kbd-bg: var(--df-body-color) !default;
1116
996
  // $nested-kbd-font-weight: null !default; // Deprecated in v5.2.0, removing in v6
1117
997
 
1118
998
  // $pre-color: null !default;