@carbon/themes 10.21.0 → 10.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/sass.md CHANGED
@@ -52,7 +52,8 @@
52
52
  - [✅inverse-support-03 [variable]](#inverse-support-03-variable)
53
53
  - [✅inverse-support-04 [variable]](#inverse-support-04-variable)
54
54
  - [✅overlay-01 [variable]](#overlay-01-variable)
55
- - [✅danger [variable]](#danger-variable)
55
+ - [✅danger-01 [variable]](#danger-01-variable)
56
+ - [✅danger-02 [variable]](#danger-02-variable)
56
57
  - [✅focus [variable]](#focus-variable)
57
58
  - [✅inverse-focus-ui [variable]](#inverse-focus-ui-variable)
58
59
  - [✅hover-primary [variable]](#hover-primary-variable)
@@ -63,10 +64,12 @@
63
64
  - [✅hover-tertiary [variable]](#hover-tertiary-variable)
64
65
  - [✅active-tertiary [variable]](#active-tertiary-variable)
65
66
  - [✅hover-ui [variable]](#hover-ui-variable)
67
+ - [✅hover-light-ui [variable]](#hover-light-ui-variable)
68
+ - [✅hover-selected-ui [variable]](#hover-selected-ui-variable)
66
69
  - [✅active-ui [variable]](#active-ui-variable)
70
+ - [✅active-light-ui [variable]](#active-light-ui-variable)
67
71
  - [✅selected-ui [variable]](#selected-ui-variable)
68
72
  - [✅selected-light-ui [variable]](#selected-light-ui-variable)
69
- - [✅hover-selected-ui [variable]](#hover-selected-ui-variable)
70
73
  - [✅inverse-hover-ui [variable]](#inverse-hover-ui-variable)
71
74
  - [✅hover-danger [variable]](#hover-danger-variable)
72
75
  - [✅active-danger [variable]](#active-danger-variable)
@@ -77,7 +80,6 @@
77
80
  - [✅disabled-03 [variable]](#disabled-03-variable)
78
81
  - [✅highlight [variable]](#highlight-variable)
79
82
  - [✅decorative-01 [variable]](#decorative-01-variable)
80
- - [✅hover-light-ui [variable]](#hover-light-ui-variable)
81
83
  - [✅button-separator [variable]](#button-separator-variable)
82
84
  - [✅skeleton-01 [variable]](#skeleton-01-variable)
83
85
  - [✅skeleton-02 [variable]](#skeleton-02-variable)
@@ -86,6 +88,7 @@
86
88
  - [✅⚠️brand-03 [variable]](#brand-03-variable)
87
89
  - [✅⚠️active-01 [variable]](#active-01-variable)
88
90
  - [✅⚠️hover-field [variable]](#hover-field-variable)
91
+ - [✅danger [variable]](#danger-variable)
89
92
  - [✅caption-01 [variable]](#caption-01-variable)
90
93
  - [✅label-01 [variable]](#label-01-variable)
91
94
  - [✅helper-text-01 [variable]](#helper-text-01-variable)
@@ -259,7 +262,8 @@ Define theme variables from a map of tokens
259
262
  $inverse-support-03: map-get($theme, 'inverse-support-03') !global;
260
263
  $inverse-support-04: map-get($theme, 'inverse-support-04') !global;
261
264
  $overlay-01: map-get($theme, 'overlay-01') !global;
262
- $danger: map-get($theme, 'danger') !global;
265
+ $danger-01: map-get($theme, 'danger-01') !global;
266
+ $danger-02: map-get($theme, 'danger-02') !global;
263
267
  $focus: map-get($theme, 'focus') !global;
264
268
  $inverse-focus-ui: map-get($theme, 'inverse-focus-ui') !global;
265
269
  $hover-primary: map-get($theme, 'hover-primary') !global;
@@ -270,10 +274,12 @@ Define theme variables from a map of tokens
270
274
  $hover-tertiary: map-get($theme, 'hover-tertiary') !global;
271
275
  $active-tertiary: map-get($theme, 'active-tertiary') !global;
272
276
  $hover-ui: map-get($theme, 'hover-ui') !global;
277
+ $hover-light-ui: map-get($theme, 'hover-light-ui') !global;
278
+ $hover-selected-ui: map-get($theme, 'hover-selected-ui') !global;
273
279
  $active-ui: map-get($theme, 'active-ui') !global;
280
+ $active-light-ui: map-get($theme, 'active-light-ui') !global;
274
281
  $selected-ui: map-get($theme, 'selected-ui') !global;
275
282
  $selected-light-ui: map-get($theme, 'selected-light-ui') !global;
276
- $hover-selected-ui: map-get($theme, 'hover-selected-ui') !global;
277
283
  $inverse-hover-ui: map-get($theme, 'inverse-hover-ui') !global;
278
284
  $hover-danger: map-get($theme, 'hover-danger') !global;
279
285
  $active-danger: map-get($theme, 'active-danger') !global;
@@ -284,7 +290,6 @@ Define theme variables from a map of tokens
284
290
  $disabled-03: map-get($theme, 'disabled-03') !global;
285
291
  $highlight: map-get($theme, 'highlight') !global;
286
292
  $decorative-01: map-get($theme, 'decorative-01') !global;
287
- $hover-light-ui: map-get($theme, 'hover-light-ui') !global;
288
293
  $button-separator: map-get($theme, 'button-separator') !global;
289
294
  $skeleton-01: map-get($theme, 'skeleton-01') !global;
290
295
  $skeleton-02: map-get($theme, 'skeleton-02') !global;
@@ -293,6 +298,7 @@ Define theme variables from a map of tokens
293
298
  $brand-03: map-get($theme, 'brand-03') !global;
294
299
  $active-01: map-get($theme, 'active-01') !global;
295
300
  $hover-field: map-get($theme, 'hover-field') !global;
301
+ $danger: map-get($theme, 'danger') !global;
296
302
  $caption-01: map-get($theme, 'caption-01') !global;
297
303
  $label-01: map-get($theme, 'label-01') !global;
298
304
  $helper-text-01: map-get($theme, 'helper-text-01') !global;
@@ -494,9 +500,13 @@ Define theme variables from a map of tokens
494
500
  --#{$custom-property-prefix}-overlay-01,
495
501
  map-get($theme, 'overlay-01')
496
502
  ) !global;
497
- $danger: var(
498
- --#{$custom-property-prefix}-danger,
499
- map-get($theme, 'danger')
503
+ $danger-01: var(
504
+ --#{$custom-property-prefix}-danger-01,
505
+ map-get($theme, 'danger-01')
506
+ ) !global;
507
+ $danger-02: var(
508
+ --#{$custom-property-prefix}-danger-02,
509
+ map-get($theme, 'danger-02')
500
510
  ) !global;
501
511
  $focus: var(
502
512
  --#{$custom-property-prefix}-focus,
@@ -538,10 +548,22 @@ Define theme variables from a map of tokens
538
548
  --#{$custom-property-prefix}-hover-ui,
539
549
  map-get($theme, 'hover-ui')
540
550
  ) !global;
551
+ $hover-light-ui: var(
552
+ --#{$custom-property-prefix}-hover-light-ui,
553
+ map-get($theme, 'hover-light-ui')
554
+ ) !global;
555
+ $hover-selected-ui: var(
556
+ --#{$custom-property-prefix}-hover-selected-ui,
557
+ map-get($theme, 'hover-selected-ui')
558
+ ) !global;
541
559
  $active-ui: var(
542
560
  --#{$custom-property-prefix}-active-ui,
543
561
  map-get($theme, 'active-ui')
544
562
  ) !global;
563
+ $active-light-ui: var(
564
+ --#{$custom-property-prefix}-active-light-ui,
565
+ map-get($theme, 'active-light-ui')
566
+ ) !global;
545
567
  $selected-ui: var(
546
568
  --#{$custom-property-prefix}-selected-ui,
547
569
  map-get($theme, 'selected-ui')
@@ -550,10 +572,6 @@ Define theme variables from a map of tokens
550
572
  --#{$custom-property-prefix}-selected-light-ui,
551
573
  map-get($theme, 'selected-light-ui')
552
574
  ) !global;
553
- $hover-selected-ui: var(
554
- --#{$custom-property-prefix}-hover-selected-ui,
555
- map-get($theme, 'hover-selected-ui')
556
- ) !global;
557
575
  $inverse-hover-ui: var(
558
576
  --#{$custom-property-prefix}-inverse-hover-ui,
559
577
  map-get($theme, 'inverse-hover-ui')
@@ -594,10 +612,6 @@ Define theme variables from a map of tokens
594
612
  --#{$custom-property-prefix}-decorative-01,
595
613
  map-get($theme, 'decorative-01')
596
614
  ) !global;
597
- $hover-light-ui: var(
598
- --#{$custom-property-prefix}-hover-light-ui,
599
- map-get($theme, 'hover-light-ui')
600
- ) !global;
601
615
  $button-separator: var(
602
616
  --#{$custom-property-prefix}-button-separator,
603
617
  map-get($theme, 'button-separator')
@@ -630,6 +644,10 @@ Define theme variables from a map of tokens
630
644
  --#{$custom-property-prefix}-hover-field,
631
645
  map-get($theme, 'hover-field')
632
646
  ) !global;
647
+ $danger: var(
648
+ --#{$custom-property-prefix}-danger,
649
+ map-get($theme, 'danger')
650
+ ) !global;
633
651
  $spacing-01: var(
634
652
  --#{$custom-property-prefix}-spacing-01,
635
653
  map-get($theme, 'spacing-01')
@@ -1025,8 +1043,14 @@ Define theme variables from a map of tokens
1025
1043
  @include custom-property('overlay-01', map-get($theme, 'overlay-01'));
1026
1044
  }
1027
1045
 
1028
- @if should-emit($theme, $parent-carbon-theme, 'danger', $emit-difference) {
1029
- @include custom-property('danger', map-get($theme, 'danger'));
1046
+ @if should-emit($theme, $parent-carbon-theme, 'danger-01', $emit-difference)
1047
+ {
1048
+ @include custom-property('danger-01', map-get($theme, 'danger-01'));
1049
+ }
1050
+
1051
+ @if should-emit($theme, $parent-carbon-theme, 'danger-02', $emit-difference)
1052
+ {
1053
+ @include custom-property('danger-02', map-get($theme, 'danger-02'));
1030
1054
  }
1031
1055
 
1032
1056
  @if should-emit($theme, $parent-carbon-theme, 'focus', $emit-difference) {
@@ -1142,44 +1166,70 @@ Define theme variables from a map of tokens
1142
1166
  @include custom-property('hover-ui', map-get($theme, 'hover-ui'));
1143
1167
  }
1144
1168
 
1145
- @if should-emit($theme, $parent-carbon-theme, 'active-ui', $emit-difference)
1169
+ @if should-emit(
1170
+ $theme,
1171
+ $parent-carbon-theme,
1172
+ 'hover-light-ui',
1173
+ $emit-difference
1174
+ )
1146
1175
  {
1147
- @include custom-property('active-ui', map-get($theme, 'active-ui'));
1176
+ @include custom-property(
1177
+ 'hover-light-ui',
1178
+ map-get($theme, 'hover-light-ui')
1179
+ );
1148
1180
  }
1149
1181
 
1150
1182
  @if should-emit(
1151
1183
  $theme,
1152
1184
  $parent-carbon-theme,
1153
- 'selected-ui',
1185
+ 'hover-selected-ui',
1154
1186
  $emit-difference
1155
1187
  )
1156
1188
  {
1157
- @include custom-property('selected-ui', map-get($theme, 'selected-ui'));
1189
+ @include custom-property(
1190
+ 'hover-selected-ui',
1191
+ map-get($theme, 'hover-selected-ui')
1192
+ );
1193
+ }
1194
+
1195
+ @if should-emit($theme, $parent-carbon-theme, 'active-ui', $emit-difference)
1196
+ {
1197
+ @include custom-property('active-ui', map-get($theme, 'active-ui'));
1158
1198
  }
1159
1199
 
1160
1200
  @if should-emit(
1161
1201
  $theme,
1162
1202
  $parent-carbon-theme,
1163
- 'selected-light-ui',
1203
+ 'active-light-ui',
1164
1204
  $emit-difference
1165
1205
  )
1166
1206
  {
1167
1207
  @include custom-property(
1168
- 'selected-light-ui',
1169
- map-get($theme, 'selected-light-ui')
1208
+ 'active-light-ui',
1209
+ map-get($theme, 'active-light-ui')
1170
1210
  );
1171
1211
  }
1172
1212
 
1173
1213
  @if should-emit(
1174
1214
  $theme,
1175
1215
  $parent-carbon-theme,
1176
- 'hover-selected-ui',
1216
+ 'selected-ui',
1217
+ $emit-difference
1218
+ )
1219
+ {
1220
+ @include custom-property('selected-ui', map-get($theme, 'selected-ui'));
1221
+ }
1222
+
1223
+ @if should-emit(
1224
+ $theme,
1225
+ $parent-carbon-theme,
1226
+ 'selected-light-ui',
1177
1227
  $emit-difference
1178
1228
  )
1179
1229
  {
1180
1230
  @include custom-property(
1181
- 'hover-selected-ui',
1182
- map-get($theme, 'hover-selected-ui')
1231
+ 'selected-light-ui',
1232
+ map-get($theme, 'selected-light-ui')
1183
1233
  );
1184
1234
  }
1185
1235
 
@@ -1282,19 +1332,6 @@ Define theme variables from a map of tokens
1282
1332
  );
1283
1333
  }
1284
1334
 
1285
- @if should-emit(
1286
- $theme,
1287
- $parent-carbon-theme,
1288
- 'hover-light-ui',
1289
- $emit-difference
1290
- )
1291
- {
1292
- @include custom-property(
1293
- 'hover-light-ui',
1294
- map-get($theme, 'hover-light-ui')
1295
- );
1296
- }
1297
-
1298
1335
  @if should-emit(
1299
1336
  $theme,
1300
1337
  $parent-carbon-theme,
@@ -1358,6 +1395,10 @@ Define theme variables from a map of tokens
1358
1395
  @include custom-property('hover-field', map-get($theme, 'hover-field'));
1359
1396
  }
1360
1397
 
1398
+ @if should-emit($theme, $parent-carbon-theme, 'danger', $emit-difference) {
1399
+ @include custom-property('danger', map-get($theme, 'danger'));
1400
+ }
1401
+
1361
1402
  @if should-emit(
1362
1403
  $theme,
1363
1404
  $parent-carbon-theme,
@@ -2065,7 +2106,8 @@ Define theme variables from a map of tokens
2065
2106
  - [inverse-support-03 [variable]](#inverse-support-03-variable)
2066
2107
  - [inverse-support-04 [variable]](#inverse-support-04-variable)
2067
2108
  - [overlay-01 [variable]](#overlay-01-variable)
2068
- - [danger [variable]](#danger-variable)
2109
+ - [danger-01 [variable]](#danger-01-variable)
2110
+ - [danger-02 [variable]](#danger-02-variable)
2069
2111
  - [focus [variable]](#focus-variable)
2070
2112
  - [inverse-focus-ui [variable]](#inverse-focus-ui-variable)
2071
2113
  - [hover-primary [variable]](#hover-primary-variable)
@@ -2076,10 +2118,12 @@ Define theme variables from a map of tokens
2076
2118
  - [hover-tertiary [variable]](#hover-tertiary-variable)
2077
2119
  - [active-tertiary [variable]](#active-tertiary-variable)
2078
2120
  - [hover-ui [variable]](#hover-ui-variable)
2121
+ - [hover-light-ui [variable]](#hover-light-ui-variable)
2122
+ - [hover-selected-ui [variable]](#hover-selected-ui-variable)
2079
2123
  - [active-ui [variable]](#active-ui-variable)
2124
+ - [active-light-ui [variable]](#active-light-ui-variable)
2080
2125
  - [selected-ui [variable]](#selected-ui-variable)
2081
2126
  - [selected-light-ui [variable]](#selected-light-ui-variable)
2082
- - [hover-selected-ui [variable]](#hover-selected-ui-variable)
2083
2127
  - [inverse-hover-ui [variable]](#inverse-hover-ui-variable)
2084
2128
  - [hover-danger [variable]](#hover-danger-variable)
2085
2129
  - [active-danger [variable]](#active-danger-variable)
@@ -2090,7 +2134,6 @@ Define theme variables from a map of tokens
2090
2134
  - [disabled-03 [variable]](#disabled-03-variable)
2091
2135
  - [highlight [variable]](#highlight-variable)
2092
2136
  - [decorative-01 [variable]](#decorative-01-variable)
2093
- - [hover-light-ui [variable]](#hover-light-ui-variable)
2094
2137
  - [button-separator [variable]](#button-separator-variable)
2095
2138
  - [skeleton-01 [variable]](#skeleton-01-variable)
2096
2139
  - [skeleton-02 [variable]](#skeleton-02-variable)
@@ -2099,6 +2142,7 @@ Define theme variables from a map of tokens
2099
2142
  - [brand-03 [variable]](#brand-03-variable)
2100
2143
  - [active-01 [variable]](#active-01-variable)
2101
2144
  - [hover-field [variable]](#hover-field-variable)
2145
+ - [danger [variable]](#danger-variable)
2102
2146
  - [caption-01 [variable]](#caption-01-variable)
2103
2147
  - [label-01 [variable]](#label-01-variable)
2104
2148
  - [helper-text-01 [variable]](#helper-text-01-variable)
@@ -2228,6 +2272,7 @@ $carbon--theme--g90: map-merge(
2228
2272
  inverse-support-02: #24a148,
2229
2273
  inverse-support-04: #0f62fe,
2230
2274
  overlay-01: rgba(22, 22, 22, 0.7),
2275
+ danger-02: #ff8389,
2231
2276
  focus: #ffffff,
2232
2277
  inverse-focus-ui: #0f62fe,
2233
2278
  hover-primary-text: #a6c8ff,
@@ -2236,7 +2281,9 @@ $carbon--theme--g90: map-merge(
2236
2281
  hover-tertiary: #f4f4f4,
2237
2282
  active-tertiary: #c6c6c6,
2238
2283
  hover-ui: #4c4c4c,
2284
+ hover-light-ui: #656565,
2239
2285
  active-ui: #6f6f6f,
2286
+ active-light-ui: #8d8d8d,
2240
2287
  selected-ui: #525252,
2241
2288
  selected-light-ui: #6f6f6f,
2242
2289
  inverse-hover-ui: #e5e5e5,
@@ -2248,7 +2295,6 @@ $carbon--theme--g90: map-merge(
2248
2295
  disabled-03: #a8a8a8,
2249
2296
  highlight: #0043ce,
2250
2297
  decorative-01: #6f6f6f,
2251
- hover-light-ui: #6f6f6f,
2252
2298
  button-separator: #161616,
2253
2299
  skeleton-01: #353535,
2254
2300
  skeleton-02: #525252,
@@ -2305,6 +2351,7 @@ $carbon--theme--g100: map-merge(
2305
2351
  inverse-support-02: #24a148,
2306
2352
  inverse-support-04: #0f62fe,
2307
2353
  overlay-01: rgba(22, 22, 22, 0.7),
2354
+ danger-02: #fa4d56,
2308
2355
  focus: #ffffff,
2309
2356
  inverse-focus-ui: #0f62fe,
2310
2357
  hover-primary-text: #a6c8ff,
@@ -2313,7 +2360,9 @@ $carbon--theme--g100: map-merge(
2313
2360
  hover-tertiary: #f4f4f4,
2314
2361
  active-tertiary: #c6c6c6,
2315
2362
  hover-ui: #353535,
2363
+ hover-light-ui: #4c4c4c,
2316
2364
  active-ui: #525252,
2365
+ active-light-ui: #6f6f6f,
2317
2366
  selected-ui: #393939,
2318
2367
  selected-light-ui: #525252,
2319
2368
  inverse-hover-ui: #e5e5e5,
@@ -2324,7 +2373,6 @@ $carbon--theme--g100: map-merge(
2324
2373
  disabled-02: #525252,
2325
2374
  highlight: #002d9c,
2326
2375
  decorative-01: #525252,
2327
- hover-light-ui: #525252,
2328
2376
  button-separator: #161616,
2329
2377
  skeleton-01: #353535,
2330
2378
  skeleton-02: #393939,
@@ -2393,7 +2441,9 @@ $carbon--theme--v9: map-merge(
2393
2441
  hover-tertiary: #5a6872,
2394
2442
  active-tertiary: #414f59,
2395
2443
  hover-ui: #eef4fc,
2444
+ hover-light-ui: #eef4fc,
2396
2445
  active-ui: #dfeafa,
2446
+ active-light-ui: #dfeafa,
2397
2447
  selected-ui: #eef4fc,
2398
2448
  selected-light-ui: #eef4fc,
2399
2449
  hover-selected-ui: #dfeafa,
@@ -2406,7 +2456,6 @@ $carbon--theme--v9: map-merge(
2406
2456
  disabled-03: #cdd1d4,
2407
2457
  highlight: #f4f7fb,
2408
2458
  decorative-01: #eef4fc,
2409
- hover-light-ui: #eef4fc,
2410
2459
  skeleton-01: rgba(61, 112, 178, 0.1),
2411
2460
  skeleton-02: rgba(61, 112, 178, 0.1),
2412
2461
  brand-01: #3d70b2,
@@ -2466,7 +2515,8 @@ $carbon--theme: (
2466
2515
  inverse-support-03: if(global-variable-exists('inverse-support-03'), $inverse-support-03, map-get($carbon--theme--white, 'inverse-support-03')),
2467
2516
  inverse-support-04: if(global-variable-exists('inverse-support-04'), $inverse-support-04, map-get($carbon--theme--white, 'inverse-support-04')),
2468
2517
  overlay-01: if(global-variable-exists('overlay-01'), $overlay-01, map-get($carbon--theme--white, 'overlay-01')),
2469
- danger: if(global-variable-exists('danger'), $danger, map-get($carbon--theme--white, 'danger')),
2518
+ danger-01: if(global-variable-exists('danger-01'), $danger-01, map-get($carbon--theme--white, 'danger-01')),
2519
+ danger-02: if(global-variable-exists('danger-02'), $danger-02, map-get($carbon--theme--white, 'danger-02')),
2470
2520
  focus: if(global-variable-exists('focus'), $focus, map-get($carbon--theme--white, 'focus')),
2471
2521
  inverse-focus-ui: if(global-variable-exists('inverse-focus-ui'), $inverse-focus-ui, map-get($carbon--theme--white, 'inverse-focus-ui')),
2472
2522
  hover-primary: if(global-variable-exists('hover-primary'), $hover-primary, map-get($carbon--theme--white, 'hover-primary')),
@@ -2477,10 +2527,12 @@ $carbon--theme: (
2477
2527
  hover-tertiary: if(global-variable-exists('hover-tertiary'), $hover-tertiary, map-get($carbon--theme--white, 'hover-tertiary')),
2478
2528
  active-tertiary: if(global-variable-exists('active-tertiary'), $active-tertiary, map-get($carbon--theme--white, 'active-tertiary')),
2479
2529
  hover-ui: if(global-variable-exists('hover-ui'), $hover-ui, map-get($carbon--theme--white, 'hover-ui')),
2530
+ hover-light-ui: if(global-variable-exists('hover-light-ui'), $hover-light-ui, map-get($carbon--theme--white, 'hover-light-ui')),
2531
+ hover-selected-ui: if(global-variable-exists('hover-selected-ui'), $hover-selected-ui, map-get($carbon--theme--white, 'hover-selected-ui')),
2480
2532
  active-ui: if(global-variable-exists('active-ui'), $active-ui, map-get($carbon--theme--white, 'active-ui')),
2533
+ active-light-ui: if(global-variable-exists('active-light-ui'), $active-light-ui, map-get($carbon--theme--white, 'active-light-ui')),
2481
2534
  selected-ui: if(global-variable-exists('selected-ui'), $selected-ui, map-get($carbon--theme--white, 'selected-ui')),
2482
2535
  selected-light-ui: if(global-variable-exists('selected-light-ui'), $selected-light-ui, map-get($carbon--theme--white, 'selected-light-ui')),
2483
- hover-selected-ui: if(global-variable-exists('hover-selected-ui'), $hover-selected-ui, map-get($carbon--theme--white, 'hover-selected-ui')),
2484
2536
  inverse-hover-ui: if(global-variable-exists('inverse-hover-ui'), $inverse-hover-ui, map-get($carbon--theme--white, 'inverse-hover-ui')),
2485
2537
  hover-danger: if(global-variable-exists('hover-danger'), $hover-danger, map-get($carbon--theme--white, 'hover-danger')),
2486
2538
  active-danger: if(global-variable-exists('active-danger'), $active-danger, map-get($carbon--theme--white, 'active-danger')),
@@ -2491,7 +2543,6 @@ $carbon--theme: (
2491
2543
  disabled-03: if(global-variable-exists('disabled-03'), $disabled-03, map-get($carbon--theme--white, 'disabled-03')),
2492
2544
  highlight: if(global-variable-exists('highlight'), $highlight, map-get($carbon--theme--white, 'highlight')),
2493
2545
  decorative-01: if(global-variable-exists('decorative-01'), $decorative-01, map-get($carbon--theme--white, 'decorative-01')),
2494
- hover-light-ui: if(global-variable-exists('hover-light-ui'), $hover-light-ui, map-get($carbon--theme--white, 'hover-light-ui')),
2495
2546
  button-separator: if(global-variable-exists('button-separator'), $button-separator, map-get($carbon--theme--white, 'button-separator')),
2496
2547
  skeleton-01: if(global-variable-exists('skeleton-01'), $skeleton-01, map-get($carbon--theme--white, 'skeleton-01')),
2497
2548
  skeleton-02: if(global-variable-exists('skeleton-02'), $skeleton-02, map-get($carbon--theme--white, 'skeleton-02')),
@@ -2500,6 +2551,7 @@ $carbon--theme: (
2500
2551
  brand-03: if(global-variable-exists('brand-03'), $brand-03, map-get($carbon--theme--white, 'brand-03')),
2501
2552
  active-01: if(global-variable-exists('active-01'), $active-01, map-get($carbon--theme--white, 'active-01')),
2502
2553
  hover-field: if(global-variable-exists('hover-field'), $hover-field, map-get($carbon--theme--white, 'hover-field')),
2554
+ danger: if(global-variable-exists('danger'), $danger, map-get($carbon--theme--white, 'danger')),
2503
2555
  caption-01: if(global-variable-exists('caption-01'), $caption-01, map-get($carbon--theme--white, 'caption-01')),
2504
2556
  label-01: if(global-variable-exists('label-01'), $label-01, map-get($carbon--theme--white, 'label-01')),
2505
2557
  helper-text-01: if(global-variable-exists('helper-text-01'), $helper-text-01, map-get($carbon--theme--white, 'helper-text-01')),
@@ -3421,18 +3473,41 @@ $overlay-01: if(
3421
3473
  - **Used by**:
3422
3474
  - [carbon--theme [mixin]](#carbon--theme-mixin)
3423
3475
 
3424
- ### ✅danger [variable]
3476
+ ### ✅danger-01 [variable]
3425
3477
 
3426
3478
  <details>
3427
3479
  <summary>Source code</summary>
3428
3480
 
3429
3481
  ```scss
3430
- $danger: if(
3482
+ $danger-01: if(
3431
3483
  global-variable-exists('carbon--theme') and map-has-key(
3432
3484
  $carbon--theme,
3433
- 'danger'
3485
+ 'danger-01'
3434
3486
  ),
3435
- map-get($carbon--theme, 'danger'),
3487
+ map-get($carbon--theme, 'danger-01'),
3488
+ #da1e28
3489
+ );
3490
+ ```
3491
+
3492
+ </details>
3493
+
3494
+ - **Group**: [@carbon/themes](#carbonthemes)
3495
+ - **Type**: `{undefined}`
3496
+ - **Used by**:
3497
+ - [carbon--theme [mixin]](#carbon--theme-mixin)
3498
+
3499
+ ### ✅danger-02 [variable]
3500
+
3501
+ <details>
3502
+ <summary>Source code</summary>
3503
+
3504
+ ```scss
3505
+ $danger-02: if(
3506
+ global-variable-exists('carbon--theme') and map-has-key(
3507
+ $carbon--theme,
3508
+ 'danger-02'
3509
+ ),
3510
+ map-get($carbon--theme, 'danger-02'),
3436
3511
  #da1e28
3437
3512
  );
3438
3513
  ```
@@ -3694,6 +3769,54 @@ $hover-ui: if(
3694
3769
  - **Used by**:
3695
3770
  - [carbon--theme [mixin]](#carbon--theme-mixin)
3696
3771
 
3772
+ ### ✅hover-light-ui [variable]
3773
+
3774
+ <details>
3775
+ <summary>Source code</summary>
3776
+
3777
+ ```scss
3778
+ $hover-light-ui: if(
3779
+ global-variable-exists('carbon--theme') and map-has-key(
3780
+ $carbon--theme,
3781
+ 'hover-light-ui'
3782
+ ),
3783
+ map-get($carbon--theme, 'hover-light-ui'),
3784
+ #e5e5e5
3785
+ );
3786
+ ```
3787
+
3788
+ </details>
3789
+
3790
+ - **Group**: [@carbon/themes](#carbonthemes)
3791
+ - **Type**: `{undefined}`
3792
+ - **Used by**:
3793
+ - [carbon--theme [mixin]](#carbon--theme-mixin)
3794
+
3795
+ ### ✅hover-selected-ui [variable]
3796
+
3797
+ Data table selected row hover
3798
+
3799
+ <details>
3800
+ <summary>Source code</summary>
3801
+
3802
+ ```scss
3803
+ $hover-selected-ui: if(
3804
+ global-variable-exists('carbon--theme') and map-has-key(
3805
+ $carbon--theme,
3806
+ 'hover-selected-ui'
3807
+ ),
3808
+ map-get($carbon--theme, 'hover-selected-ui'),
3809
+ #cacaca
3810
+ );
3811
+ ```
3812
+
3813
+ </details>
3814
+
3815
+ - **Group**: [@carbon/themes](#carbonthemes)
3816
+ - **Type**: `{undefined}`
3817
+ - **Used by**:
3818
+ - [carbon--theme [mixin]](#carbon--theme-mixin)
3819
+
3697
3820
  ### ✅active-ui [variable]
3698
3821
 
3699
3822
  `$ui-01` active; `$ui-02` active
@@ -3721,21 +3844,19 @@ $active-ui: if(
3721
3844
  - **Used by**:
3722
3845
  - [carbon--theme [mixin]](#carbon--theme-mixin)
3723
3846
 
3724
- ### ✅selected-ui [variable]
3725
-
3726
- Selected UI elements
3847
+ ### ✅active-light-ui [variable]
3727
3848
 
3728
3849
  <details>
3729
3850
  <summary>Source code</summary>
3730
3851
 
3731
3852
  ```scss
3732
- $selected-ui: if(
3853
+ $active-light-ui: if(
3733
3854
  global-variable-exists('carbon--theme') and map-has-key(
3734
3855
  $carbon--theme,
3735
- 'selected-ui'
3856
+ 'active-light-ui'
3736
3857
  ),
3737
- map-get($carbon--theme, 'selected-ui'),
3738
- #e0e0e0
3858
+ map-get($carbon--theme, 'active-light-ui'),
3859
+ #c6c6c6
3739
3860
  );
3740
3861
  ```
3741
3862
 
@@ -3746,18 +3867,20 @@ $selected-ui: if(
3746
3867
  - **Used by**:
3747
3868
  - [carbon--theme [mixin]](#carbon--theme-mixin)
3748
3869
 
3749
- ### ✅selected-light-ui [variable]
3870
+ ### ✅selected-ui [variable]
3871
+
3872
+ Selected UI elements
3750
3873
 
3751
3874
  <details>
3752
3875
  <summary>Source code</summary>
3753
3876
 
3754
3877
  ```scss
3755
- $selected-light-ui: if(
3878
+ $selected-ui: if(
3756
3879
  global-variable-exists('carbon--theme') and map-has-key(
3757
3880
  $carbon--theme,
3758
- 'selected-light-ui'
3881
+ 'selected-ui'
3759
3882
  ),
3760
- map-get($carbon--theme, 'selected-light-ui'),
3883
+ map-get($carbon--theme, 'selected-ui'),
3761
3884
  #e0e0e0
3762
3885
  );
3763
3886
  ```
@@ -3769,21 +3892,19 @@ $selected-light-ui: if(
3769
3892
  - **Used by**:
3770
3893
  - [carbon--theme [mixin]](#carbon--theme-mixin)
3771
3894
 
3772
- ### ✅hover-selected-ui [variable]
3773
-
3774
- Data table selected row hover
3895
+ ### ✅selected-light-ui [variable]
3775
3896
 
3776
3897
  <details>
3777
3898
  <summary>Source code</summary>
3778
3899
 
3779
3900
  ```scss
3780
- $hover-selected-ui: if(
3901
+ $selected-light-ui: if(
3781
3902
  global-variable-exists('carbon--theme') and map-has-key(
3782
3903
  $carbon--theme,
3783
- 'hover-selected-ui'
3904
+ 'selected-light-ui'
3784
3905
  ),
3785
- map-get($carbon--theme, 'hover-selected-ui'),
3786
- #cacaca
3906
+ map-get($carbon--theme, 'selected-light-ui'),
3907
+ #e0e0e0
3787
3908
  );
3788
3909
  ```
3789
3910
 
@@ -4036,29 +4157,6 @@ $decorative-01: if(
4036
4157
 
4037
4158
  </details>
4038
4159
 
4039
- - **Group**: [@carbon/themes](#carbonthemes)
4040
- - **Type**: `{undefined}`
4041
- - **Used by**:
4042
- - [carbon--theme [mixin]](#carbon--theme-mixin)
4043
-
4044
- ### ✅hover-light-ui [variable]
4045
-
4046
- <details>
4047
- <summary>Source code</summary>
4048
-
4049
- ```scss
4050
- $hover-light-ui: if(
4051
- global-variable-exists('carbon--theme') and map-has-key(
4052
- $carbon--theme,
4053
- 'hover-light-ui'
4054
- ),
4055
- map-get($carbon--theme, 'hover-light-ui'),
4056
- #e5e5e5
4057
- );
4058
- ```
4059
-
4060
- </details>
4061
-
4062
4160
  - **Group**: [@carbon/themes](#carbonthemes)
4063
4161
  - **Type**: `{undefined}`
4064
4162
  - **Used by**:
@@ -4262,6 +4360,29 @@ $hover-field: if(
4262
4360
  - [carbon--theme [mixin]](#carbon--theme-mixin)
4263
4361
  - **Deprecated**: This may not be available in future releases
4264
4362
 
4363
+ ### ✅danger [variable]
4364
+
4365
+ <details>
4366
+ <summary>Source code</summary>
4367
+
4368
+ ```scss
4369
+ $danger: if(
4370
+ global-variable-exists('carbon--theme') and map-has-key(
4371
+ $carbon--theme,
4372
+ 'danger'
4373
+ ),
4374
+ map-get($carbon--theme, 'danger'),
4375
+ #da1e28
4376
+ );
4377
+ ```
4378
+
4379
+ </details>
4380
+
4381
+ - **Group**: [@carbon/themes](#carbonthemes)
4382
+ - **Type**: `{undefined}`
4383
+ - **Used by**:
4384
+ - [carbon--theme [mixin]](#carbon--theme-mixin)
4385
+
4265
4386
  ### ✅caption-01 [variable]
4266
4387
 
4267
4388
  <details>