@carbon/themes 10.15.0-rc.0 → 10.15.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
@@ -77,6 +77,7 @@
77
77
  - [✅disabled-03 [variable]](#disabled-03-variable)
78
78
  - [✅highlight [variable]](#highlight-variable)
79
79
  - [✅decorative-01 [variable]](#decorative-01-variable)
80
+ - [✅hover-light-ui [variable]](#hover-light-ui-variable)
80
81
  - [✅skeleton-01 [variable]](#skeleton-01-variable)
81
82
  - [✅skeleton-02 [variable]](#skeleton-02-variable)
82
83
  - [✅⚠️brand-01 [variable]](#brand-01-variable)
@@ -282,6 +283,7 @@ Define theme variables from a map of tokens
282
283
  $disabled-03: map-get($theme, 'disabled-03') !global;
283
284
  $highlight: map-get($theme, 'highlight') !global;
284
285
  $decorative-01: map-get($theme, 'decorative-01') !global;
286
+ $hover-light-ui: map-get($theme, 'hover-light-ui') !global;
285
287
  $skeleton-01: map-get($theme, 'skeleton-01') !global;
286
288
  $skeleton-02: map-get($theme, 'skeleton-02') !global;
287
289
  $brand-01: map-get($theme, 'brand-01') !global;
@@ -590,6 +592,10 @@ Define theme variables from a map of tokens
590
592
  --#{$custom-property-prefix}-decorative-01,
591
593
  map-get($theme, 'decorative-01')
592
594
  ) !global;
595
+ $hover-light-ui: var(
596
+ --#{$custom-property-prefix}-hover-light-ui,
597
+ map-get($theme, 'hover-light-ui')
598
+ ) !global;
593
599
  $skeleton-01: var(
594
600
  --#{$custom-property-prefix}-skeleton-01,
595
601
  map-get($theme, 'skeleton-01')
@@ -1270,6 +1276,19 @@ Define theme variables from a map of tokens
1270
1276
  );
1271
1277
  }
1272
1278
 
1279
+ @if should-emit(
1280
+ $theme,
1281
+ $parent-carbon-theme,
1282
+ 'hover-light-ui',
1283
+ $emit-difference
1284
+ )
1285
+ {
1286
+ @include custom-property(
1287
+ 'hover-light-ui',
1288
+ map-get($theme, 'hover-light-ui')
1289
+ );
1290
+ }
1291
+
1273
1292
  @if should-emit(
1274
1293
  $theme,
1275
1294
  $parent-carbon-theme,
@@ -2052,6 +2071,7 @@ Define theme variables from a map of tokens
2052
2071
  - [disabled-03 [variable]](#disabled-03-variable)
2053
2072
  - [highlight [variable]](#highlight-variable)
2054
2073
  - [decorative-01 [variable]](#decorative-01-variable)
2074
+ - [hover-light-ui [variable]](#hover-light-ui-variable)
2055
2075
  - [skeleton-01 [variable]](#skeleton-01-variable)
2056
2076
  - [skeleton-02 [variable]](#skeleton-02-variable)
2057
2077
  - [brand-01 [variable]](#brand-01-variable)
@@ -2207,6 +2227,7 @@ $carbon--theme--g90: map-merge(
2207
2227
  disabled-03: #a8a8a8,
2208
2228
  highlight: #0043ce,
2209
2229
  decorative-01: #6f6f6f,
2230
+ hover-light-ui: #6f6f6f,
2210
2231
  skeleton-01: #353535,
2211
2232
  skeleton-02: #525252,
2212
2233
  brand-02: #6f6f6f,
@@ -2281,6 +2302,7 @@ $carbon--theme--g100: map-merge(
2281
2302
  disabled-02: #525252,
2282
2303
  highlight: #002d9c,
2283
2304
  decorative-01: #525252,
2305
+ hover-light-ui: #525252,
2284
2306
  skeleton-01: #353535,
2285
2307
  skeleton-02: #393939,
2286
2308
  brand-02: #6f6f6f,
@@ -2361,6 +2383,7 @@ $carbon--theme--v9: map-merge(
2361
2383
  disabled-03: #cdd1d4,
2362
2384
  highlight: #f4f7fb,
2363
2385
  decorative-01: #eef4fc,
2386
+ hover-light-ui: #eef4fc,
2364
2387
  skeleton-01: rgba(61, 112, 178, 0.1),
2365
2388
  skeleton-02: rgba(61, 112, 178, 0.1),
2366
2389
  brand-01: #3d70b2,
@@ -2445,6 +2468,7 @@ $carbon--theme: (
2445
2468
  disabled-03: if(global-variable-exists('disabled-03'), $disabled-03, map-get($carbon--theme--white, 'disabled-03')),
2446
2469
  highlight: if(global-variable-exists('highlight'), $highlight, map-get($carbon--theme--white, 'highlight')),
2447
2470
  decorative-01: if(global-variable-exists('decorative-01'), $decorative-01, map-get($carbon--theme--white, 'decorative-01')),
2471
+ hover-light-ui: if(global-variable-exists('hover-light-ui'), $hover-light-ui, map-get($carbon--theme--white, 'hover-light-ui')),
2448
2472
  skeleton-01: if(global-variable-exists('skeleton-01'), $skeleton-01, map-get($carbon--theme--white, 'skeleton-01')),
2449
2473
  skeleton-02: if(global-variable-exists('skeleton-02'), $skeleton-02, map-get($carbon--theme--white, 'skeleton-02')),
2450
2474
  brand-01: if(global-variable-exists('brand-01'), $brand-01, map-get($carbon--theme--white, 'brand-01')),
@@ -3988,6 +4012,29 @@ $decorative-01: if(
3988
4012
 
3989
4013
  </details>
3990
4014
 
4015
+ - **Group**: [@carbon/themes](#carbonthemes)
4016
+ - **Type**: `{undefined}`
4017
+ - **Used by**:
4018
+ - [carbon--theme [mixin]](#carbon--theme-mixin)
4019
+
4020
+ ### ✅hover-light-ui [variable]
4021
+
4022
+ <details>
4023
+ <summary>Source code</summary>
4024
+
4025
+ ```scss
4026
+ $hover-light-ui: if(
4027
+ global-variable-exists('carbon--theme') and map-has-key(
4028
+ $carbon--theme,
4029
+ 'hover-light-ui'
4030
+ ),
4031
+ map-get($carbon--theme, 'hover-light-ui'),
4032
+ #e5e5e5
4033
+ );
4034
+ ```
4035
+
4036
+ </details>
4037
+
3991
4038
  - **Group**: [@carbon/themes](#carbonthemes)
3992
4039
  - **Type**: `{undefined}`
3993
4040
  - **Used by**:
package/es/index.js CHANGED
@@ -137,6 +137,7 @@ var disabled02 = gray30;
137
137
  var disabled03 = gray50;
138
138
  var highlight = blue20;
139
139
  var decorative01 = gray20;
140
+ var hoverLightUI = '#e5e5e5';
140
141
  var skeleton01 = '#e5e5e5';
141
142
  var skeleton02 = gray30; // Type
142
143
 
@@ -206,6 +207,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
206
207
  disabled03: disabled03,
207
208
  highlight: highlight,
208
209
  decorative01: decorative01,
210
+ hoverLightUI: hoverLightUI,
209
211
  skeleton01: skeleton01,
210
212
  skeleton02: skeleton02,
211
213
  brand01: brand01,
@@ -342,6 +344,7 @@ var disabled02$1 = gray30;
342
344
  var disabled03$1 = gray50;
343
345
  var highlight$1 = blue20;
344
346
  var decorative01$1 = gray20;
347
+ var hoverLightUI$1 = '#e5e5e5';
345
348
  var skeleton01$1 = '#e5e5e5';
346
349
  var skeleton02$1 = gray30;
347
350
 
@@ -411,6 +414,7 @@ var g10 = /*#__PURE__*/Object.freeze({
411
414
  disabled03: disabled03$1,
412
415
  highlight: highlight$1,
413
416
  decorative01: decorative01$1,
417
+ hoverLightUI: hoverLightUI$1,
414
418
  skeleton01: skeleton01$1,
415
419
  skeleton02: skeleton02$1,
416
420
  brand01: brand01$1,
@@ -547,6 +551,7 @@ var disabled02$2 = gray70;
547
551
  var disabled03$2 = gray50;
548
552
  var highlight$2 = blue80;
549
553
  var decorative01$2 = gray70;
554
+ var hoverLightUI$2 = '#525252';
550
555
  var skeleton01$2 = '#353535';
551
556
  var skeleton02$2 = gray80;
552
557
 
@@ -616,6 +621,7 @@ var g100 = /*#__PURE__*/Object.freeze({
616
621
  disabled03: disabled03$2,
617
622
  highlight: highlight$2,
618
623
  decorative01: decorative01$2,
624
+ hoverLightUI: hoverLightUI$2,
619
625
  skeleton01: skeleton01$2,
620
626
  skeleton02: skeleton02$2,
621
627
  brand01: brand01$2,
@@ -752,6 +758,7 @@ var disabled02$3 = gray60;
752
758
  var disabled03$3 = gray40;
753
759
  var highlight$3 = blue70;
754
760
  var decorative01$3 = gray60;
761
+ var hoverLightUI$3 = '#6f6f6f';
755
762
  var skeleton01$3 = '#353535';
756
763
  var skeleton02$3 = gray70;
757
764
 
@@ -821,6 +828,7 @@ var g90 = /*#__PURE__*/Object.freeze({
821
828
  disabled03: disabled03$3,
822
829
  highlight: highlight$3,
823
830
  decorative01: decorative01$3,
831
+ hoverLightUI: hoverLightUI$3,
824
832
  skeleton01: skeleton01$3,
825
833
  skeleton02: skeleton02$3,
826
834
  brand01: brand01$3,
@@ -957,6 +965,7 @@ var disabled02$4 = '#dfe3e6';
957
965
  var disabled03$4 = '#cdd1d4';
958
966
  var highlight$4 = '#f4f7fb';
959
967
  var decorative01$4 = '#EEF4FC';
968
+ var hoverLightUI$4 = '#EEF4FC';
960
969
  var skeleton01$4 = 'rgba(61, 112, 178, .1)';
961
970
  var skeleton02$4 = 'rgba(61, 112, 178, .1)';
962
971
 
@@ -1026,6 +1035,7 @@ var v9 = /*#__PURE__*/Object.freeze({
1026
1035
  disabled03: disabled03$4,
1027
1036
  highlight: highlight$4,
1028
1037
  decorative01: decorative01$4,
1038
+ hoverLightUI: hoverLightUI$4,
1029
1039
  skeleton01: skeleton01$4,
1030
1040
  skeleton02: skeleton02$4,
1031
1041
  brand01: brand01$4,
@@ -1106,7 +1116,7 @@ var v9 = /*#__PURE__*/Object.freeze({
1106
1116
 
1107
1117
  var colors = [// Core
1108
1118
  'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'icon01', 'icon02', 'icon03', 'link01', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', 'danger', // Interactive states
1109
- 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'selectedLightUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'skeleton01', 'skeleton02', // Deprecated
1119
+ 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'selectedLightUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'hoverLightUI', 'skeleton01', 'skeleton02', // Deprecated
1110
1120
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField'];
1111
1121
  var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
1112
1122
  /**
@@ -1158,7 +1168,7 @@ var unstable__meta = {
1158
1168
  tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'danger', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
1159
1169
  }, {
1160
1170
  type: 'interactive',
1161
- tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01']
1171
+ tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01', 'hoverLightUI']
1162
1172
  }],
1163
1173
  deprecated: ['brand01', 'brand02', 'brand03', 'active01']
1164
1174
  };
@@ -1177,4 +1187,4 @@ var themes = {
1177
1187
  v9: v9
1178
1188
  };
1179
1189
 
1180
- 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, text05, textError, icon01, icon02, icon03, link01, inverseLink, field01, field02, inverse01, inverse02, support01, support02, support03, support04, inverseSupport01, inverseSupport02, inverseSupport03, inverseSupport04, overlay01, danger, focus, inverseFocusUi, hoverPrimary, activePrimary, hoverPrimaryText, hoverSecondary, activeSecondary, hoverTertiary, activeTertiary, hoverUI, activeUI, selectedUI, selectedLightUI, inverseHoverUI, hoverSelectedUI, hoverDanger, activeDanger, hoverRow, visitedLink, disabled01, disabled02, disabled03, highlight, decorative01, skeleton01, skeleton02, brand01, brand02, brand03, active01, hoverField };
1190
+ 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, text05, textError, icon01, icon02, icon03, link01, inverseLink, field01, field02, inverse01, inverse02, support01, support02, support03, support04, inverseSupport01, inverseSupport02, inverseSupport03, inverseSupport04, overlay01, danger, focus, inverseFocusUi, hoverPrimary, activePrimary, hoverPrimaryText, hoverSecondary, activeSecondary, hoverTertiary, activeTertiary, hoverUI, activeUI, selectedUI, selectedLightUI, inverseHoverUI, hoverSelectedUI, hoverDanger, activeDanger, hoverRow, visitedLink, disabled01, disabled02, disabled03, highlight, decorative01, hoverLightUI, skeleton01, skeleton02, brand01, brand02, brand03, active01, hoverField };
package/lib/index.js CHANGED
@@ -141,6 +141,7 @@ var disabled02 = colors.gray30;
141
141
  var disabled03 = colors.gray50;
142
142
  var highlight = colors.blue20;
143
143
  var decorative01 = colors.gray20;
144
+ var hoverLightUI = '#e5e5e5';
144
145
  var skeleton01 = '#e5e5e5';
145
146
  var skeleton02 = colors.gray30; // Type
146
147
 
@@ -210,6 +211,7 @@ var white = /*#__PURE__*/Object.freeze({
210
211
  disabled03: disabled03,
211
212
  highlight: highlight,
212
213
  decorative01: decorative01,
214
+ hoverLightUI: hoverLightUI,
213
215
  skeleton01: skeleton01,
214
216
  skeleton02: skeleton02,
215
217
  brand01: brand01,
@@ -346,6 +348,7 @@ var disabled02$1 = colors.gray30;
346
348
  var disabled03$1 = colors.gray50;
347
349
  var highlight$1 = colors.blue20;
348
350
  var decorative01$1 = colors.gray20;
351
+ var hoverLightUI$1 = '#e5e5e5';
349
352
  var skeleton01$1 = '#e5e5e5';
350
353
  var skeleton02$1 = colors.gray30;
351
354
 
@@ -415,6 +418,7 @@ var g10 = /*#__PURE__*/Object.freeze({
415
418
  disabled03: disabled03$1,
416
419
  highlight: highlight$1,
417
420
  decorative01: decorative01$1,
421
+ hoverLightUI: hoverLightUI$1,
418
422
  skeleton01: skeleton01$1,
419
423
  skeleton02: skeleton02$1,
420
424
  brand01: brand01$1,
@@ -551,6 +555,7 @@ var disabled02$2 = colors.gray70;
551
555
  var disabled03$2 = colors.gray50;
552
556
  var highlight$2 = colors.blue80;
553
557
  var decorative01$2 = colors.gray70;
558
+ var hoverLightUI$2 = '#525252';
554
559
  var skeleton01$2 = '#353535';
555
560
  var skeleton02$2 = colors.gray80;
556
561
 
@@ -620,6 +625,7 @@ var g100 = /*#__PURE__*/Object.freeze({
620
625
  disabled03: disabled03$2,
621
626
  highlight: highlight$2,
622
627
  decorative01: decorative01$2,
628
+ hoverLightUI: hoverLightUI$2,
623
629
  skeleton01: skeleton01$2,
624
630
  skeleton02: skeleton02$2,
625
631
  brand01: brand01$2,
@@ -756,6 +762,7 @@ var disabled02$3 = colors.gray60;
756
762
  var disabled03$3 = colors.gray40;
757
763
  var highlight$3 = colors.blue70;
758
764
  var decorative01$3 = colors.gray60;
765
+ var hoverLightUI$3 = '#6f6f6f';
759
766
  var skeleton01$3 = '#353535';
760
767
  var skeleton02$3 = colors.gray70;
761
768
 
@@ -825,6 +832,7 @@ var g90 = /*#__PURE__*/Object.freeze({
825
832
  disabled03: disabled03$3,
826
833
  highlight: highlight$3,
827
834
  decorative01: decorative01$3,
835
+ hoverLightUI: hoverLightUI$3,
828
836
  skeleton01: skeleton01$3,
829
837
  skeleton02: skeleton02$3,
830
838
  brand01: brand01$3,
@@ -961,6 +969,7 @@ var disabled02$4 = '#dfe3e6';
961
969
  var disabled03$4 = '#cdd1d4';
962
970
  var highlight$4 = '#f4f7fb';
963
971
  var decorative01$4 = '#EEF4FC';
972
+ var hoverLightUI$4 = '#EEF4FC';
964
973
  var skeleton01$4 = 'rgba(61, 112, 178, .1)';
965
974
  var skeleton02$4 = 'rgba(61, 112, 178, .1)';
966
975
 
@@ -1030,6 +1039,7 @@ var v9 = /*#__PURE__*/Object.freeze({
1030
1039
  disabled03: disabled03$4,
1031
1040
  highlight: highlight$4,
1032
1041
  decorative01: decorative01$4,
1042
+ hoverLightUI: hoverLightUI$4,
1033
1043
  skeleton01: skeleton01$4,
1034
1044
  skeleton02: skeleton02$4,
1035
1045
  brand01: brand01$4,
@@ -1110,7 +1120,7 @@ var v9 = /*#__PURE__*/Object.freeze({
1110
1120
 
1111
1121
  var colors$1 = [// Core
1112
1122
  'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'icon01', 'icon02', 'icon03', 'link01', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', 'danger', // Interactive states
1113
- 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'selectedLightUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'skeleton01', 'skeleton02', // Deprecated
1123
+ 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'selectedLightUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'hoverLightUI', 'skeleton01', 'skeleton02', // Deprecated
1114
1124
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField'];
1115
1125
  var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
1116
1126
  /**
@@ -1162,7 +1172,7 @@ var unstable__meta = {
1162
1172
  tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'danger', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
1163
1173
  }, {
1164
1174
  type: 'interactive',
1165
- tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01']
1175
+ tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01', 'hoverLightUI']
1166
1176
  }],
1167
1177
  deprecated: ['brand01', 'brand02', 'brand03', 'active01']
1168
1178
  };
@@ -1310,6 +1320,7 @@ exports.disabled02 = disabled02;
1310
1320
  exports.disabled03 = disabled03;
1311
1321
  exports.highlight = highlight;
1312
1322
  exports.decorative01 = decorative01;
1323
+ exports.hoverLightUI = hoverLightUI;
1313
1324
  exports.skeleton01 = skeleton01;
1314
1325
  exports.skeleton02 = skeleton02;
1315
1326
  exports.brand01 = brand01;
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.15.0-rc.0",
4
+ "version": "10.15.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@carbon/colors": "^10.11.0",
28
- "@carbon/layout": "^10.12.0-rc.0",
29
- "@carbon/type": "^10.13.0-rc.0",
28
+ "@carbon/layout": "^10.12.0",
29
+ "@carbon/type": "^10.13.0",
30
30
  "color": "^3.1.2"
31
31
  },
32
32
  "devDependencies": {
@@ -40,5 +40,5 @@
40
40
  "node-sass": "^4.13.1",
41
41
  "rimraf": "^3.0.0"
42
42
  },
43
- "gitHead": "4c306481a9382579f9739ec21e3903d307b3ba96"
43
+ "gitHead": "4d9cf186a840c295ac15dad2d38907e93d4eb256"
44
44
  }
@@ -97,6 +97,7 @@
97
97
  $disabled-03: map-get($theme, 'disabled-03') !global;
98
98
  $highlight: map-get($theme, 'highlight') !global;
99
99
  $decorative-01: map-get($theme, 'decorative-01') !global;
100
+ $hover-light-ui: map-get($theme, 'hover-light-ui') !global;
100
101
  $skeleton-01: map-get($theme, 'skeleton-01') !global;
101
102
  $skeleton-02: map-get($theme, 'skeleton-02') !global;
102
103
  $brand-01: map-get($theme, 'brand-01') !global;
@@ -405,6 +406,10 @@
405
406
  --#{$custom-property-prefix}-decorative-01,
406
407
  map-get($theme, 'decorative-01')
407
408
  ) !global;
409
+ $hover-light-ui: var(
410
+ --#{$custom-property-prefix}-hover-light-ui,
411
+ map-get($theme, 'hover-light-ui')
412
+ ) !global;
408
413
  $skeleton-01: var(
409
414
  --#{$custom-property-prefix}-skeleton-01,
410
415
  map-get($theme, 'skeleton-01')
@@ -1085,6 +1090,19 @@
1085
1090
  );
1086
1091
  }
1087
1092
 
1093
+ @if should-emit(
1094
+ $theme,
1095
+ $parent-carbon-theme,
1096
+ 'hover-light-ui',
1097
+ $emit-difference
1098
+ )
1099
+ {
1100
+ @include custom-property(
1101
+ 'hover-light-ui',
1102
+ map-get($theme, 'hover-light-ui')
1103
+ );
1104
+ }
1105
+
1088
1106
  @if should-emit(
1089
1107
  $theme,
1090
1108
  $parent-carbon-theme,
@@ -66,6 +66,7 @@ $carbon--theme--white: (
66
66
  disabled-03: #8d8d8d,
67
67
  highlight: #d0e2ff,
68
68
  decorative-01: #e0e0e0,
69
+ hover-light-ui: #e5e5e5,
69
70
  skeleton-01: #e5e5e5,
70
71
  skeleton-02: #c6c6c6,
71
72
  brand-01: #0f62fe,
@@ -562,6 +563,7 @@ $carbon--theme--g90: map-merge(
562
563
  disabled-03: #a8a8a8,
563
564
  highlight: #0043ce,
564
565
  decorative-01: #6f6f6f,
566
+ hover-light-ui: #6f6f6f,
565
567
  skeleton-01: #353535,
566
568
  skeleton-02: #525252,
567
569
  brand-02: #6f6f6f,
@@ -626,6 +628,7 @@ $carbon--theme--g100: map-merge(
626
628
  disabled-02: #525252,
627
629
  highlight: #002d9c,
628
630
  decorative-01: #525252,
631
+ hover-light-ui: #525252,
629
632
  skeleton-01: #353535,
630
633
  skeleton-02: #393939,
631
634
  brand-02: #6f6f6f,
@@ -696,6 +699,7 @@ $carbon--theme--v9: map-merge(
696
699
  disabled-03: #cdd1d4,
697
700
  highlight: #f4f7fb,
698
701
  decorative-01: #eef4fc,
702
+ hover-light-ui: #eef4fc,
699
703
  skeleton-01: rgba(61, 112, 178, 0.1),
700
704
  skeleton-02: rgba(61, 112, 178, 0.1),
701
705
  brand-01: #3d70b2,
@@ -1066,6 +1070,12 @@ $carbon--theme: (
1066
1070
  $decorative-01,
1067
1071
  map-get($carbon--theme--white, 'decorative-01')
1068
1072
  ),
1073
+ hover-light-ui:
1074
+ if(
1075
+ global-variable-exists('hover-light-ui'),
1076
+ $hover-light-ui,
1077
+ map-get($carbon--theme--white, 'hover-light-ui')
1078
+ ),
1069
1079
  skeleton-01:
1070
1080
  if(
1071
1081
  global-variable-exists('skeleton-01'),
@@ -647,6 +647,16 @@ $decorative-01: if(
647
647
  #e0e0e0
648
648
  ) !default;
649
649
 
650
+ /// @type {undefined}
651
+ /// @access public
652
+ /// @group @carbon/themes
653
+ $hover-light-ui: if(
654
+ global-variable-exists('carbon--theme') and
655
+ map-has-key($carbon--theme, 'hover-light-ui'),
656
+ map-get($carbon--theme, 'hover-light-ui'),
657
+ #e5e5e5
658
+ ) !default;
659
+
650
660
  /// Skeleton state of graphics
651
661
  /// @type {undefined}
652
662
  /// @access public
package/src/g10.js CHANGED
@@ -128,6 +128,8 @@ export const highlight = blue20;
128
128
 
129
129
  export const decorative01 = gray20;
130
130
 
131
+ export const hoverLightUI = '#e5e5e5';
132
+
131
133
  export const skeleton01 = '#e5e5e5';
132
134
  export const skeleton02 = gray30;
133
135
 
package/src/g100.js CHANGED
@@ -127,6 +127,8 @@ export const highlight = blue80;
127
127
 
128
128
  export const decorative01 = gray70;
129
129
 
130
+ export const hoverLightUI = '#525252';
131
+
130
132
  export const skeleton01 = '#353535';
131
133
  export const skeleton02 = gray80;
132
134
 
package/src/g90.js CHANGED
@@ -129,6 +129,8 @@ export const highlight = blue70;
129
129
 
130
130
  export const decorative01 = gray60;
131
131
 
132
+ export const hoverLightUI = '#6f6f6f';
133
+
132
134
  export const skeleton01 = '#353535';
133
135
  export const skeleton02 = gray70;
134
136
 
package/src/tokens.js CHANGED
@@ -97,6 +97,8 @@ const colors = [
97
97
 
98
98
  'decorative01',
99
99
 
100
+ 'hoverLightUI',
101
+
100
102
  'skeleton01',
101
103
  'skeleton02',
102
104
 
@@ -230,6 +232,7 @@ export const unstable__meta = {
230
232
  'active01',
231
233
  'hoverField',
232
234
  'decorative01',
235
+ 'hoverLightUI',
233
236
  ],
234
237
  },
235
238
  ],
package/src/v9.js CHANGED
@@ -92,6 +92,8 @@ export const highlight = '#f4f7fb';
92
92
 
93
93
  export const decorative01 = '#EEF4FC';
94
94
 
95
+ export const hoverLightUI = '#EEF4FC';
96
+
95
97
  export const skeleton01 = 'rgba(61, 112, 178, .1)';
96
98
  export const skeleton02 = 'rgba(61, 112, 178, .1)';
97
99
 
package/src/white.js CHANGED
@@ -128,6 +128,8 @@ export const highlight = blue20;
128
128
 
129
129
  export const decorative01 = gray20;
130
130
 
131
+ export const hoverLightUI = '#e5e5e5';
132
+
131
133
  export const skeleton01 = '#e5e5e5';
132
134
  export const skeleton02 = gray30;
133
135
 
package/umd/index.js CHANGED
@@ -138,6 +138,7 @@
138
138
  var disabled03 = colors.gray50;
139
139
  var highlight = colors.blue20;
140
140
  var decorative01 = colors.gray20;
141
+ var hoverLightUI = '#e5e5e5';
141
142
  var skeleton01 = '#e5e5e5';
142
143
  var skeleton02 = colors.gray30; // Type
143
144
 
@@ -207,6 +208,7 @@
207
208
  disabled03: disabled03,
208
209
  highlight: highlight,
209
210
  decorative01: decorative01,
211
+ hoverLightUI: hoverLightUI,
210
212
  skeleton01: skeleton01,
211
213
  skeleton02: skeleton02,
212
214
  brand01: brand01,
@@ -343,6 +345,7 @@
343
345
  var disabled03$1 = colors.gray50;
344
346
  var highlight$1 = colors.blue20;
345
347
  var decorative01$1 = colors.gray20;
348
+ var hoverLightUI$1 = '#e5e5e5';
346
349
  var skeleton01$1 = '#e5e5e5';
347
350
  var skeleton02$1 = colors.gray30;
348
351
 
@@ -412,6 +415,7 @@
412
415
  disabled03: disabled03$1,
413
416
  highlight: highlight$1,
414
417
  decorative01: decorative01$1,
418
+ hoverLightUI: hoverLightUI$1,
415
419
  skeleton01: skeleton01$1,
416
420
  skeleton02: skeleton02$1,
417
421
  brand01: brand01$1,
@@ -548,6 +552,7 @@
548
552
  var disabled03$2 = colors.gray50;
549
553
  var highlight$2 = colors.blue80;
550
554
  var decorative01$2 = colors.gray70;
555
+ var hoverLightUI$2 = '#525252';
551
556
  var skeleton01$2 = '#353535';
552
557
  var skeleton02$2 = colors.gray80;
553
558
 
@@ -617,6 +622,7 @@
617
622
  disabled03: disabled03$2,
618
623
  highlight: highlight$2,
619
624
  decorative01: decorative01$2,
625
+ hoverLightUI: hoverLightUI$2,
620
626
  skeleton01: skeleton01$2,
621
627
  skeleton02: skeleton02$2,
622
628
  brand01: brand01$2,
@@ -753,6 +759,7 @@
753
759
  var disabled03$3 = colors.gray40;
754
760
  var highlight$3 = colors.blue70;
755
761
  var decorative01$3 = colors.gray60;
762
+ var hoverLightUI$3 = '#6f6f6f';
756
763
  var skeleton01$3 = '#353535';
757
764
  var skeleton02$3 = colors.gray70;
758
765
 
@@ -822,6 +829,7 @@
822
829
  disabled03: disabled03$3,
823
830
  highlight: highlight$3,
824
831
  decorative01: decorative01$3,
832
+ hoverLightUI: hoverLightUI$3,
825
833
  skeleton01: skeleton01$3,
826
834
  skeleton02: skeleton02$3,
827
835
  brand01: brand01$3,
@@ -958,6 +966,7 @@
958
966
  var disabled03$4 = '#cdd1d4';
959
967
  var highlight$4 = '#f4f7fb';
960
968
  var decorative01$4 = '#EEF4FC';
969
+ var hoverLightUI$4 = '#EEF4FC';
961
970
  var skeleton01$4 = 'rgba(61, 112, 178, .1)';
962
971
  var skeleton02$4 = 'rgba(61, 112, 178, .1)';
963
972
 
@@ -1027,6 +1036,7 @@
1027
1036
  disabled03: disabled03$4,
1028
1037
  highlight: highlight$4,
1029
1038
  decorative01: decorative01$4,
1039
+ hoverLightUI: hoverLightUI$4,
1030
1040
  skeleton01: skeleton01$4,
1031
1041
  skeleton02: skeleton02$4,
1032
1042
  brand01: brand01$4,
@@ -1107,7 +1117,7 @@
1107
1117
 
1108
1118
  var colors$1 = [// Core
1109
1119
  'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'icon01', 'icon02', 'icon03', 'link01', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', 'danger', // Interactive states
1110
- 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'selectedLightUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'skeleton01', 'skeleton02', // Deprecated
1120
+ 'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'activeUI', 'selectedUI', 'selectedLightUI', 'hoverSelectedUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'hoverLightUI', 'skeleton01', 'skeleton02', // Deprecated
1111
1121
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField'];
1112
1122
  var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
1113
1123
  /**
@@ -1159,7 +1169,7 @@
1159
1169
  tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'danger', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
1160
1170
  }, {
1161
1171
  type: 'interactive',
1162
- tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01']
1172
+ tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01', 'hoverLightUI']
1163
1173
  }],
1164
1174
  deprecated: ['brand01', 'brand02', 'brand03', 'active01']
1165
1175
  };
@@ -1307,6 +1317,7 @@
1307
1317
  exports.disabled03 = disabled03;
1308
1318
  exports.highlight = highlight;
1309
1319
  exports.decorative01 = decorative01;
1320
+ exports.hoverLightUI = hoverLightUI;
1310
1321
  exports.skeleton01 = skeleton01;
1311
1322
  exports.skeleton02 = skeleton02;
1312
1323
  exports.brand01 = brand01;