@carbon/themes 10.5.0 → 10.6.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
@@ -49,6 +49,7 @@
49
49
  - [✅inverse-support-04 [variable]](#inverse-support-04-variable)
50
50
  - [✅overlay-01 [variable]](#overlay-01-variable)
51
51
  - [✅focus [variable]](#focus-variable)
52
+ - [✅inverse-focus-ui [variable]](#inverse-focus-ui-variable)
52
53
  - [✅hover-primary [variable]](#hover-primary-variable)
53
54
  - [✅active-primary [variable]](#active-primary-variable)
54
55
  - [✅hover-primary-text [variable]](#hover-primary-text-variable)
@@ -123,6 +124,7 @@ Define theme variables from a map of tokens
123
124
  $inverse-support-04: map-get($theme, 'inverse-support-04') !global;
124
125
  $overlay-01: map-get($theme, 'overlay-01') !global;
125
126
  $focus: map-get($theme, 'focus') !global;
127
+ $inverse-focus-ui: map-get($theme, 'inverse-focus-ui') !global;
126
128
  $hover-primary: map-get($theme, 'hover-primary') !global;
127
129
  $active-primary: map-get($theme, 'active-primary') !global;
128
130
  $hover-primary-text: map-get($theme, 'hover-primary-text') !global;
@@ -185,6 +187,7 @@ Define theme variables from a map of tokens
185
187
  --inverse-support-04: #{map-get($theme, 'inverse-support-04')};
186
188
  --overlay-01: #{map-get($theme, 'overlay-01')};
187
189
  --focus: #{map-get($theme, 'focus')};
190
+ --inverse-focus-ui: #{map-get($theme, 'inverse-focus-ui')};
188
191
  --hover-primary: #{map-get($theme, 'hover-primary')};
189
192
  --active-primary: #{map-get($theme, 'active-primary')};
190
193
  --hover-primary-text: #{map-get($theme, 'hover-primary-text')};
@@ -292,6 +295,7 @@ Define theme variables from a map of tokens
292
295
  - [inverse-support-04 [variable]](#inverse-support-04-variable)
293
296
  - [overlay-01 [variable]](#overlay-01-variable)
294
297
  - [focus [variable]](#focus-variable)
298
+ - [inverse-focus-ui [variable]](#inverse-focus-ui-variable)
295
299
  - [hover-primary [variable]](#hover-primary-variable)
296
300
  - [active-primary [variable]](#active-primary-variable)
297
301
  - [hover-primary-text [variable]](#hover-primary-text-variable)
@@ -363,6 +367,7 @@ $carbon--theme--white: (
363
367
  inverse-support-04: #408bfc,
364
368
  overlay-01: rgba(23, 23, 23, 0.5),
365
369
  focus: #0062ff,
370
+ inverse-focus-ui: #ffffff,
366
371
  hover-primary: #0353e9,
367
372
  active-primary: #0530ad,
368
373
  hover-primary-text: #054ada,
@@ -442,6 +447,7 @@ $carbon--theme--g10: (
442
447
  inverse-support-04: #408bfc,
443
448
  overlay-01: rgba(23, 23, 23, 0.5),
444
449
  focus: #0062ff,
450
+ inverse-focus-ui: #ffffff,
445
451
  hover-primary: #0353e9,
446
452
  active-primary: #0530ad,
447
453
  hover-primary-text: #054ada,
@@ -519,6 +525,7 @@ $carbon--theme--g90: (
519
525
  inverse-support-04: #0062ff,
520
526
  overlay-01: rgba(23, 23, 23, 0.7),
521
527
  focus: #ffffff,
528
+ inverse-focus-ui: #0062ff,
522
529
  hover-primary: #0353e9,
523
530
  active-primary: #0530ad,
524
531
  hover-primary-text: #97c1ff,
@@ -596,6 +603,7 @@ $carbon--theme--g100: (
596
603
  inverse-support-04: #0062ff,
597
604
  overlay-01: rgba(23, 23, 23, 0.7),
598
605
  focus: #ffffff,
606
+ inverse-focus-ui: #0062ff,
599
607
  hover-primary: #0353e9,
600
608
  active-primary: #0530ad,
601
609
  hover-primary-text: #97c1ff,
@@ -673,6 +681,7 @@ $carbon--theme--v9: (
673
681
  inverse-support-04: #5aaafa,
674
682
  overlay-01: rgba(223, 227, 230, 0.5),
675
683
  focus: #3d70b2,
684
+ inverse-focus-ui: #3d70b2,
676
685
  hover-primary: #30588c,
677
686
  active-primary: #30588c,
678
687
  hover-primary-text: #294c86,
@@ -1320,6 +1329,22 @@ $focus: map-get($carbon--theme, 'focus');
1320
1329
 
1321
1330
  </details>
1322
1331
 
1332
+ - **Group**: [@carbon/themes](#carbonthemes)
1333
+ - **Type**: `Color`
1334
+ - **Used by**:
1335
+ - [carbon--theme [mixin]](#carbon--theme-mixin)
1336
+
1337
+ ### ✅inverse-focus-ui [variable]
1338
+
1339
+ <details>
1340
+ <summary>Source code</summary>
1341
+
1342
+ ```scss
1343
+ $inverse-focus-ui: map-get($carbon--theme, 'inverse-focus-ui');
1344
+ ```
1345
+
1346
+ </details>
1347
+
1323
1348
  - **Group**: [@carbon/themes](#carbonthemes)
1324
1349
  - **Type**: `Color`
1325
1350
  - **Used by**:
package/es/index.js CHANGED
@@ -40,6 +40,7 @@ var inverseSupport04 = blue50;
40
40
  var overlay01 = rgba(gray100, 0.5); // Interaction states
41
41
 
42
42
  var focus = blue60;
43
+ var inverseFocusUi = white;
43
44
  var hoverPrimary = '#0353e9';
44
45
  var activePrimary = blue80;
45
46
  var hoverPrimaryText = blue70;
@@ -103,6 +104,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
103
104
  inverseSupport04: inverseSupport04,
104
105
  overlay01: overlay01,
105
106
  focus: focus,
107
+ inverseFocusUi: inverseFocusUi,
106
108
  hoverPrimary: hoverPrimary,
107
109
  activePrimary: activePrimary,
108
110
  hoverPrimaryText: hoverPrimaryText,
@@ -172,6 +174,7 @@ var inverseSupport04$1 = blue50;
172
174
  var overlay01$1 = rgba(gray100, 0.5); // Interaction states
173
175
 
174
176
  var focus$1 = blue60;
177
+ var inverseFocusUi$1 = white;
175
178
  var hoverPrimary$1 = '#0353e9';
176
179
  var activePrimary$1 = blue80;
177
180
  var hoverPrimaryText$1 = blue70;
@@ -235,6 +238,7 @@ var g10 = /*#__PURE__*/Object.freeze({
235
238
  inverseSupport04: inverseSupport04$1,
236
239
  overlay01: overlay01$1,
237
240
  focus: focus$1,
241
+ inverseFocusUi: inverseFocusUi$1,
238
242
  hoverPrimary: hoverPrimary$1,
239
243
  activePrimary: activePrimary$1,
240
244
  hoverPrimaryText: hoverPrimaryText$1,
@@ -304,6 +308,7 @@ var inverseSupport04$2 = blue60;
304
308
  var overlay01$2 = rgba(gray100, 0.7); // Interaction states
305
309
 
306
310
  var focus$2 = white;
311
+ var inverseFocusUi$2 = blue60;
307
312
  var hoverPrimary$2 = '#0353e9';
308
313
  var activePrimary$2 = blue80;
309
314
  var hoverPrimaryText$2 = blue30;
@@ -367,6 +372,7 @@ var g100 = /*#__PURE__*/Object.freeze({
367
372
  inverseSupport04: inverseSupport04$2,
368
373
  overlay01: overlay01$2,
369
374
  focus: focus$2,
375
+ inverseFocusUi: inverseFocusUi$2,
370
376
  hoverPrimary: hoverPrimary$2,
371
377
  activePrimary: activePrimary$2,
372
378
  hoverPrimaryText: hoverPrimaryText$2,
@@ -436,6 +442,7 @@ var inverseSupport04$3 = blue60;
436
442
  var overlay01$3 = rgba(gray100, 0.7); // Interaction states
437
443
 
438
444
  var focus$3 = white;
445
+ var inverseFocusUi$3 = blue60;
439
446
  var hoverPrimary$3 = '#0353e9';
440
447
  var activePrimary$3 = blue80;
441
448
  var hoverPrimaryText$3 = blue30;
@@ -499,6 +506,7 @@ var g90 = /*#__PURE__*/Object.freeze({
499
506
  inverseSupport04: inverseSupport04$3,
500
507
  overlay01: overlay01$3,
501
508
  focus: focus$3,
509
+ inverseFocusUi: inverseFocusUi$3,
502
510
  hoverPrimary: hoverPrimary$3,
503
511
  activePrimary: activePrimary$3,
504
512
  hoverPrimaryText: hoverPrimaryText$3,
@@ -568,6 +576,7 @@ var inverseSupport04$4 = '#5aaafa';
568
576
  var overlay01$4 = 'rgba(223, 227, 230, 0.5)'; // Interaction states
569
577
 
570
578
  var focus$4 = '#3d70b2';
579
+ var inverseFocusUi$4 = '#3d70b2';
571
580
  var hoverPrimary$4 = '#30588c';
572
581
  var activePrimary$4 = '#30588c';
573
582
  var hoverPrimaryText$4 = '#294c86';
@@ -631,6 +640,7 @@ var v9 = /*#__PURE__*/Object.freeze({
631
640
  inverseSupport04: inverseSupport04$4,
632
641
  overlay01: overlay01$4,
633
642
  focus: focus$4,
643
+ inverseFocusUi: inverseFocusUi$4,
634
644
  hoverPrimary: hoverPrimary$4,
635
645
  activePrimary: activePrimary$4,
636
646
  hoverPrimaryText: hoverPrimaryText$4,
@@ -670,7 +680,7 @@ var v9 = /*#__PURE__*/Object.freeze({
670
680
  // exported as in JavaScript
671
681
  var colors = [// Core
672
682
  'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'icon01', 'icon02', 'icon03', 'link01', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', // Interactive states
673
- 'focus', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'skeleton01', 'skeleton02', // Deprecated
683
+ 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'skeleton01', 'skeleton02', // Deprecated
674
684
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField'];
675
685
  var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
676
686
  /**
@@ -720,7 +730,7 @@ var unstable__meta = {
720
730
  tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
721
731
  }, {
722
732
  type: 'interactive',
723
- tokens: ['focus', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
733
+ tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
724
734
  }],
725
735
  deprecated: ['brand01', 'brand02', 'brand03', 'active01']
726
736
  };
@@ -739,4 +749,4 @@ var themes = {
739
749
  v9: v9
740
750
  };
741
751
 
742
- export { g10, g90, g100, white$1 as white, v9, tokens, formatTokenName, unstable__meta, themes, interactive01, interactive02, interactive03, interactive04, uiBackground, ui01, ui02, ui03, ui04, ui05, text01, text02, text03, text04, icon01, icon02, icon03, link01, inverseLink, field01, field02, inverse01, inverse02, support01, support02, support03, support04, inverseSupport01, inverseSupport02, inverseSupport03, inverseSupport04, overlay01, focus, hoverPrimary, activePrimary, hoverPrimaryText, hoverSecondary, activeSecondary, hoverTertiary, activeTertiary, hoverUI, activeUI, selectedUI, inverseHoverUI, hoverSelectedUI, hoverDanger, activeDanger, hoverRow, visitedLink, disabled01, disabled02, disabled03, highlight, skeleton01, skeleton02, brand01, brand02, brand03, active01, hoverField };
752
+ export { g10, g90, g100, white$1 as white, v9, tokens, formatTokenName, unstable__meta, themes, interactive01, interactive02, interactive03, interactive04, uiBackground, ui01, ui02, ui03, ui04, ui05, text01, text02, text03, text04, icon01, icon02, icon03, link01, inverseLink, field01, field02, inverse01, inverse02, support01, support02, support03, support04, inverseSupport01, inverseSupport02, inverseSupport03, inverseSupport04, overlay01, focus, inverseFocusUi, hoverPrimary, activePrimary, hoverPrimaryText, hoverSecondary, activeSecondary, hoverTertiary, activeTertiary, hoverUI, activeUI, selectedUI, inverseHoverUI, hoverSelectedUI, hoverDanger, activeDanger, hoverRow, visitedLink, disabled01, disabled02, disabled03, highlight, skeleton01, skeleton02, brand01, brand02, brand03, active01, hoverField };
package/lib/index.js CHANGED
@@ -44,6 +44,7 @@ var inverseSupport04 = colors.blue50;
44
44
  var overlay01 = colors.rgba(colors.gray100, 0.5); // Interaction states
45
45
 
46
46
  var focus = colors.blue60;
47
+ var inverseFocusUi = colors.white;
47
48
  var hoverPrimary = '#0353e9';
48
49
  var activePrimary = colors.blue80;
49
50
  var hoverPrimaryText = colors.blue70;
@@ -107,6 +108,7 @@ var white = /*#__PURE__*/Object.freeze({
107
108
  inverseSupport04: inverseSupport04,
108
109
  overlay01: overlay01,
109
110
  focus: focus,
111
+ inverseFocusUi: inverseFocusUi,
110
112
  hoverPrimary: hoverPrimary,
111
113
  activePrimary: activePrimary,
112
114
  hoverPrimaryText: hoverPrimaryText,
@@ -176,6 +178,7 @@ var inverseSupport04$1 = colors.blue50;
176
178
  var overlay01$1 = colors.rgba(colors.gray100, 0.5); // Interaction states
177
179
 
178
180
  var focus$1 = colors.blue60;
181
+ var inverseFocusUi$1 = colors.white;
179
182
  var hoverPrimary$1 = '#0353e9';
180
183
  var activePrimary$1 = colors.blue80;
181
184
  var hoverPrimaryText$1 = colors.blue70;
@@ -239,6 +242,7 @@ var g10 = /*#__PURE__*/Object.freeze({
239
242
  inverseSupport04: inverseSupport04$1,
240
243
  overlay01: overlay01$1,
241
244
  focus: focus$1,
245
+ inverseFocusUi: inverseFocusUi$1,
242
246
  hoverPrimary: hoverPrimary$1,
243
247
  activePrimary: activePrimary$1,
244
248
  hoverPrimaryText: hoverPrimaryText$1,
@@ -308,6 +312,7 @@ var inverseSupport04$2 = colors.blue60;
308
312
  var overlay01$2 = colors.rgba(colors.gray100, 0.7); // Interaction states
309
313
 
310
314
  var focus$2 = colors.white;
315
+ var inverseFocusUi$2 = colors.blue60;
311
316
  var hoverPrimary$2 = '#0353e9';
312
317
  var activePrimary$2 = colors.blue80;
313
318
  var hoverPrimaryText$2 = colors.blue30;
@@ -371,6 +376,7 @@ var g100 = /*#__PURE__*/Object.freeze({
371
376
  inverseSupport04: inverseSupport04$2,
372
377
  overlay01: overlay01$2,
373
378
  focus: focus$2,
379
+ inverseFocusUi: inverseFocusUi$2,
374
380
  hoverPrimary: hoverPrimary$2,
375
381
  activePrimary: activePrimary$2,
376
382
  hoverPrimaryText: hoverPrimaryText$2,
@@ -440,6 +446,7 @@ var inverseSupport04$3 = colors.blue60;
440
446
  var overlay01$3 = colors.rgba(colors.gray100, 0.7); // Interaction states
441
447
 
442
448
  var focus$3 = colors.white;
449
+ var inverseFocusUi$3 = colors.blue60;
443
450
  var hoverPrimary$3 = '#0353e9';
444
451
  var activePrimary$3 = colors.blue80;
445
452
  var hoverPrimaryText$3 = colors.blue30;
@@ -503,6 +510,7 @@ var g90 = /*#__PURE__*/Object.freeze({
503
510
  inverseSupport04: inverseSupport04$3,
504
511
  overlay01: overlay01$3,
505
512
  focus: focus$3,
513
+ inverseFocusUi: inverseFocusUi$3,
506
514
  hoverPrimary: hoverPrimary$3,
507
515
  activePrimary: activePrimary$3,
508
516
  hoverPrimaryText: hoverPrimaryText$3,
@@ -572,6 +580,7 @@ var inverseSupport04$4 = '#5aaafa';
572
580
  var overlay01$4 = 'rgba(223, 227, 230, 0.5)'; // Interaction states
573
581
 
574
582
  var focus$4 = '#3d70b2';
583
+ var inverseFocusUi$4 = '#3d70b2';
575
584
  var hoverPrimary$4 = '#30588c';
576
585
  var activePrimary$4 = '#30588c';
577
586
  var hoverPrimaryText$4 = '#294c86';
@@ -635,6 +644,7 @@ var v9 = /*#__PURE__*/Object.freeze({
635
644
  inverseSupport04: inverseSupport04$4,
636
645
  overlay01: overlay01$4,
637
646
  focus: focus$4,
647
+ inverseFocusUi: inverseFocusUi$4,
638
648
  hoverPrimary: hoverPrimary$4,
639
649
  activePrimary: activePrimary$4,
640
650
  hoverPrimaryText: hoverPrimaryText$4,
@@ -674,7 +684,7 @@ var v9 = /*#__PURE__*/Object.freeze({
674
684
  // exported as in JavaScript
675
685
  var colors$1 = [// Core
676
686
  'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'icon01', 'icon02', 'icon03', 'link01', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', // Interactive states
677
- 'focus', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'skeleton01', 'skeleton02', // Deprecated
687
+ 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'skeleton01', 'skeleton02', // Deprecated
678
688
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField'];
679
689
  var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
680
690
  /**
@@ -724,7 +734,7 @@ var unstable__meta = {
724
734
  tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
725
735
  }, {
726
736
  type: 'interactive',
727
- tokens: ['focus', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
737
+ tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
728
738
  }],
729
739
  deprecated: ['brand01', 'brand02', 'brand03', 'active01']
730
740
  };
@@ -785,6 +795,7 @@ exports.inverseSupport03 = inverseSupport03;
785
795
  exports.inverseSupport04 = inverseSupport04;
786
796
  exports.overlay01 = overlay01;
787
797
  exports.focus = focus;
798
+ exports.inverseFocusUi = inverseFocusUi;
788
799
  exports.hoverPrimary = hoverPrimary;
789
800
  exports.activePrimary = activePrimary;
790
801
  exports.hoverPrimaryText = hoverPrimaryText;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/themes",
3
3
  "description": "Themes for applying color in the Carbon Design System",
4
- "version": "10.5.0",
4
+ "version": "10.6.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -37,5 +37,5 @@
37
37
  "node-sass": "^4.11.0",
38
38
  "rimraf": "^2.6.3"
39
39
  },
40
- "gitHead": "99fd2683b9bc303f704bad86d229d1e364ac68d2"
40
+ "gitHead": "ca5231b52a0e8e673df35f753089f61e4b595f4c"
41
41
  }
package/scss/_mixins.scss CHANGED
@@ -63,6 +63,7 @@
63
63
  $inverse-support-04: map-get($theme, 'inverse-support-04') !global;
64
64
  $overlay-01: map-get($theme, 'overlay-01') !global;
65
65
  $focus: map-get($theme, 'focus') !global;
66
+ $inverse-focus-ui: map-get($theme, 'inverse-focus-ui') !global;
66
67
  $hover-primary: map-get($theme, 'hover-primary') !global;
67
68
  $active-primary: map-get($theme, 'active-primary') !global;
68
69
  $hover-primary-text: map-get($theme, 'hover-primary-text') !global;
@@ -125,6 +126,7 @@
125
126
  --inverse-support-04: #{map-get($theme, 'inverse-support-04')};
126
127
  --overlay-01: #{map-get($theme, 'overlay-01')};
127
128
  --focus: #{map-get($theme, 'focus')};
129
+ --inverse-focus-ui: #{map-get($theme, 'inverse-focus-ui')};
128
130
  --hover-primary: #{map-get($theme, 'hover-primary')};
129
131
  --active-primary: #{map-get($theme, 'active-primary')};
130
132
  --hover-primary-text: #{map-get($theme, 'hover-primary-text')};
@@ -43,6 +43,7 @@ $carbon--theme--white: (
43
43
  inverse-support-04: #408bfc,
44
44
  overlay-01: rgba(23, 23, 23, 0.5),
45
45
  focus: #0062ff,
46
+ inverse-focus-ui: #ffffff,
46
47
  hover-primary: #0353e9,
47
48
  active-primary: #0530ad,
48
49
  hover-primary-text: #054ada,
@@ -109,6 +110,7 @@ $carbon--theme--g10: (
109
110
  inverse-support-04: #408bfc,
110
111
  overlay-01: rgba(23, 23, 23, 0.5),
111
112
  focus: #0062ff,
113
+ inverse-focus-ui: #ffffff,
112
114
  hover-primary: #0353e9,
113
115
  active-primary: #0530ad,
114
116
  hover-primary-text: #054ada,
@@ -175,6 +177,7 @@ $carbon--theme--g90: (
175
177
  inverse-support-04: #0062ff,
176
178
  overlay-01: rgba(23, 23, 23, 0.7),
177
179
  focus: #ffffff,
180
+ inverse-focus-ui: #0062ff,
178
181
  hover-primary: #0353e9,
179
182
  active-primary: #0530ad,
180
183
  hover-primary-text: #97c1ff,
@@ -241,6 +244,7 @@ $carbon--theme--g100: (
241
244
  inverse-support-04: #0062ff,
242
245
  overlay-01: rgba(23, 23, 23, 0.7),
243
246
  focus: #ffffff,
247
+ inverse-focus-ui: #0062ff,
244
248
  hover-primary: #0353e9,
245
249
  active-primary: #0530ad,
246
250
  hover-primary-text: #97c1ff,
@@ -307,6 +311,7 @@ $carbon--theme--v9: (
307
311
  inverse-support-04: #5aaafa,
308
312
  overlay-01: rgba(223, 227, 230, 0.5),
309
313
  focus: #3d70b2,
314
+ inverse-focus-ui: #3d70b2,
310
315
  hover-primary: #30588c,
311
316
  active-primary: #30588c,
312
317
  hover-primary-text: #294c86,
package/scss/_tokens.scss CHANGED
@@ -170,6 +170,10 @@ $overlay-01: map-get($carbon--theme, 'overlay-01') !default;
170
170
  /// @access public
171
171
  /// @group @carbon/themes
172
172
  $focus: map-get($carbon--theme, 'focus') !default;
173
+ /// @type Color
174
+ /// @access public
175
+ /// @group @carbon/themes
176
+ $inverse-focus-ui: map-get($carbon--theme, 'inverse-focus-ui') !default;
173
177
  /// `$interactive-01` hover
174
178
  /// @type Color
175
179
  /// @access public
package/src/g10.js CHANGED
@@ -86,6 +86,7 @@ export const overlay01 = rgba(gray100, 0.5);
86
86
 
87
87
  // Interaction states
88
88
  export const focus = blue60;
89
+ export const inverseFocusUi = white;
89
90
 
90
91
  export const hoverPrimary = '#0353e9';
91
92
  export const activePrimary = blue80;
package/src/g100.js CHANGED
@@ -84,6 +84,7 @@ export const overlay01 = rgba(gray100, 0.7);
84
84
 
85
85
  // Interaction states
86
86
  export const focus = white;
87
+ export const inverseFocusUi = blue60;
87
88
 
88
89
  export const hoverPrimary = '#0353e9';
89
90
  export const activePrimary = blue80;
package/src/g90.js CHANGED
@@ -86,6 +86,7 @@ export const overlay01 = rgba(gray100, 0.7);
86
86
 
87
87
  // Interaction states
88
88
  export const focus = white;
89
+ export const inverseFocusUi = blue60;
89
90
 
90
91
  export const hoverPrimary = '#0353e9';
91
92
  export const activePrimary = blue80;
package/src/tokens.js CHANGED
@@ -55,6 +55,7 @@ const colors = [
55
55
 
56
56
  // Interactive states
57
57
  'focus',
58
+ 'inverseFocusUi',
58
59
 
59
60
  'hoverPrimary',
60
61
  'activePrimary',
@@ -187,6 +188,7 @@ export const unstable__meta = {
187
188
  type: 'interactive',
188
189
  tokens: [
189
190
  'focus',
191
+ 'inverseFocusUi',
190
192
  'hoverPrimary',
191
193
  'hoverPrimaryText',
192
194
  'hoverSecondary',
package/src/v9.js CHANGED
@@ -53,6 +53,7 @@ export const overlay01 = 'rgba(223, 227, 230, 0.5)';
53
53
 
54
54
  // Interaction states
55
55
  export const focus = '#3d70b2';
56
+ export const inverseFocusUi = '#3d70b2';
56
57
 
57
58
  export const hoverPrimary = '#30588c';
58
59
  export const activePrimary = '#30588c';
package/src/white.js CHANGED
@@ -86,6 +86,7 @@ export const overlay01 = rgba(gray100, 0.5);
86
86
 
87
87
  // Interaction states
88
88
  export const focus = blue60;
89
+ export const inverseFocusUi = white;
89
90
 
90
91
  export const hoverPrimary = '#0353e9';
91
92
  export const activePrimary = blue80;
package/umd/index.js CHANGED
@@ -44,6 +44,7 @@
44
44
  var overlay01 = colors.rgba(colors.gray100, 0.5); // Interaction states
45
45
 
46
46
  var focus = colors.blue60;
47
+ var inverseFocusUi = colors.white;
47
48
  var hoverPrimary = '#0353e9';
48
49
  var activePrimary = colors.blue80;
49
50
  var hoverPrimaryText = colors.blue70;
@@ -107,6 +108,7 @@
107
108
  inverseSupport04: inverseSupport04,
108
109
  overlay01: overlay01,
109
110
  focus: focus,
111
+ inverseFocusUi: inverseFocusUi,
110
112
  hoverPrimary: hoverPrimary,
111
113
  activePrimary: activePrimary,
112
114
  hoverPrimaryText: hoverPrimaryText,
@@ -176,6 +178,7 @@
176
178
  var overlay01$1 = colors.rgba(colors.gray100, 0.5); // Interaction states
177
179
 
178
180
  var focus$1 = colors.blue60;
181
+ var inverseFocusUi$1 = colors.white;
179
182
  var hoverPrimary$1 = '#0353e9';
180
183
  var activePrimary$1 = colors.blue80;
181
184
  var hoverPrimaryText$1 = colors.blue70;
@@ -239,6 +242,7 @@
239
242
  inverseSupport04: inverseSupport04$1,
240
243
  overlay01: overlay01$1,
241
244
  focus: focus$1,
245
+ inverseFocusUi: inverseFocusUi$1,
242
246
  hoverPrimary: hoverPrimary$1,
243
247
  activePrimary: activePrimary$1,
244
248
  hoverPrimaryText: hoverPrimaryText$1,
@@ -308,6 +312,7 @@
308
312
  var overlay01$2 = colors.rgba(colors.gray100, 0.7); // Interaction states
309
313
 
310
314
  var focus$2 = colors.white;
315
+ var inverseFocusUi$2 = colors.blue60;
311
316
  var hoverPrimary$2 = '#0353e9';
312
317
  var activePrimary$2 = colors.blue80;
313
318
  var hoverPrimaryText$2 = colors.blue30;
@@ -371,6 +376,7 @@
371
376
  inverseSupport04: inverseSupport04$2,
372
377
  overlay01: overlay01$2,
373
378
  focus: focus$2,
379
+ inverseFocusUi: inverseFocusUi$2,
374
380
  hoverPrimary: hoverPrimary$2,
375
381
  activePrimary: activePrimary$2,
376
382
  hoverPrimaryText: hoverPrimaryText$2,
@@ -440,6 +446,7 @@
440
446
  var overlay01$3 = colors.rgba(colors.gray100, 0.7); // Interaction states
441
447
 
442
448
  var focus$3 = colors.white;
449
+ var inverseFocusUi$3 = colors.blue60;
443
450
  var hoverPrimary$3 = '#0353e9';
444
451
  var activePrimary$3 = colors.blue80;
445
452
  var hoverPrimaryText$3 = colors.blue30;
@@ -503,6 +510,7 @@
503
510
  inverseSupport04: inverseSupport04$3,
504
511
  overlay01: overlay01$3,
505
512
  focus: focus$3,
513
+ inverseFocusUi: inverseFocusUi$3,
506
514
  hoverPrimary: hoverPrimary$3,
507
515
  activePrimary: activePrimary$3,
508
516
  hoverPrimaryText: hoverPrimaryText$3,
@@ -572,6 +580,7 @@
572
580
  var overlay01$4 = 'rgba(223, 227, 230, 0.5)'; // Interaction states
573
581
 
574
582
  var focus$4 = '#3d70b2';
583
+ var inverseFocusUi$4 = '#3d70b2';
575
584
  var hoverPrimary$4 = '#30588c';
576
585
  var activePrimary$4 = '#30588c';
577
586
  var hoverPrimaryText$4 = '#294c86';
@@ -635,6 +644,7 @@
635
644
  inverseSupport04: inverseSupport04$4,
636
645
  overlay01: overlay01$4,
637
646
  focus: focus$4,
647
+ inverseFocusUi: inverseFocusUi$4,
638
648
  hoverPrimary: hoverPrimary$4,
639
649
  activePrimary: activePrimary$4,
640
650
  hoverPrimaryText: hoverPrimaryText$4,
@@ -674,7 +684,7 @@
674
684
  // exported as in JavaScript
675
685
  var colors$1 = [// Core
676
686
  'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'icon01', 'icon02', 'icon03', 'link01', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', // Interactive states
677
- 'focus', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'skeleton01', 'skeleton02', // Deprecated
687
+ 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'skeleton01', 'skeleton02', // Deprecated
678
688
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField'];
679
689
  var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
680
690
  /**
@@ -724,7 +734,7 @@
724
734
  tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
725
735
  }, {
726
736
  type: 'interactive',
727
- tokens: ['focus', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
737
+ tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
728
738
  }],
729
739
  deprecated: ['brand01', 'brand02', 'brand03', 'active01']
730
740
  };
@@ -785,6 +795,7 @@
785
795
  exports.inverseSupport04 = inverseSupport04;
786
796
  exports.overlay01 = overlay01;
787
797
  exports.focus = focus;
798
+ exports.inverseFocusUi = inverseFocusUi;
788
799
  exports.hoverPrimary = hoverPrimary;
789
800
  exports.activePrimary = activePrimary;
790
801
  exports.hoverPrimaryText = hoverPrimaryText;