@carbon/themes 11.52.0-rc.0 → 11.53.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/lib/index.js CHANGED
@@ -528,6 +528,7 @@ var backgroundSelectedHover$7 = adjustAlpha(colors$1.gray50, 0.32);
528
528
  // layer-01
529
529
  var layer01$3 = colors$1.gray10;
530
530
  var layerActive01$3 = colors$1.gray30;
531
+ var layerBackground01$3 = colors$1.white;
531
532
  var layerHover01$3 = colors$1.gray10Hover;
532
533
  var layerSelected01$3 = colors$1.gray20;
533
534
  var layerSelectedHover01$3 = colors$1.gray20Hover;
@@ -535,6 +536,7 @@ var layerSelectedHover01$3 = colors$1.gray20Hover;
535
536
  // layer-02
536
537
  var layer02$3 = colors$1.white;
537
538
  var layerActive02$3 = colors$1.gray30;
539
+ var layerBackground02$3 = colors$1.gray10;
538
540
  var layerHover02$3 = colors$1.whiteHover;
539
541
  var layerSelected02$3 = colors$1.gray20;
540
542
  var layerSelectedHover02$3 = colors$1.gray20Hover;
@@ -542,6 +544,7 @@ var layerSelectedHover02$3 = colors$1.gray20Hover;
542
544
  // layer-03
543
545
  var layer03$3 = colors$1.gray10;
544
546
  var layerActive03$3 = colors$1.gray30;
547
+ var layerBackground03$3 = colors$1.white;
545
548
  var layerHover03$3 = colors$1.gray10Hover;
546
549
  var layerSelected03$3 = colors$1.gray20;
547
550
  var layerSelectedHover03$3 = colors$1.gray20Hover;
@@ -738,16 +741,19 @@ var white$1 = /*#__PURE__*/Object.freeze({
738
741
  backgroundSelectedHover: backgroundSelectedHover$7,
739
742
  layer01: layer01$3,
740
743
  layerActive01: layerActive01$3,
744
+ layerBackground01: layerBackground01$3,
741
745
  layerHover01: layerHover01$3,
742
746
  layerSelected01: layerSelected01$3,
743
747
  layerSelectedHover01: layerSelectedHover01$3,
744
748
  layer02: layer02$3,
745
749
  layerActive02: layerActive02$3,
750
+ layerBackground02: layerBackground02$3,
746
751
  layerHover02: layerHover02$3,
747
752
  layerSelected02: layerSelected02$3,
748
753
  layerSelectedHover02: layerSelectedHover02$3,
749
754
  layer03: layer03$3,
750
755
  layerActive03: layerActive03$3,
756
+ layerBackground03: layerBackground03$3,
751
757
  layerHover03: layerHover03$3,
752
758
  layerSelected03: layerSelected03$3,
753
759
  layerSelectedHover03: layerSelectedHover03$3,
@@ -961,6 +967,7 @@ var backgroundSelectedHover$6 = adjustAlpha(colors$1.gray50, 0.32);
961
967
  // layer-01
962
968
  var layer01$2 = colors$1.white;
963
969
  var layerActive01$2 = colors$1.gray30;
970
+ var layerBackground01$2 = colors$1.gray10;
964
971
  var layerHover01$2 = colors$1.whiteHover;
965
972
  var layerSelected01$2 = colors$1.gray20;
966
973
  var layerSelectedHover01$2 = colors$1.gray20Hover;
@@ -968,6 +975,7 @@ var layerSelectedHover01$2 = colors$1.gray20Hover;
968
975
  // layer-02
969
976
  var layer02$2 = colors$1.gray10;
970
977
  var layerActive02$2 = colors$1.gray30;
978
+ var layerBackground02$2 = colors$1.white;
971
979
  var layerHover02$2 = colors$1.gray10Hover;
972
980
  var layerSelected02$2 = colors$1.gray20;
973
981
  var layerSelectedHover02$2 = colors$1.gray20Hover;
@@ -975,6 +983,7 @@ var layerSelectedHover02$2 = colors$1.gray20Hover;
975
983
  // layer-03
976
984
  var layer03$2 = colors$1.white;
977
985
  var layerActive03$2 = colors$1.gray30;
986
+ var layerBackground03$2 = colors$1.gray10;
978
987
  var layerHover03$2 = colors$1.whiteHover;
979
988
  var layerSelected03$2 = colors$1.gray20;
980
989
  var layerSelectedHover03$2 = colors$1.gray20Hover;
@@ -1171,16 +1180,19 @@ var g10$1 = /*#__PURE__*/Object.freeze({
1171
1180
  backgroundSelectedHover: backgroundSelectedHover$6,
1172
1181
  layer01: layer01$2,
1173
1182
  layerActive01: layerActive01$2,
1183
+ layerBackground01: layerBackground01$2,
1174
1184
  layerHover01: layerHover01$2,
1175
1185
  layerSelected01: layerSelected01$2,
1176
1186
  layerSelectedHover01: layerSelectedHover01$2,
1177
1187
  layer02: layer02$2,
1178
1188
  layerActive02: layerActive02$2,
1189
+ layerBackground02: layerBackground02$2,
1179
1190
  layerHover02: layerHover02$2,
1180
1191
  layerSelected02: layerSelected02$2,
1181
1192
  layerSelectedHover02: layerSelectedHover02$2,
1182
1193
  layer03: layer03$2,
1183
1194
  layerActive03: layerActive03$2,
1195
+ layerBackground03: layerBackground03$2,
1184
1196
  layerHover03: layerHover03$2,
1185
1197
  layerSelected03: layerSelected03$2,
1186
1198
  layerSelectedHover03: layerSelectedHover03$2,
@@ -1394,6 +1406,7 @@ var backgroundSelectedHover$5 = adjustAlpha(colors$1.gray50, 0.32);
1394
1406
  // layer-01
1395
1407
  var layer01$1 = colors$1.gray80;
1396
1408
  var layerActive01$1 = colors$1.gray60;
1409
+ var layerBackground01$1 = colors$1.gray90;
1397
1410
  var layerHover01$1 = colors$1.gray80Hover;
1398
1411
  var layerSelected01$1 = colors$1.gray70;
1399
1412
  var layerSelectedHover01$1 = colors$1.gray70Hover;
@@ -1401,6 +1414,7 @@ var layerSelectedHover01$1 = colors$1.gray70Hover;
1401
1414
  // layer-02
1402
1415
  var layer02$1 = colors$1.gray70;
1403
1416
  var layerActive02$1 = colors$1.gray50;
1417
+ var layerBackground02$1 = colors$1.gray80;
1404
1418
  var layerHover02$1 = colors$1.gray70Hover;
1405
1419
  var layerSelected02$1 = colors$1.gray60;
1406
1420
  var layerSelectedHover02$1 = colors$1.gray60Hover;
@@ -1408,6 +1422,7 @@ var layerSelectedHover02$1 = colors$1.gray60Hover;
1408
1422
  // layer-03
1409
1423
  var layer03$1 = colors$1.gray60;
1410
1424
  var layerActive03$1 = colors$1.gray80;
1425
+ var layerBackground03$1 = colors$1.gray70;
1411
1426
  var layerHover03$1 = colors$1.gray60Hover;
1412
1427
  var layerSelected03$1 = colors$1.gray70;
1413
1428
  var layerSelectedHover03$1 = colors$1.gray70Hover;
@@ -1604,16 +1619,19 @@ var g90$1 = /*#__PURE__*/Object.freeze({
1604
1619
  backgroundSelectedHover: backgroundSelectedHover$5,
1605
1620
  layer01: layer01$1,
1606
1621
  layerActive01: layerActive01$1,
1622
+ layerBackground01: layerBackground01$1,
1607
1623
  layerHover01: layerHover01$1,
1608
1624
  layerSelected01: layerSelected01$1,
1609
1625
  layerSelectedHover01: layerSelectedHover01$1,
1610
1626
  layer02: layer02$1,
1611
1627
  layerActive02: layerActive02$1,
1628
+ layerBackground02: layerBackground02$1,
1612
1629
  layerHover02: layerHover02$1,
1613
1630
  layerSelected02: layerSelected02$1,
1614
1631
  layerSelectedHover02: layerSelectedHover02$1,
1615
1632
  layer03: layer03$1,
1616
1633
  layerActive03: layerActive03$1,
1634
+ layerBackground03: layerBackground03$1,
1617
1635
  layerHover03: layerHover03$1,
1618
1636
  layerSelected03: layerSelected03$1,
1619
1637
  layerSelectedHover03: layerSelectedHover03$1,
@@ -1827,6 +1845,7 @@ var backgroundSelectedHover$4 = adjustAlpha(colors$1.gray50, 0.32);
1827
1845
  // layer-01
1828
1846
  var layer01 = colors$1.gray90;
1829
1847
  var layerActive01 = colors$1.gray70;
1848
+ var layerBackground01 = colors$1.gray100;
1830
1849
  var layerHover01 = colors$1.gray90Hover;
1831
1850
  var layerSelected01 = colors$1.gray80;
1832
1851
  var layerSelectedHover01 = colors$1.gray80Hover;
@@ -1834,6 +1853,7 @@ var layerSelectedHover01 = colors$1.gray80Hover;
1834
1853
  // layer-02
1835
1854
  var layer02 = colors$1.gray80;
1836
1855
  var layerActive02 = colors$1.gray60;
1856
+ var layerBackground02 = colors$1.gray90;
1837
1857
  var layerHover02 = colors$1.gray80Hover;
1838
1858
  var layerSelected02 = colors$1.gray70;
1839
1859
  var layerSelectedHover02 = colors$1.gray70Hover;
@@ -1841,6 +1861,7 @@ var layerSelectedHover02 = colors$1.gray70Hover;
1841
1861
  // layer-03
1842
1862
  var layer03 = colors$1.gray70;
1843
1863
  var layerActive03 = colors$1.gray50;
1864
+ var layerBackground03 = colors$1.gray80;
1844
1865
  var layerHover03 = colors$1.gray70Hover;
1845
1866
  var layerSelected03 = colors$1.gray60;
1846
1867
  var layerSelectedHover03 = colors$1.gray60Hover;
@@ -2037,16 +2058,19 @@ var g100$1 = /*#__PURE__*/Object.freeze({
2037
2058
  backgroundSelectedHover: backgroundSelectedHover$4,
2038
2059
  layer01: layer01,
2039
2060
  layerActive01: layerActive01,
2061
+ layerBackground01: layerBackground01,
2040
2062
  layerHover01: layerHover01,
2041
2063
  layerSelected01: layerSelected01,
2042
2064
  layerSelectedHover01: layerSelectedHover01,
2043
2065
  layer02: layer02,
2044
2066
  layerActive02: layerActive02,
2067
+ layerBackground02: layerBackground02,
2045
2068
  layerHover02: layerHover02,
2046
2069
  layerSelected02: layerSelected02,
2047
2070
  layerSelectedHover02: layerSelectedHover02,
2048
2071
  layer03: layer03,
2049
2072
  layerActive03: layerActive03,
2073
+ layerBackground03: layerBackground03,
2050
2074
  layerHover03: layerHover03,
2051
2075
  layerSelected03: layerSelected03,
2052
2076
  layerSelectedHover03: layerSelectedHover03,
@@ -3886,7 +3910,7 @@ var colors = [
3886
3910
  'background', 'layer', 'layerAccent', 'layerAccentHover', 'layerAccentActive', 'field', 'backgroundInverse', 'backgroundBrand', 'interactive', 'borderSubtle', 'borderStrong', 'borderInverse', 'borderInteractive', 'textPrimary', 'textSecondary', 'textPlaceholder', 'textHelper', 'textOnColor', 'textInverse', 'linkPrimary', 'linkSecondary', 'linkVisited', 'linkInverse', 'iconPrimary', 'iconSecondary', 'iconOnColor', 'iconInverse', 'supportError', 'supportSuccess', 'supportWarning', 'supportInfo', 'supportErrorInverse', 'supportSuccessInverse', 'supportWarningInverse', 'supportInfoInverse', 'overlay', 'toggleOff', 'shadow', 'buttonPrimary', 'buttonSecondary', 'buttonTertiary', 'buttonDangerPrimary', 'buttonDangerSecondary', 'backgroundActive', 'layerActive', 'buttonDangerActive', 'buttonPrimaryActive', 'buttonSecondaryActive', 'buttonTertiaryActive', 'focusInset', 'focusInverse', 'backgroundHover', 'layerHover', 'fieldHover', 'backgroundInverseHover', 'linkPrimaryHover', 'buttonDangerHover', 'buttonPrimaryHover', 'buttonSecondaryHover', 'buttonTertiaryHover', 'backgroundSelected', 'backgroundSelectedHover', 'layerSelected', 'layerSelectedHover', 'layerSelectedInverse', 'borderSubtleSelected', 'borderDisabled', 'textDisabled', 'buttonDisabled', 'iconDisabled', 'textOnColorDisabled', 'iconOnColorDisabled', 'layerSelectedDisabled', 'skeletonBackground', 'skeletonElement',
3887
3911
  // Deprecated
3888
3912
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
3889
- var tokens$4 = {
3913
+ var tokens$5 = {
3890
3914
  colors: colors,
3891
3915
  type: type$2.unstable_tokens,
3892
3916
  layout: layout$2.unstable_tokens
@@ -3905,14 +3929,14 @@ var themes$1 = {
3905
3929
  g100: g100
3906
3930
  };
3907
3931
 
3908
- var index$4 = /*#__PURE__*/Object.freeze({
3932
+ var index$5 = /*#__PURE__*/Object.freeze({
3909
3933
  __proto__: null,
3910
3934
  white: white,
3911
3935
  g10: g10,
3912
3936
  g90: g90,
3913
3937
  g100: g100,
3914
3938
  themes: themes$1,
3915
- tokens: tokens$4,
3939
+ tokens: tokens$5,
3916
3940
  caption01: type$2.caption01,
3917
3941
  caption02: type$2.caption02,
3918
3942
  label01: type$2.label01,
@@ -4256,7 +4280,7 @@ var buttonDisabled = {
4256
4280
  g100: 'rgb(141 141 141 / 30%)'
4257
4281
  };
4258
4282
 
4259
- var tokens$3 = /*#__PURE__*/Object.freeze({
4283
+ var tokens$4 = /*#__PURE__*/Object.freeze({
4260
4284
  __proto__: null,
4261
4285
  buttonSeparator: buttonSeparator,
4262
4286
  buttonPrimary: buttonPrimary,
@@ -4282,9 +4306,9 @@ var tokens$3 = /*#__PURE__*/Object.freeze({
4282
4306
  * LICENSE file in the root directory of this source tree.
4283
4307
  */
4284
4308
 
4285
- var index$3 = /*#__PURE__*/Object.freeze({
4309
+ var index$4 = /*#__PURE__*/Object.freeze({
4286
4310
  __proto__: null,
4287
- buttonTokens: tokens$3
4311
+ buttonTokens: tokens$4
4288
4312
  });
4289
4313
 
4290
4314
  /**
@@ -4534,7 +4558,7 @@ var tagBorderWarmGray = {
4534
4558
  g100: colors$1.warmGray50
4535
4559
  };
4536
4560
 
4537
- var tokens$2 = /*#__PURE__*/Object.freeze({
4561
+ var tokens$3 = /*#__PURE__*/Object.freeze({
4538
4562
  __proto__: null,
4539
4563
  tagBackgroundRed: tagBackgroundRed,
4540
4564
  tagColorRed: tagColorRed,
@@ -4585,9 +4609,9 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
4585
4609
  * LICENSE file in the root directory of this source tree.
4586
4610
  */
4587
4611
 
4588
- var index$2 = /*#__PURE__*/Object.freeze({
4612
+ var index$3 = /*#__PURE__*/Object.freeze({
4589
4613
  __proto__: null,
4590
- tagTokens: tokens$2
4614
+ tagTokens: tokens$3
4591
4615
  });
4592
4616
 
4593
4617
  /**
@@ -4655,7 +4679,7 @@ var notificationActionTertiaryInverseTextOnColorDisabled = {
4655
4679
  g100: textOnColorDisabled$7
4656
4680
  };
4657
4681
 
4658
- var tokens$1 = /*#__PURE__*/Object.freeze({
4682
+ var tokens$2 = /*#__PURE__*/Object.freeze({
4659
4683
  __proto__: null,
4660
4684
  notificationBackgroundError: notificationBackgroundError,
4661
4685
  notificationBackgroundSuccess: notificationBackgroundSuccess,
@@ -4676,9 +4700,9 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
4676
4700
  * LICENSE file in the root directory of this source tree.
4677
4701
  */
4678
4702
 
4679
- var index$1 = /*#__PURE__*/Object.freeze({
4703
+ var index$2 = /*#__PURE__*/Object.freeze({
4680
4704
  __proto__: null,
4681
- notificationTokens: tokens$1
4705
+ notificationTokens: tokens$2
4682
4706
  });
4683
4707
 
4684
4708
  /**
@@ -4744,7 +4768,7 @@ var statusAccessibilityBackground = {
4744
4768
  g100: colors$1.gray100
4745
4769
  };
4746
4770
 
4747
- var tokens = /*#__PURE__*/Object.freeze({
4771
+ var tokens$1 = /*#__PURE__*/Object.freeze({
4748
4772
  __proto__: null,
4749
4773
  statusRed: statusRed,
4750
4774
  statusOrange: statusOrange,
@@ -4758,6 +4782,51 @@ var tokens = /*#__PURE__*/Object.freeze({
4758
4782
  statusAccessibilityBackground: statusAccessibilityBackground
4759
4783
  });
4760
4784
 
4785
+ /**
4786
+ * Copyright IBM Corp. 2025
4787
+ *
4788
+ * This source code is licensed under the Apache-2.0 license found in the
4789
+ * LICENSE file in the root directory of this source tree.
4790
+ */
4791
+
4792
+ var index$1 = /*#__PURE__*/Object.freeze({
4793
+ __proto__: null,
4794
+ statusTokens: tokens$1
4795
+ });
4796
+
4797
+ /**
4798
+ * Copyright IBM Corp. 2025
4799
+ *
4800
+ * This source code is licensed under the Apache-2.0 license found in the
4801
+ * LICENSE file in the root directory of this source tree.
4802
+ */
4803
+ var transparent = 'rgba(0, 0, 0, 0)';
4804
+ var contentSwitcherSelected = {
4805
+ whiteTheme: colors$1.white,
4806
+ g10: colors$1.white,
4807
+ g90: colors$1.rgba(colors$1.gray50, 0.24),
4808
+ g100: colors$1.rgba(colors$1.gray50, 0.24)
4809
+ };
4810
+ var contentSwitcherBackground = {
4811
+ whiteTheme: colors$1.gray20,
4812
+ g10: colors$1.gray20,
4813
+ g90: transparent,
4814
+ g100: transparent
4815
+ };
4816
+ var contentSwitcherBackgroundHover = {
4817
+ whiteTheme: colors$1.gray20Hover,
4818
+ g10: colors$1.gray20Hover,
4819
+ g90: colors$1.rgba(colors$1.gray50, 0.12),
4820
+ g100: colors$1.rgba(colors$1.gray50, 0.12)
4821
+ };
4822
+
4823
+ var tokens = /*#__PURE__*/Object.freeze({
4824
+ __proto__: null,
4825
+ contentSwitcherSelected: contentSwitcherSelected,
4826
+ contentSwitcherBackground: contentSwitcherBackground,
4827
+ contentSwitcherBackgroundHover: contentSwitcherBackgroundHover
4828
+ });
4829
+
4761
4830
  /**
4762
4831
  * Copyright IBM Corp. 2025
4763
4832
  *
@@ -4767,7 +4836,7 @@ var tokens = /*#__PURE__*/Object.freeze({
4767
4836
 
4768
4837
  var index = /*#__PURE__*/Object.freeze({
4769
4838
  __proto__: null,
4770
- statusTokens: tokens
4839
+ contentSwitcherTokens: tokens
4771
4840
  });
4772
4841
 
4773
4842
  /**
@@ -5071,6 +5140,8 @@ var layer = TokenGroup.create({
5071
5140
  }, {
5072
5141
  state: 'active',
5073
5142
  name: 'layer-active-01'
5143
+ }, {
5144
+ name: 'layer-background-01'
5074
5145
  }, {
5075
5146
  state: 'hover',
5076
5147
  name: 'layer-hover-01'
@@ -5085,6 +5156,8 @@ var layer = TokenGroup.create({
5085
5156
  }, {
5086
5157
  state: 'active',
5087
5158
  name: 'layer-active-02'
5159
+ }, {
5160
+ name: 'layer-background-02'
5088
5161
  }, {
5089
5162
  state: 'hover',
5090
5163
  name: 'layer-hover-02'
@@ -5099,6 +5172,8 @@ var layer = TokenGroup.create({
5099
5172
  }, {
5100
5173
  state: 'active',
5101
5174
  name: 'layer-active-03'
5175
+ }, {
5176
+ name: 'layer-background-03'
5102
5177
  }, {
5103
5178
  state: 'hover',
5104
5179
  name: 'layer-hover-03'
@@ -5313,13 +5388,19 @@ var status = TokenGroup.create({
5313
5388
  properties: [],
5314
5389
  tokens: ['status-red', 'status-orange', 'status-orange-outline', 'status-yellow', 'status-yellow-outline', 'status-purple', 'status-green', 'status-blue', 'status-gray']
5315
5390
  });
5391
+ var contentSwitcher = TokenGroup.create({
5392
+ name: 'Content Switcher',
5393
+ properties: [],
5394
+ tokens: ['content-switcher-selected', 'content-switcher-background', 'content-switcher-background-hover']
5395
+ });
5316
5396
 
5317
5397
  var components = /*#__PURE__*/Object.freeze({
5318
5398
  __proto__: null,
5319
5399
  button: button,
5320
5400
  notification: notification,
5321
5401
  tag: tag,
5322
- status: status
5402
+ status: status,
5403
+ contentSwitcher: contentSwitcher
5323
5404
  });
5324
5405
 
5325
5406
  /**
@@ -5755,7 +5836,7 @@ exports.borderSubtleSelected03 = borderSubtleSelected03$3;
5755
5836
  exports.borderTile01 = borderTile01$3;
5756
5837
  exports.borderTile02 = borderTile02$3;
5757
5838
  exports.borderTile03 = borderTile03$3;
5758
- exports.buttonTokens = index$3;
5839
+ exports.buttonTokens = index$4;
5759
5840
  exports.chatAvatarAgent = chatAvatarAgent$3;
5760
5841
  exports.chatAvatarBot = chatAvatarBot$3;
5761
5842
  exports.chatAvatarUser = chatAvatarUser$3;
@@ -5773,6 +5854,7 @@ exports.chatPromptBackground = chatPromptBackground$3;
5773
5854
  exports.chatPromptBorderEnd = chatPromptBorderEnd$3;
5774
5855
  exports.chatPromptBorderStart = chatPromptBorderStart$3;
5775
5856
  exports.chatShellBackground = chatShellBackground$3;
5857
+ exports.contentSwitcherTokens = index;
5776
5858
  exports.field01 = field01$7;
5777
5859
  exports.field02 = field02$7;
5778
5860
  exports.field03 = field03$3;
@@ -5810,6 +5892,9 @@ exports.layerAccentHover03 = layerAccentHover03$3;
5810
5892
  exports.layerActive01 = layerActive01$3;
5811
5893
  exports.layerActive02 = layerActive02$3;
5812
5894
  exports.layerActive03 = layerActive03$3;
5895
+ exports.layerBackground01 = layerBackground01$3;
5896
+ exports.layerBackground02 = layerBackground02$3;
5897
+ exports.layerBackground03 = layerBackground03$3;
5813
5898
  exports.layerHover01 = layerHover01$3;
5814
5899
  exports.layerHover02 = layerHover02$3;
5815
5900
  exports.layerHover03 = layerHover03$3;
@@ -5829,12 +5914,12 @@ exports.linkPrimary = linkPrimary$7;
5829
5914
  exports.linkPrimaryHover = linkPrimaryHover$7;
5830
5915
  exports.linkSecondary = linkSecondary$7;
5831
5916
  exports.linkVisited = linkVisited$7;
5832
- exports.notificationTokens = index$1;
5917
+ exports.notificationTokens = index$2;
5833
5918
  exports.overlay = overlay$7;
5834
5919
  exports.shadow = shadow$7;
5835
5920
  exports.skeletonBackground = skeletonBackground$7;
5836
5921
  exports.skeletonElement = skeletonElement$7;
5837
- exports.statusTokens = index;
5922
+ exports.statusTokens = index$1;
5838
5923
  exports.supportCautionMajor = supportCautionMajor$3;
5839
5924
  exports.supportCautionMinor = supportCautionMinor$3;
5840
5925
  exports.supportCautionUndefined = supportCautionUndefined$3;
@@ -5846,7 +5931,7 @@ exports.supportSuccess = supportSuccess$7;
5846
5931
  exports.supportSuccessInverse = supportSuccessInverse$7;
5847
5932
  exports.supportWarning = supportWarning$7;
5848
5933
  exports.supportWarningInverse = supportWarningInverse$7;
5849
- exports.tagTokens = index$2;
5934
+ exports.tagTokens = index$3;
5850
5935
  exports.textDisabled = textDisabled$7;
5851
5936
  exports.textError = textError$7;
5852
5937
  exports.textHelper = textHelper$7;
@@ -5859,5 +5944,5 @@ exports.textSecondary = textSecondary$7;
5859
5944
  exports.themes = themes;
5860
5945
  exports.toggleOff = toggleOff$7;
5861
5946
  exports.unstable_metadata = unstable_metadata;
5862
- exports.v10 = index$4;
5947
+ exports.v10 = index$5;
5863
5948
  exports.white = white$1;
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": "11.52.0-rc.0",
4
+ "version": "11.53.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -32,16 +32,16 @@
32
32
  "postinstall": "ibmtelemetry --config=telemetry.yml"
33
33
  },
34
34
  "dependencies": {
35
- "@carbon/colors": "^11.33.0-rc.0",
36
- "@carbon/layout": "^11.34.0-rc.0",
37
- "@carbon/type": "^11.40.0-rc.0",
35
+ "@carbon/colors": "^11.33.0",
36
+ "@carbon/layout": "^11.34.0",
37
+ "@carbon/type": "^11.40.0",
38
38
  "@ibm/telemetry-js": "^1.5.0",
39
39
  "color": "^4.0.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@babel/node": "^7.24.7",
43
43
  "@babel/preset-env": "^7.24.7",
44
- "@carbon/cli": "^11.27.0-rc.0",
44
+ "@carbon/cli": "^11.27.0",
45
45
  "@carbon/cli-reporter": "^10.7.0",
46
46
  "@carbon/scss-generator": "^10.19.0",
47
47
  "@carbon/test-utils": "^10.36.0",
@@ -52,5 +52,5 @@
52
52
  "rimraf": "^6.0.0"
53
53
  },
54
54
  "sideEffects": false,
55
- "gitHead": "3b78e2acacf62b0a9e5425e5f3b43e6798cd209f"
55
+ "gitHead": "68105b183b14b348bcba4622f86a9e50265414da"
56
56
  }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2022, 2023
2
+ // Copyright IBM Corp. 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -9,3 +9,4 @@
9
9
  @forward 'generated/tag-tokens';
10
10
  @forward 'generated/notification-tokens';
11
11
  @forward 'generated/status-tokens';
12
+ @forward 'generated/content-switcher-tokens';
@@ -0,0 +1,30 @@
1
+ // Code generated by @carbon/themes. DO NOT EDIT.
2
+ //
3
+ // Copyright IBM Corp. 2018, 2023
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
8
+
9
+ @use 'sass:map';
10
+
11
+ $content-switcher-background: (
12
+ white-theme: #e0e0e0,
13
+ g-10: #e0e0e0,
14
+ g-90: rgba(0, 0, 0, 0),
15
+ g-100: rgba(0, 0, 0, 0),
16
+ ) !default;
17
+
18
+ $content-switcher-background-hover: (
19
+ white-theme: #d1d1d1,
20
+ g-10: #d1d1d1,
21
+ g-90: rgba(141, 141, 141, 0.12),
22
+ g-100: rgba(141, 141, 141, 0.12),
23
+ ) !default;
24
+
25
+ $content-switcher-selected: (
26
+ white-theme: #ffffff,
27
+ g-10: #ffffff,
28
+ g-90: rgba(141, 141, 141, 0.24),
29
+ g-100: rgba(141, 141, 141, 0.24),
30
+ ) !default;
@@ -107,6 +107,9 @@ $white: (
107
107
  layer-active-01: #c6c6c6,
108
108
  layer-active-02: #c6c6c6,
109
109
  layer-active-03: #c6c6c6,
110
+ layer-background-01: #ffffff,
111
+ layer-background-02: #f4f4f4,
112
+ layer-background-03: #ffffff,
110
113
  layer-hover-01: #e8e8e8,
111
114
  layer-hover-02: #e8e8e8,
112
115
  layer-hover-03: #e8e8e8,
@@ -255,6 +258,9 @@ $g10: (
255
258
  layer-active-01: #c6c6c6,
256
259
  layer-active-02: #c6c6c6,
257
260
  layer-active-03: #c6c6c6,
261
+ layer-background-01: #f4f4f4,
262
+ layer-background-02: #ffffff,
263
+ layer-background-03: #f4f4f4,
258
264
  layer-hover-01: #e8e8e8,
259
265
  layer-hover-02: #e8e8e8,
260
266
  layer-hover-03: #e8e8e8,
@@ -403,6 +409,9 @@ $g90: (
403
409
  layer-active-01: #6f6f6f,
404
410
  layer-active-02: #8d8d8d,
405
411
  layer-active-03: #393939,
412
+ layer-background-01: #262626,
413
+ layer-background-02: #393939,
414
+ layer-background-03: #525252,
406
415
  layer-hover-01: #474747,
407
416
  layer-hover-02: #636363,
408
417
  layer-hover-03: #5e5e5e,
@@ -551,6 +560,9 @@ $g100: (
551
560
  layer-active-01: #525252,
552
561
  layer-active-02: #6f6f6f,
553
562
  layer-active-03: #8d8d8d,
563
+ layer-background-01: #161616,
564
+ layer-background-02: #262626,
565
+ layer-background-03: #393939,
554
566
  layer-hover-01: #333333,
555
567
  layer-hover-02: #474747,
556
568
  layer-hover-03: #636363,
@@ -49,6 +49,9 @@ $layer-01: _get('layer-01') !default;
49
49
  /// The CSS Custom Property for the `layer-active-01` token
50
50
  $layer-active-01: _get('layer-active-01') !default;
51
51
 
52
+ /// The CSS Custom Property for the `layer-background-01` token
53
+ $layer-background-01: _get('layer-background-01') !default;
54
+
52
55
  /// The CSS Custom Property for the `layer-hover-01` token
53
56
  $layer-hover-01: _get('layer-hover-01') !default;
54
57
 
@@ -64,6 +67,9 @@ $layer-02: _get('layer-02') !default;
64
67
  /// The CSS Custom Property for the `layer-active-02` token
65
68
  $layer-active-02: _get('layer-active-02') !default;
66
69
 
70
+ /// The CSS Custom Property for the `layer-background-02` token
71
+ $layer-background-02: _get('layer-background-02') !default;
72
+
67
73
  /// The CSS Custom Property for the `layer-hover-02` token
68
74
  $layer-hover-02: _get('layer-hover-02') !default;
69
75
 
@@ -79,6 +85,9 @@ $layer-03: _get('layer-03') !default;
79
85
  /// The CSS Custom Property for the `layer-active-03` token
80
86
  $layer-active-03: _get('layer-active-03') !default;
81
87
 
88
+ /// The CSS Custom Property for the `layer-background-03` token
89
+ $layer-background-03: _get('layer-background-03') !default;
90
+
82
91
  /// The CSS Custom Property for the `layer-hover-03` token
83
92
  $layer-hover-03: _get('layer-hover-03') !default;
84
93
 
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export * as contentSwitcherTokens from './tokens';
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { gray20, gray20Hover, gray50, white, rgba } from '@carbon/colors';
9
+ const transparent = 'rgba(0, 0, 0, 0)';
10
+ export const contentSwitcherSelected = {
11
+ whiteTheme: white,
12
+ g10: white,
13
+ g90: rgba(gray50, 0.24),
14
+ g100: rgba(gray50, 0.24),
15
+ };
16
+
17
+ export const contentSwitcherBackground = {
18
+ whiteTheme: gray20,
19
+ g10: gray20,
20
+ g90: transparent,
21
+ g100: transparent,
22
+ };
23
+
24
+ export const contentSwitcherBackgroundHover = {
25
+ whiteTheme: gray20Hover,
26
+ g10: gray20Hover,
27
+ g90: rgba(gray50, 0.12),
28
+ g100: rgba(gray50, 0.12),
29
+ };
package/src/g10.js CHANGED
@@ -62,6 +62,7 @@ export const backgroundSelectedHover = adjustAlpha(gray50, 0.32);
62
62
  // layer-01
63
63
  export const layer01 = white;
64
64
  export const layerActive01 = gray30;
65
+ export const layerBackground01 = gray10;
65
66
  export const layerHover01 = whiteHover;
66
67
  export const layerSelected01 = gray20;
67
68
  export const layerSelectedHover01 = gray20Hover;
@@ -69,6 +70,7 @@ export const layerSelectedHover01 = gray20Hover;
69
70
  // layer-02
70
71
  export const layer02 = gray10;
71
72
  export const layerActive02 = gray30;
73
+ export const layerBackground02 = white;
72
74
  export const layerHover02 = gray10Hover;
73
75
  export const layerSelected02 = gray20;
74
76
  export const layerSelectedHover02 = gray20Hover;
@@ -76,6 +78,7 @@ export const layerSelectedHover02 = gray20Hover;
76
78
  // layer-03
77
79
  export const layer03 = white;
78
80
  export const layerActive03 = gray30;
81
+ export const layerBackground03 = gray10;
79
82
  export const layerHover03 = whiteHover;
80
83
  export const layerSelected03 = gray20;
81
84
  export const layerSelectedHover03 = gray20Hover;
package/src/g100.js CHANGED
@@ -65,6 +65,7 @@ export const backgroundSelectedHover = adjustAlpha(gray50, 0.32);
65
65
  // layer-01
66
66
  export const layer01 = gray90;
67
67
  export const layerActive01 = gray70;
68
+ export const layerBackground01 = gray100;
68
69
  export const layerHover01 = gray90Hover;
69
70
  export const layerSelected01 = gray80;
70
71
  export const layerSelectedHover01 = gray80Hover;
@@ -72,6 +73,7 @@ export const layerSelectedHover01 = gray80Hover;
72
73
  // layer-02
73
74
  export const layer02 = gray80;
74
75
  export const layerActive02 = gray60;
76
+ export const layerBackground02 = gray90;
75
77
  export const layerHover02 = gray80Hover;
76
78
  export const layerSelected02 = gray70;
77
79
  export const layerSelectedHover02 = gray70Hover;
@@ -79,6 +81,7 @@ export const layerSelectedHover02 = gray70Hover;
79
81
  // layer-03
80
82
  export const layer03 = gray70;
81
83
  export const layerActive03 = gray50;
84
+ export const layerBackground03 = gray80;
82
85
  export const layerHover03 = gray70Hover;
83
86
  export const layerSelected03 = gray60;
84
87
  export const layerSelectedHover03 = gray60Hover;