@carbon/themes 11.26.0-rc.0 → 11.26.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/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { white as white$2, gray80, blue60, gray80Hover, gray10, gray30, gray10Hover, gray20, gray20Hover, whiteHover, gray100, gray50, gray40, gray70, gray60, red60, blue70, blue40, purple60, blue30, green50, yellow30, red50, green40, blue50, orange40, blue20, gray90, gray70Hover, gray60Hover, gray50Hover, red30, purple40, red40, purple50, gray90Hover, rgba, black, blue80, green60, red80, red20, red70, red20Hover, red70Hover, magenta20, magenta70, magenta80, magenta20Hover, magenta70Hover, purple20, purple70, purple80, purple20Hover, purple70Hover, blue20Hover, blue70Hover, cyan20, cyan70, cyan80, cyan20Hover, cyan70Hover, teal20, teal70, teal80, teal20Hover, teal70Hover, green20, green70, green80, green20Hover, green70Hover, coolGray20, coolGray70, coolGray80, coolGray20Hover, coolGray70Hover, warmGray20, warmGray70, warmGray80, warmGray20Hover, warmGray70Hover, red10, green10, blue10, white0 } from '@carbon/colors';
1
+ import { white as white$2, gray80, blue60, gray80Hover, gray10, gray30, gray10Hover, gray20, gray20Hover, whiteHover, gray100, gray50, gray40, gray70, gray60, red60, blue70, blue40, purple60, blue30, green50, yellow30, red50, green40, blue50, orange40, blue20, rgba, blue10, gray90, gray70Hover, gray60Hover, gray50Hover, red30, purple40, red40, purple50, gray90Hover, black, gray30Hover, blue80, green60, red80, red20, red70, red20Hover, red70Hover, magenta20, magenta70, magenta80, magenta20Hover, magenta70Hover, purple20, purple70, purple80, purple20Hover, purple70Hover, blue20Hover, blue70Hover, cyan20, cyan70, cyan80, cyan20Hover, cyan70Hover, teal20, teal70, teal80, teal20Hover, teal70Hover, green20, green70, green80, green20Hover, green70Hover, coolGray20, coolGray70, coolGray80, coolGray20Hover, coolGray70Hover, warmGray20, warmGray70, warmGray80, warmGray20Hover, warmGray70Hover, red10, green10, white0 } from '@carbon/colors';
2
2
  import Color from 'color';
3
3
  import { caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04, legal01, legal02, bodyCompact01, bodyCompact02, body01, body02, headingCompact01, headingCompact02, heading03, heading04, heading05, heading06, heading07, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04, unstable_tokens } from '@carbon/type';
4
4
  export { bodyLong01, bodyLong02, bodyShort01, bodyShort02, caption01, caption02, code01, code02, display01, display02, display03, display04, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, heading01, heading02, helperText01, helperText02, label01, label02, productiveHeading01, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, quotation01, quotation02 } from '@carbon/type';
@@ -683,6 +683,17 @@ var overlay$7 = 'rgba(22, 22, 22, 0.5)';
683
683
  var toggleOff$7 = gray50;
684
684
  var shadow$7 = 'rgba(0, 0, 0, 0.3)';
685
685
 
686
+ // AI
687
+ var slugBackground$3 = gray70;
688
+ var slugGradient$3 = "".concat(gray100, " linear-gradient(135deg, ").concat(gray40, " 0%, rgba(").concat(white$2, ", 0) 100%)");
689
+ var slugBackgroundHover$3 = gray60;
690
+ var slugGradientHover$3 = "".concat(gray100, " linear-gradient(135deg, ").concat(gray20Hover, " 0%, rgba(").concat(white$2, ", 0) 100%)");
691
+ var slugHollowHover$3 = gray80Hover;
692
+ var slugCalloutGradientTop$3 = rgba(gray10, 0.85);
693
+ var slugCalloutGradientBottom$3 = rgba(gray20, 0.85);
694
+ var slugCalloutAuraStart$3 = rgba(blue10, 0.6);
695
+ var slugCalloutAuraEnd$3 = rgba(white$2, 0);
696
+
686
697
  var white$1 = /*#__PURE__*/Object.freeze({
687
698
  __proto__: null,
688
699
  background: background$8,
@@ -785,6 +796,15 @@ var white$1 = /*#__PURE__*/Object.freeze({
785
796
  overlay: overlay$7,
786
797
  toggleOff: toggleOff$7,
787
798
  shadow: shadow$7,
799
+ slugBackground: slugBackground$3,
800
+ slugGradient: slugGradient$3,
801
+ slugBackgroundHover: slugBackgroundHover$3,
802
+ slugGradientHover: slugGradientHover$3,
803
+ slugHollowHover: slugHollowHover$3,
804
+ slugCalloutGradientTop: slugCalloutGradientTop$3,
805
+ slugCalloutGradientBottom: slugCalloutGradientBottom$3,
806
+ slugCalloutAuraStart: slugCalloutAuraStart$3,
807
+ slugCalloutAuraEnd: slugCalloutAuraEnd$3,
788
808
  caption01: caption01,
789
809
  caption02: caption02,
790
810
  label01: label01,
@@ -1022,6 +1042,17 @@ var overlay$6 = 'rgba(22, 22, 22, 0.5)';
1022
1042
  var toggleOff$6 = gray50;
1023
1043
  var shadow$6 = 'rgba(0, 0, 0, 0.3)';
1024
1044
 
1045
+ // AI
1046
+ var slugBackground$2 = gray70;
1047
+ var slugGradient$2 = "".concat(gray100, " linear-gradient(135deg, ").concat(gray40, " 0%, rgba(").concat(white$2, ", 0) 100%)");
1048
+ var slugBackgroundHover$2 = gray60;
1049
+ var slugGradientHover$2 = "".concat(gray100, " linear-gradient(135deg, ").concat(gray20Hover, " 0%, rgba(").concat(white$2, ", 0) 100%)");
1050
+ var slugHollowHover$2 = gray80Hover;
1051
+ var slugCalloutGradientTop$2 = rgba(gray10, 0.85);
1052
+ var slugCalloutGradientBottom$2 = rgba(gray20, 0.85);
1053
+ var slugCalloutAuraStart$2 = rgba(blue10, 0.6);
1054
+ var slugCalloutAuraEnd$2 = rgba(white$2, 0);
1055
+
1025
1056
  var g10$1 = /*#__PURE__*/Object.freeze({
1026
1057
  __proto__: null,
1027
1058
  background: background$7,
@@ -1124,6 +1155,15 @@ var g10$1 = /*#__PURE__*/Object.freeze({
1124
1155
  overlay: overlay$6,
1125
1156
  toggleOff: toggleOff$6,
1126
1157
  shadow: shadow$6,
1158
+ slugBackground: slugBackground$2,
1159
+ slugGradient: slugGradient$2,
1160
+ slugBackgroundHover: slugBackgroundHover$2,
1161
+ slugGradientHover: slugGradientHover$2,
1162
+ slugHollowHover: slugHollowHover$2,
1163
+ slugCalloutGradientTop: slugCalloutGradientTop$2,
1164
+ slugCalloutGradientBottom: slugCalloutGradientBottom$2,
1165
+ slugCalloutAuraStart: slugCalloutAuraStart$2,
1166
+ slugCalloutAuraEnd: slugCalloutAuraEnd$2,
1127
1167
  caption01: caption01,
1128
1168
  caption02: caption02,
1129
1169
  label01: label01,
@@ -1361,6 +1401,17 @@ var overlay$5 = rgba(black, 0.65);
1361
1401
  var toggleOff$5 = gray50;
1362
1402
  var shadow$5 = rgba(black, 0.8);
1363
1403
 
1404
+ // AI
1405
+ var slugBackground$1 = gray30;
1406
+ var slugGradient$1 = "".concat(gray50, " linear-gradient(135deg, ").concat(gray10, " 0%, rgba(").concat(white$2, ", 0) 100%)");
1407
+ var slugBackgroundHover$1 = gray20;
1408
+ var slugGradientHover$1 = "".concat(gray40, " linear-gradient(135deg, ").concat(white$2, " 0%, rgba(").concat(white$2, ", 0) 100%)");
1409
+ var slugHollowHover$1 = gray30Hover;
1410
+ var slugCalloutGradientTop$1 = rgba(gray100, 0.85);
1411
+ var slugCalloutGradientBottom$1 = rgba(gray90, 0.85);
1412
+ var slugCalloutAuraStart$1 = rgba(blue20, 0.2);
1413
+ var slugCalloutAuraEnd$1 = rgba(gray100, 0);
1414
+
1364
1415
  var g90$1 = /*#__PURE__*/Object.freeze({
1365
1416
  __proto__: null,
1366
1417
  background: background$6,
@@ -1463,6 +1514,15 @@ var g90$1 = /*#__PURE__*/Object.freeze({
1463
1514
  overlay: overlay$5,
1464
1515
  toggleOff: toggleOff$5,
1465
1516
  shadow: shadow$5,
1517
+ slugBackground: slugBackground$1,
1518
+ slugGradient: slugGradient$1,
1519
+ slugBackgroundHover: slugBackgroundHover$1,
1520
+ slugGradientHover: slugGradientHover$1,
1521
+ slugHollowHover: slugHollowHover$1,
1522
+ slugCalloutGradientTop: slugCalloutGradientTop$1,
1523
+ slugCalloutGradientBottom: slugCalloutGradientBottom$1,
1524
+ slugCalloutAuraStart: slugCalloutAuraStart$1,
1525
+ slugCalloutAuraEnd: slugCalloutAuraEnd$1,
1466
1526
  caption01: caption01,
1467
1527
  caption02: caption02,
1468
1528
  label01: label01,
@@ -1700,6 +1760,17 @@ var overlay$4 = rgba(black, 0.65);
1700
1760
  var toggleOff$4 = gray60;
1701
1761
  var shadow$4 = rgba(black, 0.8);
1702
1762
 
1763
+ // AI
1764
+ var slugBackground = gray30;
1765
+ var slugGradient = "".concat(gray50, " linear-gradient(135deg, ").concat(gray10, " 0%, rgba(").concat(white$2, ", 0) 100%)");
1766
+ var slugBackgroundHover = gray20;
1767
+ var slugGradientHover = "".concat(gray40, " linear-gradient(135deg, ").concat(white$2, " 0%, rgba(").concat(white$2, ", 0) 100%)");
1768
+ var slugHollowHover = gray30Hover;
1769
+ var slugCalloutGradientTop = rgba(gray100, 0.85);
1770
+ var slugCalloutGradientBottom = rgba(gray90, 0.85);
1771
+ var slugCalloutAuraStart = rgba(blue20, 0.2);
1772
+ var slugCalloutAuraEnd = rgba(gray100, 0);
1773
+
1703
1774
  var g100$1 = /*#__PURE__*/Object.freeze({
1704
1775
  __proto__: null,
1705
1776
  background: background$5,
@@ -1802,6 +1873,15 @@ var g100$1 = /*#__PURE__*/Object.freeze({
1802
1873
  overlay: overlay$4,
1803
1874
  toggleOff: toggleOff$4,
1804
1875
  shadow: shadow$4,
1876
+ slugBackground: slugBackground,
1877
+ slugGradient: slugGradient,
1878
+ slugBackgroundHover: slugBackgroundHover,
1879
+ slugGradientHover: slugGradientHover,
1880
+ slugHollowHover: slugHollowHover,
1881
+ slugCalloutGradientTop: slugCalloutGradientTop,
1882
+ slugCalloutGradientBottom: slugCalloutGradientBottom,
1883
+ slugCalloutAuraStart: slugCalloutAuraStart,
1884
+ slugCalloutAuraEnd: slugCalloutAuraEnd,
1805
1885
  caption01: caption01,
1806
1886
  caption02: caption02,
1807
1887
  label01: label01,
@@ -4695,6 +4775,11 @@ var contextual = TokenGroup.create({
4695
4775
  properties: [],
4696
4776
  tokens: ['layer', 'layer-active', 'layer-hover', 'layer-selected', 'layer-selected-hover', 'layer-accent', 'layer-accent-hover', 'layer-accent-active', 'field', 'field-hover', 'border-subtle', 'border-subtle-selected', 'border-strong', 'border-tile']
4697
4777
  });
4778
+ var ai = TokenGroup.create({
4779
+ name: 'AI',
4780
+ properties: ['background'],
4781
+ tokens: ['slug-background', 'slug-gradient', 'slug-background-hover', 'slug-gradient-hover', 'slug-hollow-hover', 'slug-callout-gradient-top', 'slug-callout-gradient-bottom', 'slug-callout-aura-start', 'slug-callout-aura-end']
4782
+ });
4698
4783
  var group = TokenGroup.create({
4699
4784
  name: 'All',
4700
4785
  tokens: [background, layer, field,
@@ -4702,7 +4787,7 @@ var group = TokenGroup.create({
4702
4787
  {
4703
4788
  name: 'interactive',
4704
4789
  properties: ['background', 'text']
4705
- }, border, text, link, icon, support,
4790
+ }, border, text, link, icon, support, ai,
4706
4791
  // Misc
4707
4792
  {
4708
4793
  name: 'highlight'
@@ -4849,4 +4934,4 @@ var themes = {
4849
4934
  g100: g100$1
4850
4935
  };
4851
4936
 
4852
- export { background$8 as background, backgroundActive$7 as backgroundActive, backgroundBrand$7 as backgroundBrand, backgroundHover$7 as backgroundHover, backgroundInverse$7 as backgroundInverse, backgroundInverseHover$7 as backgroundInverseHover, backgroundSelected$7 as backgroundSelected, backgroundSelectedHover$7 as backgroundSelectedHover, borderDisabled$7 as borderDisabled, borderInteractive$7 as borderInteractive, borderInverse$7 as borderInverse, borderStrong01$3 as borderStrong01, borderStrong02$3 as borderStrong02, borderStrong03$3 as borderStrong03, borderSubtle00$3 as borderSubtle00, borderSubtle01$3 as borderSubtle01, borderSubtle02$3 as borderSubtle02, borderSubtle03$3 as borderSubtle03, borderSubtleSelected01$3 as borderSubtleSelected01, borderSubtleSelected02$3 as borderSubtleSelected02, borderSubtleSelected03$3 as borderSubtleSelected03, borderTile01$3 as borderTile01, borderTile02$3 as borderTile02, borderTile03$3 as borderTile03, index$2 as buttonTokens, field01$7 as field01, field02$7 as field02, field03$3 as field03, fieldHover01$3 as fieldHover01, fieldHover02$3 as fieldHover02, fieldHover03$3 as fieldHover03, focus$8 as focus, focusInset$7 as focusInset, focusInverse$7 as focusInverse, formatTokenName, g10$1 as g10, g100$1 as g100, g90$1 as g90, highlight$7 as highlight, iconDisabled$7 as iconDisabled, iconInteractive$3 as iconInteractive, iconInverse$7 as iconInverse, iconOnColor$7 as iconOnColor, iconOnColorDisabled$7 as iconOnColorDisabled, iconPrimary$7 as iconPrimary, iconSecondary$7 as iconSecondary, interactive$7 as interactive, layer01$3 as layer01, layer02$3 as layer02, layer03$3 as layer03, layerAccent01$3 as layerAccent01, layerAccent02$3 as layerAccent02, layerAccent03$3 as layerAccent03, layerAccentActive01$3 as layerAccentActive01, layerAccentActive02$3 as layerAccentActive02, layerAccentActive03$3 as layerAccentActive03, layerAccentHover01$3 as layerAccentHover01, layerAccentHover02$3 as layerAccentHover02, layerAccentHover03$3 as layerAccentHover03, layerActive01$3 as layerActive01, layerActive02$3 as layerActive02, layerActive03$3 as layerActive03, layerHover01$3 as layerHover01, layerHover02$3 as layerHover02, layerHover03$3 as layerHover03, layerSelected01$3 as layerSelected01, layerSelected02$3 as layerSelected02, layerSelected03$3 as layerSelected03, layerSelectedDisabled$7 as layerSelectedDisabled, layerSelectedHover01$3 as layerSelectedHover01, layerSelectedHover02$3 as layerSelectedHover02, layerSelectedHover03$3 as layerSelectedHover03, layerSelectedInverse$7 as layerSelectedInverse, linkInverse$7 as linkInverse, linkInverseActive$3 as linkInverseActive, linkInverseHover$3 as linkInverseHover, linkPrimary$7 as linkPrimary, linkPrimaryHover$7 as linkPrimaryHover, linkSecondary$7 as linkSecondary, linkVisited$7 as linkVisited, index as notificationTokens, overlay$7 as overlay, shadow$7 as shadow, skeletonBackground$7 as skeletonBackground, skeletonElement$7 as skeletonElement, supportCautionMajor$3 as supportCautionMajor, supportCautionMinor$3 as supportCautionMinor, supportCautionUndefined$3 as supportCautionUndefined, supportError$7 as supportError, supportErrorInverse$7 as supportErrorInverse, supportInfo$7 as supportInfo, supportInfoInverse$7 as supportInfoInverse, supportSuccess$7 as supportSuccess, supportSuccessInverse$7 as supportSuccessInverse, supportWarning$7 as supportWarning, supportWarningInverse$7 as supportWarningInverse, index$1 as tagTokens, textDisabled$7 as textDisabled, textError$7 as textError, textHelper$7 as textHelper, textInverse$7 as textInverse, textOnColor$7 as textOnColor, textOnColorDisabled$7 as textOnColorDisabled, textPlaceholder$7 as textPlaceholder, textPrimary$7 as textPrimary, textSecondary$7 as textSecondary, themes, toggleOff$7 as toggleOff, unstable_metadata, index$3 as v10, white$1 as white };
4937
+ export { background$8 as background, backgroundActive$7 as backgroundActive, backgroundBrand$7 as backgroundBrand, backgroundHover$7 as backgroundHover, backgroundInverse$7 as backgroundInverse, backgroundInverseHover$7 as backgroundInverseHover, backgroundSelected$7 as backgroundSelected, backgroundSelectedHover$7 as backgroundSelectedHover, borderDisabled$7 as borderDisabled, borderInteractive$7 as borderInteractive, borderInverse$7 as borderInverse, borderStrong01$3 as borderStrong01, borderStrong02$3 as borderStrong02, borderStrong03$3 as borderStrong03, borderSubtle00$3 as borderSubtle00, borderSubtle01$3 as borderSubtle01, borderSubtle02$3 as borderSubtle02, borderSubtle03$3 as borderSubtle03, borderSubtleSelected01$3 as borderSubtleSelected01, borderSubtleSelected02$3 as borderSubtleSelected02, borderSubtleSelected03$3 as borderSubtleSelected03, borderTile01$3 as borderTile01, borderTile02$3 as borderTile02, borderTile03$3 as borderTile03, index$2 as buttonTokens, field01$7 as field01, field02$7 as field02, field03$3 as field03, fieldHover01$3 as fieldHover01, fieldHover02$3 as fieldHover02, fieldHover03$3 as fieldHover03, focus$8 as focus, focusInset$7 as focusInset, focusInverse$7 as focusInverse, formatTokenName, g10$1 as g10, g100$1 as g100, g90$1 as g90, highlight$7 as highlight, iconDisabled$7 as iconDisabled, iconInteractive$3 as iconInteractive, iconInverse$7 as iconInverse, iconOnColor$7 as iconOnColor, iconOnColorDisabled$7 as iconOnColorDisabled, iconPrimary$7 as iconPrimary, iconSecondary$7 as iconSecondary, interactive$7 as interactive, layer01$3 as layer01, layer02$3 as layer02, layer03$3 as layer03, layerAccent01$3 as layerAccent01, layerAccent02$3 as layerAccent02, layerAccent03$3 as layerAccent03, layerAccentActive01$3 as layerAccentActive01, layerAccentActive02$3 as layerAccentActive02, layerAccentActive03$3 as layerAccentActive03, layerAccentHover01$3 as layerAccentHover01, layerAccentHover02$3 as layerAccentHover02, layerAccentHover03$3 as layerAccentHover03, layerActive01$3 as layerActive01, layerActive02$3 as layerActive02, layerActive03$3 as layerActive03, layerHover01$3 as layerHover01, layerHover02$3 as layerHover02, layerHover03$3 as layerHover03, layerSelected01$3 as layerSelected01, layerSelected02$3 as layerSelected02, layerSelected03$3 as layerSelected03, layerSelectedDisabled$7 as layerSelectedDisabled, layerSelectedHover01$3 as layerSelectedHover01, layerSelectedHover02$3 as layerSelectedHover02, layerSelectedHover03$3 as layerSelectedHover03, layerSelectedInverse$7 as layerSelectedInverse, linkInverse$7 as linkInverse, linkInverseActive$3 as linkInverseActive, linkInverseHover$3 as linkInverseHover, linkPrimary$7 as linkPrimary, linkPrimaryHover$7 as linkPrimaryHover, linkSecondary$7 as linkSecondary, linkVisited$7 as linkVisited, index as notificationTokens, overlay$7 as overlay, shadow$7 as shadow, skeletonBackground$7 as skeletonBackground, skeletonElement$7 as skeletonElement, slugBackground$3 as slugBackground, slugBackgroundHover$3 as slugBackgroundHover, slugCalloutAuraEnd$3 as slugCalloutAuraEnd, slugCalloutAuraStart$3 as slugCalloutAuraStart, slugCalloutGradientBottom$3 as slugCalloutGradientBottom, slugCalloutGradientTop$3 as slugCalloutGradientTop, slugGradient$3 as slugGradient, slugGradientHover$3 as slugGradientHover, slugHollowHover$3 as slugHollowHover, supportCautionMajor$3 as supportCautionMajor, supportCautionMinor$3 as supportCautionMinor, supportCautionUndefined$3 as supportCautionUndefined, supportError$7 as supportError, supportErrorInverse$7 as supportErrorInverse, supportInfo$7 as supportInfo, supportInfoInverse$7 as supportInfoInverse, supportSuccess$7 as supportSuccess, supportSuccessInverse$7 as supportSuccessInverse, supportWarning$7 as supportWarning, supportWarningInverse$7 as supportWarningInverse, index$1 as tagTokens, textDisabled$7 as textDisabled, textError$7 as textError, textHelper$7 as textHelper, textInverse$7 as textInverse, textOnColor$7 as textOnColor, textOnColorDisabled$7 as textOnColorDisabled, textPlaceholder$7 as textPlaceholder, textPrimary$7 as textPrimary, textSecondary$7 as textSecondary, themes, toggleOff$7 as toggleOff, unstable_metadata, index$3 as v10, white$1 as white };
package/lib/index.js CHANGED
@@ -689,6 +689,17 @@ var overlay$7 = 'rgba(22, 22, 22, 0.5)';
689
689
  var toggleOff$7 = colors$1.gray50;
690
690
  var shadow$7 = 'rgba(0, 0, 0, 0.3)';
691
691
 
692
+ // AI
693
+ var slugBackground$3 = colors$1.gray70;
694
+ var slugGradient$3 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray40, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
695
+ var slugBackgroundHover$3 = colors$1.gray60;
696
+ var slugGradientHover$3 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray20Hover, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
697
+ var slugHollowHover$3 = colors$1.gray80Hover;
698
+ var slugCalloutGradientTop$3 = colors$1.rgba(colors$1.gray10, 0.85);
699
+ var slugCalloutGradientBottom$3 = colors$1.rgba(colors$1.gray20, 0.85);
700
+ var slugCalloutAuraStart$3 = colors$1.rgba(colors$1.blue10, 0.6);
701
+ var slugCalloutAuraEnd$3 = colors$1.rgba(colors$1.white, 0);
702
+
692
703
  var white$1 = /*#__PURE__*/Object.freeze({
693
704
  __proto__: null,
694
705
  background: background$8,
@@ -791,6 +802,15 @@ var white$1 = /*#__PURE__*/Object.freeze({
791
802
  overlay: overlay$7,
792
803
  toggleOff: toggleOff$7,
793
804
  shadow: shadow$7,
805
+ slugBackground: slugBackground$3,
806
+ slugGradient: slugGradient$3,
807
+ slugBackgroundHover: slugBackgroundHover$3,
808
+ slugGradientHover: slugGradientHover$3,
809
+ slugHollowHover: slugHollowHover$3,
810
+ slugCalloutGradientTop: slugCalloutGradientTop$3,
811
+ slugCalloutGradientBottom: slugCalloutGradientBottom$3,
812
+ slugCalloutAuraStart: slugCalloutAuraStart$3,
813
+ slugCalloutAuraEnd: slugCalloutAuraEnd$3,
794
814
  caption01: type$2.caption01,
795
815
  caption02: type$2.caption02,
796
816
  label01: type$2.label01,
@@ -1028,6 +1048,17 @@ var overlay$6 = 'rgba(22, 22, 22, 0.5)';
1028
1048
  var toggleOff$6 = colors$1.gray50;
1029
1049
  var shadow$6 = 'rgba(0, 0, 0, 0.3)';
1030
1050
 
1051
+ // AI
1052
+ var slugBackground$2 = colors$1.gray70;
1053
+ var slugGradient$2 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray40, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1054
+ var slugBackgroundHover$2 = colors$1.gray60;
1055
+ var slugGradientHover$2 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray20Hover, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1056
+ var slugHollowHover$2 = colors$1.gray80Hover;
1057
+ var slugCalloutGradientTop$2 = colors$1.rgba(colors$1.gray10, 0.85);
1058
+ var slugCalloutGradientBottom$2 = colors$1.rgba(colors$1.gray20, 0.85);
1059
+ var slugCalloutAuraStart$2 = colors$1.rgba(colors$1.blue10, 0.6);
1060
+ var slugCalloutAuraEnd$2 = colors$1.rgba(colors$1.white, 0);
1061
+
1031
1062
  var g10$1 = /*#__PURE__*/Object.freeze({
1032
1063
  __proto__: null,
1033
1064
  background: background$7,
@@ -1130,6 +1161,15 @@ var g10$1 = /*#__PURE__*/Object.freeze({
1130
1161
  overlay: overlay$6,
1131
1162
  toggleOff: toggleOff$6,
1132
1163
  shadow: shadow$6,
1164
+ slugBackground: slugBackground$2,
1165
+ slugGradient: slugGradient$2,
1166
+ slugBackgroundHover: slugBackgroundHover$2,
1167
+ slugGradientHover: slugGradientHover$2,
1168
+ slugHollowHover: slugHollowHover$2,
1169
+ slugCalloutGradientTop: slugCalloutGradientTop$2,
1170
+ slugCalloutGradientBottom: slugCalloutGradientBottom$2,
1171
+ slugCalloutAuraStart: slugCalloutAuraStart$2,
1172
+ slugCalloutAuraEnd: slugCalloutAuraEnd$2,
1133
1173
  caption01: type$2.caption01,
1134
1174
  caption02: type$2.caption02,
1135
1175
  label01: type$2.label01,
@@ -1367,6 +1407,17 @@ var overlay$5 = colors$1.rgba(colors$1.black, 0.65);
1367
1407
  var toggleOff$5 = colors$1.gray50;
1368
1408
  var shadow$5 = colors$1.rgba(colors$1.black, 0.8);
1369
1409
 
1410
+ // AI
1411
+ var slugBackground$1 = colors$1.gray30;
1412
+ var slugGradient$1 = "".concat(colors$1.gray50, " linear-gradient(135deg, ").concat(colors$1.gray10, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1413
+ var slugBackgroundHover$1 = colors$1.gray20;
1414
+ var slugGradientHover$1 = "".concat(colors$1.gray40, " linear-gradient(135deg, ").concat(colors$1.white, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1415
+ var slugHollowHover$1 = colors$1.gray30Hover;
1416
+ var slugCalloutGradientTop$1 = colors$1.rgba(colors$1.gray100, 0.85);
1417
+ var slugCalloutGradientBottom$1 = colors$1.rgba(colors$1.gray90, 0.85);
1418
+ var slugCalloutAuraStart$1 = colors$1.rgba(colors$1.blue20, 0.2);
1419
+ var slugCalloutAuraEnd$1 = colors$1.rgba(colors$1.gray100, 0);
1420
+
1370
1421
  var g90$1 = /*#__PURE__*/Object.freeze({
1371
1422
  __proto__: null,
1372
1423
  background: background$6,
@@ -1469,6 +1520,15 @@ var g90$1 = /*#__PURE__*/Object.freeze({
1469
1520
  overlay: overlay$5,
1470
1521
  toggleOff: toggleOff$5,
1471
1522
  shadow: shadow$5,
1523
+ slugBackground: slugBackground$1,
1524
+ slugGradient: slugGradient$1,
1525
+ slugBackgroundHover: slugBackgroundHover$1,
1526
+ slugGradientHover: slugGradientHover$1,
1527
+ slugHollowHover: slugHollowHover$1,
1528
+ slugCalloutGradientTop: slugCalloutGradientTop$1,
1529
+ slugCalloutGradientBottom: slugCalloutGradientBottom$1,
1530
+ slugCalloutAuraStart: slugCalloutAuraStart$1,
1531
+ slugCalloutAuraEnd: slugCalloutAuraEnd$1,
1472
1532
  caption01: type$2.caption01,
1473
1533
  caption02: type$2.caption02,
1474
1534
  label01: type$2.label01,
@@ -1706,6 +1766,17 @@ var overlay$4 = colors$1.rgba(colors$1.black, 0.65);
1706
1766
  var toggleOff$4 = colors$1.gray60;
1707
1767
  var shadow$4 = colors$1.rgba(colors$1.black, 0.8);
1708
1768
 
1769
+ // AI
1770
+ var slugBackground = colors$1.gray30;
1771
+ var slugGradient = "".concat(colors$1.gray50, " linear-gradient(135deg, ").concat(colors$1.gray10, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1772
+ var slugBackgroundHover = colors$1.gray20;
1773
+ var slugGradientHover = "".concat(colors$1.gray40, " linear-gradient(135deg, ").concat(colors$1.white, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1774
+ var slugHollowHover = colors$1.gray30Hover;
1775
+ var slugCalloutGradientTop = colors$1.rgba(colors$1.gray100, 0.85);
1776
+ var slugCalloutGradientBottom = colors$1.rgba(colors$1.gray90, 0.85);
1777
+ var slugCalloutAuraStart = colors$1.rgba(colors$1.blue20, 0.2);
1778
+ var slugCalloutAuraEnd = colors$1.rgba(colors$1.gray100, 0);
1779
+
1709
1780
  var g100$1 = /*#__PURE__*/Object.freeze({
1710
1781
  __proto__: null,
1711
1782
  background: background$5,
@@ -1808,6 +1879,15 @@ var g100$1 = /*#__PURE__*/Object.freeze({
1808
1879
  overlay: overlay$4,
1809
1880
  toggleOff: toggleOff$4,
1810
1881
  shadow: shadow$4,
1882
+ slugBackground: slugBackground,
1883
+ slugGradient: slugGradient,
1884
+ slugBackgroundHover: slugBackgroundHover,
1885
+ slugGradientHover: slugGradientHover,
1886
+ slugHollowHover: slugHollowHover,
1887
+ slugCalloutGradientTop: slugCalloutGradientTop,
1888
+ slugCalloutGradientBottom: slugCalloutGradientBottom,
1889
+ slugCalloutAuraStart: slugCalloutAuraStart,
1890
+ slugCalloutAuraEnd: slugCalloutAuraEnd,
1811
1891
  caption01: type$2.caption01,
1812
1892
  caption02: type$2.caption02,
1813
1893
  label01: type$2.label01,
@@ -4701,6 +4781,11 @@ var contextual = TokenGroup.create({
4701
4781
  properties: [],
4702
4782
  tokens: ['layer', 'layer-active', 'layer-hover', 'layer-selected', 'layer-selected-hover', 'layer-accent', 'layer-accent-hover', 'layer-accent-active', 'field', 'field-hover', 'border-subtle', 'border-subtle-selected', 'border-strong', 'border-tile']
4703
4783
  });
4784
+ var ai = TokenGroup.create({
4785
+ name: 'AI',
4786
+ properties: ['background'],
4787
+ tokens: ['slug-background', 'slug-gradient', 'slug-background-hover', 'slug-gradient-hover', 'slug-hollow-hover', 'slug-callout-gradient-top', 'slug-callout-gradient-bottom', 'slug-callout-aura-start', 'slug-callout-aura-end']
4788
+ });
4704
4789
  var group = TokenGroup.create({
4705
4790
  name: 'All',
4706
4791
  tokens: [background, layer, field,
@@ -4708,7 +4793,7 @@ var group = TokenGroup.create({
4708
4793
  {
4709
4794
  name: 'interactive',
4710
4795
  properties: ['background', 'text']
4711
- }, border, text, link, icon, support,
4796
+ }, border, text, link, icon, support, ai,
4712
4797
  // Misc
4713
4798
  {
4714
4799
  name: 'highlight'
@@ -5224,6 +5309,15 @@ exports.overlay = overlay$7;
5224
5309
  exports.shadow = shadow$7;
5225
5310
  exports.skeletonBackground = skeletonBackground$7;
5226
5311
  exports.skeletonElement = skeletonElement$7;
5312
+ exports.slugBackground = slugBackground$3;
5313
+ exports.slugBackgroundHover = slugBackgroundHover$3;
5314
+ exports.slugCalloutAuraEnd = slugCalloutAuraEnd$3;
5315
+ exports.slugCalloutAuraStart = slugCalloutAuraStart$3;
5316
+ exports.slugCalloutGradientBottom = slugCalloutGradientBottom$3;
5317
+ exports.slugCalloutGradientTop = slugCalloutGradientTop$3;
5318
+ exports.slugGradient = slugGradient$3;
5319
+ exports.slugGradientHover = slugGradientHover$3;
5320
+ exports.slugHollowHover = slugHollowHover$3;
5227
5321
  exports.supportCautionMajor = supportCautionMajor$3;
5228
5322
  exports.supportCautionMinor = supportCautionMinor$3;
5229
5323
  exports.supportCautionUndefined = supportCautionUndefined$3;
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.26.0-rc.0",
4
+ "version": "11.26.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -30,15 +30,15 @@
30
30
  "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonThemes && babel-node --presets '@babel/preset-env' tasks/build.js && carbon-cli check \"scss/*.scss\""
31
31
  },
32
32
  "dependencies": {
33
- "@carbon/colors": "^11.20.0-rc.0",
34
- "@carbon/layout": "^11.20.0-rc.0",
35
- "@carbon/type": "^11.25.0-rc.0",
33
+ "@carbon/colors": "^11.20.0",
34
+ "@carbon/layout": "^11.20.0",
35
+ "@carbon/type": "^11.25.0",
36
36
  "color": "^4.0.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@babel/node": "^7.17.10",
40
40
  "@babel/preset-env": "^7.18.2",
41
- "@carbon/cli": "^11.15.0-rc.0",
41
+ "@carbon/cli": "^11.15.0",
42
42
  "@carbon/cli-reporter": "^10.7.0",
43
43
  "@carbon/scss-generator": "^10.18.0",
44
44
  "@carbon/test-utils": "^10.30.0",
@@ -49,5 +49,5 @@
49
49
  "rimraf": "^5.0.0"
50
50
  },
51
51
  "sideEffects": false,
52
- "gitHead": "da28d28a2d3a34503099e25255076efd3da4db9f"
52
+ "gitHead": "abe693e46a9b76731f51e47104f3634b6346f845"
53
53
  }
@@ -91,6 +91,17 @@ $white: (
91
91
  shadow: rgba(0, 0, 0, 0.3),
92
92
  skeleton-background: #e8e8e8,
93
93
  skeleton-element: #c6c6c6,
94
+ slug-background: #525252,
95
+ slug-background-hover: #6f6f6f,
96
+ slug-callout-aura-end: rgba(255, 255, 255, 0),
97
+ slug-callout-aura-start: rgba(237, 245, 255, 0.6),
98
+ slug-callout-gradient-bottom: rgba(224, 224, 224, 0.85),
99
+ slug-callout-gradient-top: rgba(244, 244, 244, 0.85),
100
+ slug-gradient: #161616
101
+ linear-gradient(135deg, #a8a8a8 0%, rgba(#ffffff, 0) 100%),
102
+ slug-gradient-hover: #161616
103
+ linear-gradient(135deg, #d1d1d1 0%, rgba(#ffffff, 0) 100%),
104
+ slug-hollow-hover: #474747,
94
105
  support-caution-major: #ff832b,
95
106
  support-caution-minor: #f1c21b,
96
107
  support-caution-undefined: #8a3ffc,
@@ -200,6 +211,17 @@ $g10: (
200
211
  shadow: rgba(0, 0, 0, 0.3),
201
212
  skeleton-background: #e8e8e8,
202
213
  skeleton-element: #c6c6c6,
214
+ slug-background: #525252,
215
+ slug-background-hover: #6f6f6f,
216
+ slug-callout-aura-end: rgba(255, 255, 255, 0),
217
+ slug-callout-aura-start: rgba(237, 245, 255, 0.6),
218
+ slug-callout-gradient-bottom: rgba(224, 224, 224, 0.85),
219
+ slug-callout-gradient-top: rgba(244, 244, 244, 0.85),
220
+ slug-gradient: #161616
221
+ linear-gradient(135deg, #a8a8a8 0%, rgba(#ffffff, 0) 100%),
222
+ slug-gradient-hover: #161616
223
+ linear-gradient(135deg, #d1d1d1 0%, rgba(#ffffff, 0) 100%),
224
+ slug-hollow-hover: #474747,
203
225
  support-caution-major: #ff832b,
204
226
  support-caution-minor: #f1c21b,
205
227
  support-caution-undefined: #8a3ffc,
@@ -309,6 +331,17 @@ $g90: (
309
331
  shadow: rgba(0, 0, 0, 0.8),
310
332
  skeleton-background: #333333,
311
333
  skeleton-element: #525252,
334
+ slug-background: #c6c6c6,
335
+ slug-background-hover: #e0e0e0,
336
+ slug-callout-aura-end: rgba(22, 22, 22, 0),
337
+ slug-callout-aura-start: rgba(208, 226, 255, 0.2),
338
+ slug-callout-gradient-bottom: rgba(38, 38, 38, 0.85),
339
+ slug-callout-gradient-top: rgba(22, 22, 22, 0.85),
340
+ slug-gradient: #8d8d8d
341
+ linear-gradient(135deg, #f4f4f4 0%, rgba(#ffffff, 0) 100%),
342
+ slug-gradient-hover: #a8a8a8
343
+ linear-gradient(135deg, #ffffff 0%, rgba(#ffffff, 0) 100%),
344
+ slug-hollow-hover: #b5b5b5,
312
345
  support-caution-major: #ff832b,
313
346
  support-caution-minor: #f1c21b,
314
347
  support-caution-undefined: #a56eff,
@@ -418,6 +451,17 @@ $g100: (
418
451
  shadow: rgba(0, 0, 0, 0.8),
419
452
  skeleton-background: #292929,
420
453
  skeleton-element: #393939,
454
+ slug-background: #c6c6c6,
455
+ slug-background-hover: #e0e0e0,
456
+ slug-callout-aura-end: rgba(22, 22, 22, 0),
457
+ slug-callout-aura-start: rgba(208, 226, 255, 0.2),
458
+ slug-callout-gradient-bottom: rgba(38, 38, 38, 0.85),
459
+ slug-callout-gradient-top: rgba(22, 22, 22, 0.85),
460
+ slug-gradient: #8d8d8d
461
+ linear-gradient(135deg, #f4f4f4 0%, rgba(#ffffff, 0) 100%),
462
+ slug-gradient-hover: #a8a8a8
463
+ linear-gradient(135deg, #ffffff 0%, rgba(#ffffff, 0) 100%),
464
+ slug-hollow-hover: #b5b5b5,
421
465
  support-caution-major: #ff832b,
422
466
  support-caution-minor: #f1c21b,
423
467
  support-caution-undefined: #a56eff,
@@ -292,6 +292,33 @@ $support-caution-minor: _get('support-caution-minor') !default;
292
292
  /// The CSS Custom Property for the `support-caution-undefined` token
293
293
  $support-caution-undefined: _get('support-caution-undefined') !default;
294
294
 
295
+ /// The CSS Custom Property for the `slug-background` token
296
+ $slug-background: _get('slug-background') !default;
297
+
298
+ /// The CSS Custom Property for the `slug-gradient` token
299
+ $slug-gradient: _get('slug-gradient') !default;
300
+
301
+ /// The CSS Custom Property for the `slug-background-hover` token
302
+ $slug-background-hover: _get('slug-background-hover') !default;
303
+
304
+ /// The CSS Custom Property for the `slug-gradient-hover` token
305
+ $slug-gradient-hover: _get('slug-gradient-hover') !default;
306
+
307
+ /// The CSS Custom Property for the `slug-hollow-hover` token
308
+ $slug-hollow-hover: _get('slug-hollow-hover') !default;
309
+
310
+ /// The CSS Custom Property for the `slug-callout-gradient-top` token
311
+ $slug-callout-gradient-top: _get('slug-callout-gradient-top') !default;
312
+
313
+ /// The CSS Custom Property for the `slug-callout-gradient-bottom` token
314
+ $slug-callout-gradient-bottom: _get('slug-callout-gradient-bottom') !default;
315
+
316
+ /// The CSS Custom Property for the `slug-callout-aura-start` token
317
+ $slug-callout-aura-start: _get('slug-callout-aura-start') !default;
318
+
319
+ /// The CSS Custom Property for the `slug-callout-aura-end` token
320
+ $slug-callout-aura-end: _get('slug-callout-aura-end') !default;
321
+
295
322
  /// The CSS Custom Property for the `highlight` token
296
323
  $highlight: _get('highlight') !default;
297
324
 
package/src/g10.js CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  import {
9
9
  // Blue
10
+ blue10,
10
11
  blue20,
11
12
  blue30,
12
13
  blue40,
@@ -40,6 +41,7 @@ import {
40
41
  // Constants
41
42
  white,
42
43
  whiteHover,
44
+ rgba,
43
45
  } from '@carbon/colors';
44
46
  import { adjustAlpha } from './tools';
45
47
 
@@ -200,6 +202,17 @@ export const overlay = 'rgba(22, 22, 22, 0.5)';
200
202
  export const toggleOff = gray50;
201
203
  export const shadow = 'rgba(0, 0, 0, 0.3)';
202
204
 
205
+ // AI
206
+ export const slugBackground = gray70;
207
+ export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rgba(${white}, 0) 100%)`;
208
+ export const slugBackgroundHover = gray60;
209
+ export const slugGradientHover = `${gray100} linear-gradient(135deg, ${gray20Hover} 0%, rgba(${white}, 0) 100%)`;
210
+ export const slugHollowHover = gray80Hover;
211
+ export const slugCalloutGradientTop = rgba(gray10, 0.85);
212
+ export const slugCalloutGradientBottom = rgba(gray20, 0.85);
213
+ export const slugCalloutAuraStart = rgba(blue10, 0.6);
214
+ export const slugCalloutAuraEnd = rgba(white, 0);
215
+
203
216
  export {
204
217
  // Type
205
218
  caption01,
package/src/g100.js CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  import {
9
9
  // Blue
10
+ blue20,
10
11
  blue40,
11
12
  blue60,
12
13
  blue70,
@@ -14,7 +15,10 @@ import {
14
15
 
15
16
  // Gray
16
17
  gray10,
18
+ gray10Hover,
19
+ gray20,
17
20
  gray30,
21
+ gray30Hover,
18
22
  gray40,
19
23
  gray50,
20
24
  gray60,
@@ -46,7 +50,6 @@ import {
46
50
 
47
51
  // Tools
48
52
  rgba,
49
- gray10Hover,
50
53
  } from '@carbon/colors';
51
54
  import { adjustLightness, adjustAlpha } from './tools';
52
55
 
@@ -207,6 +210,17 @@ export const overlay = rgba(black, 0.65);
207
210
  export const toggleOff = gray60;
208
211
  export const shadow = rgba(black, 0.8);
209
212
 
213
+ // AI
214
+ export const slugBackground = gray30;
215
+ export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgba(${white}, 0) 100%)`;
216
+ export const slugBackgroundHover = gray20;
217
+ export const slugGradientHover = `${gray40} linear-gradient(135deg, ${white} 0%, rgba(${white}, 0) 100%)`;
218
+ export const slugHollowHover = gray30Hover;
219
+ export const slugCalloutGradientTop = rgba(gray100, 0.85);
220
+ export const slugCalloutGradientBottom = rgba(gray90, 0.85);
221
+ export const slugCalloutAuraStart = rgba(blue20, 0.2);
222
+ export const slugCalloutAuraEnd = rgba(gray100, 0);
223
+
210
224
  export {
211
225
  // Type
212
226
  caption01,
package/src/g90.js CHANGED
@@ -7,13 +7,17 @@
7
7
 
8
8
  import {
9
9
  // Blue
10
+ blue20,
10
11
  blue40,
11
12
  blue60,
12
13
  blue70,
13
14
 
14
15
  // Gray
15
16
  gray10,
17
+ gray10Hover,
18
+ gray20,
16
19
  gray30,
20
+ gray30Hover,
17
21
  gray40,
18
22
  gray50,
19
23
  gray50Hover,
@@ -22,7 +26,9 @@ import {
22
26
  gray70,
23
27
  gray70Hover,
24
28
  gray80,
29
+ gray80Hover,
25
30
  gray90,
31
+ gray90Hover,
26
32
  gray100,
27
33
 
28
34
  // Support
@@ -44,9 +50,6 @@ import {
44
50
 
45
51
  // Tools
46
52
  rgba,
47
- gray90Hover,
48
- gray10Hover,
49
- gray80Hover,
50
53
  } from '@carbon/colors';
51
54
  import { adjustAlpha } from './tools';
52
55
 
@@ -207,6 +210,17 @@ export const overlay = rgba(black, 0.65);
207
210
  export const toggleOff = gray50;
208
211
  export const shadow = rgba(black, 0.8);
209
212
 
213
+ // AI
214
+ export const slugBackground = gray30;
215
+ export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgba(${white}, 0) 100%)`;
216
+ export const slugBackgroundHover = gray20;
217
+ export const slugGradientHover = `${gray40} linear-gradient(135deg, ${white} 0%, rgba(${white}, 0) 100%)`;
218
+ export const slugHollowHover = gray30Hover;
219
+ export const slugCalloutGradientTop = rgba(gray100, 0.85);
220
+ export const slugCalloutGradientBottom = rgba(gray90, 0.85);
221
+ export const slugCalloutAuraStart = rgba(blue20, 0.2);
222
+ export const slugCalloutAuraEnd = rgba(gray100, 0);
223
+
210
224
  export {
211
225
  // Type
212
226
  caption01,
@@ -341,6 +341,22 @@ export const contextual = TokenGroup.create({
341
341
  ],
342
342
  });
343
343
 
344
+ export const ai = TokenGroup.create({
345
+ name: 'AI',
346
+ properties: ['background'],
347
+ tokens: [
348
+ 'slug-background',
349
+ 'slug-gradient',
350
+ 'slug-background-hover',
351
+ 'slug-gradient-hover',
352
+ 'slug-hollow-hover',
353
+ 'slug-callout-gradient-top',
354
+ 'slug-callout-gradient-bottom',
355
+ 'slug-callout-aura-start',
356
+ 'slug-callout-aura-end',
357
+ ],
358
+ });
359
+
344
360
  export const group = TokenGroup.create({
345
361
  name: 'All',
346
362
  tokens: [
@@ -359,6 +375,7 @@ export const group = TokenGroup.create({
359
375
  link,
360
376
  icon,
361
377
  support,
378
+ ai,
362
379
 
363
380
  // Misc
364
381
  {
package/src/white.js CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  import {
9
9
  // Blue
10
+ blue10,
10
11
  blue20,
11
12
  blue30,
12
13
  blue40,
@@ -15,6 +16,7 @@ import {
15
16
 
16
17
  // Gray
17
18
  gray10,
19
+ gray10Hover,
18
20
  gray20,
19
21
  gray20Hover,
20
22
  gray30,
@@ -23,6 +25,7 @@ import {
23
25
  gray60,
24
26
  gray70,
25
27
  gray80,
28
+ gray80Hover,
26
29
  gray100,
27
30
 
28
31
  // Support
@@ -38,8 +41,7 @@ import {
38
41
  // Constants
39
42
  white,
40
43
  whiteHover,
41
- gray80Hover,
42
- gray10Hover,
44
+ rgba,
43
45
  } from '@carbon/colors';
44
46
  import { adjustAlpha } from './tools';
45
47
 
@@ -200,6 +202,17 @@ export const overlay = 'rgba(22, 22, 22, 0.5)';
200
202
  export const toggleOff = gray50;
201
203
  export const shadow = 'rgba(0, 0, 0, 0.3)';
202
204
 
205
+ // AI
206
+ export const slugBackground = gray70;
207
+ export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rgba(${white}, 0) 100%)`;
208
+ export const slugBackgroundHover = gray60;
209
+ export const slugGradientHover = `${gray100} linear-gradient(135deg, ${gray20Hover} 0%, rgba(${white}, 0) 100%)`;
210
+ export const slugHollowHover = gray80Hover;
211
+ export const slugCalloutGradientTop = rgba(gray10, 0.85);
212
+ export const slugCalloutGradientBottom = rgba(gray20, 0.85);
213
+ export const slugCalloutAuraStart = rgba(blue10, 0.6);
214
+ export const slugCalloutAuraEnd = rgba(white, 0);
215
+
203
216
  // Type
204
217
  export {
205
218
  caption01,
package/umd/index.js CHANGED
@@ -686,6 +686,17 @@
686
686
  var toggleOff$7 = colors$1.gray50;
687
687
  var shadow$7 = 'rgba(0, 0, 0, 0.3)';
688
688
 
689
+ // AI
690
+ var slugBackground$3 = colors$1.gray70;
691
+ var slugGradient$3 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray40, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
692
+ var slugBackgroundHover$3 = colors$1.gray60;
693
+ var slugGradientHover$3 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray20Hover, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
694
+ var slugHollowHover$3 = colors$1.gray80Hover;
695
+ var slugCalloutGradientTop$3 = colors$1.rgba(colors$1.gray10, 0.85);
696
+ var slugCalloutGradientBottom$3 = colors$1.rgba(colors$1.gray20, 0.85);
697
+ var slugCalloutAuraStart$3 = colors$1.rgba(colors$1.blue10, 0.6);
698
+ var slugCalloutAuraEnd$3 = colors$1.rgba(colors$1.white, 0);
699
+
689
700
  var white$1 = /*#__PURE__*/Object.freeze({
690
701
  __proto__: null,
691
702
  background: background$8,
@@ -788,6 +799,15 @@
788
799
  overlay: overlay$7,
789
800
  toggleOff: toggleOff$7,
790
801
  shadow: shadow$7,
802
+ slugBackground: slugBackground$3,
803
+ slugGradient: slugGradient$3,
804
+ slugBackgroundHover: slugBackgroundHover$3,
805
+ slugGradientHover: slugGradientHover$3,
806
+ slugHollowHover: slugHollowHover$3,
807
+ slugCalloutGradientTop: slugCalloutGradientTop$3,
808
+ slugCalloutGradientBottom: slugCalloutGradientBottom$3,
809
+ slugCalloutAuraStart: slugCalloutAuraStart$3,
810
+ slugCalloutAuraEnd: slugCalloutAuraEnd$3,
791
811
  caption01: type$2.caption01,
792
812
  caption02: type$2.caption02,
793
813
  label01: type$2.label01,
@@ -1025,6 +1045,17 @@
1025
1045
  var toggleOff$6 = colors$1.gray50;
1026
1046
  var shadow$6 = 'rgba(0, 0, 0, 0.3)';
1027
1047
 
1048
+ // AI
1049
+ var slugBackground$2 = colors$1.gray70;
1050
+ var slugGradient$2 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray40, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1051
+ var slugBackgroundHover$2 = colors$1.gray60;
1052
+ var slugGradientHover$2 = "".concat(colors$1.gray100, " linear-gradient(135deg, ").concat(colors$1.gray20Hover, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1053
+ var slugHollowHover$2 = colors$1.gray80Hover;
1054
+ var slugCalloutGradientTop$2 = colors$1.rgba(colors$1.gray10, 0.85);
1055
+ var slugCalloutGradientBottom$2 = colors$1.rgba(colors$1.gray20, 0.85);
1056
+ var slugCalloutAuraStart$2 = colors$1.rgba(colors$1.blue10, 0.6);
1057
+ var slugCalloutAuraEnd$2 = colors$1.rgba(colors$1.white, 0);
1058
+
1028
1059
  var g10$1 = /*#__PURE__*/Object.freeze({
1029
1060
  __proto__: null,
1030
1061
  background: background$7,
@@ -1127,6 +1158,15 @@
1127
1158
  overlay: overlay$6,
1128
1159
  toggleOff: toggleOff$6,
1129
1160
  shadow: shadow$6,
1161
+ slugBackground: slugBackground$2,
1162
+ slugGradient: slugGradient$2,
1163
+ slugBackgroundHover: slugBackgroundHover$2,
1164
+ slugGradientHover: slugGradientHover$2,
1165
+ slugHollowHover: slugHollowHover$2,
1166
+ slugCalloutGradientTop: slugCalloutGradientTop$2,
1167
+ slugCalloutGradientBottom: slugCalloutGradientBottom$2,
1168
+ slugCalloutAuraStart: slugCalloutAuraStart$2,
1169
+ slugCalloutAuraEnd: slugCalloutAuraEnd$2,
1130
1170
  caption01: type$2.caption01,
1131
1171
  caption02: type$2.caption02,
1132
1172
  label01: type$2.label01,
@@ -1364,6 +1404,17 @@
1364
1404
  var toggleOff$5 = colors$1.gray50;
1365
1405
  var shadow$5 = colors$1.rgba(colors$1.black, 0.8);
1366
1406
 
1407
+ // AI
1408
+ var slugBackground$1 = colors$1.gray30;
1409
+ var slugGradient$1 = "".concat(colors$1.gray50, " linear-gradient(135deg, ").concat(colors$1.gray10, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1410
+ var slugBackgroundHover$1 = colors$1.gray20;
1411
+ var slugGradientHover$1 = "".concat(colors$1.gray40, " linear-gradient(135deg, ").concat(colors$1.white, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1412
+ var slugHollowHover$1 = colors$1.gray30Hover;
1413
+ var slugCalloutGradientTop$1 = colors$1.rgba(colors$1.gray100, 0.85);
1414
+ var slugCalloutGradientBottom$1 = colors$1.rgba(colors$1.gray90, 0.85);
1415
+ var slugCalloutAuraStart$1 = colors$1.rgba(colors$1.blue20, 0.2);
1416
+ var slugCalloutAuraEnd$1 = colors$1.rgba(colors$1.gray100, 0);
1417
+
1367
1418
  var g90$1 = /*#__PURE__*/Object.freeze({
1368
1419
  __proto__: null,
1369
1420
  background: background$6,
@@ -1466,6 +1517,15 @@
1466
1517
  overlay: overlay$5,
1467
1518
  toggleOff: toggleOff$5,
1468
1519
  shadow: shadow$5,
1520
+ slugBackground: slugBackground$1,
1521
+ slugGradient: slugGradient$1,
1522
+ slugBackgroundHover: slugBackgroundHover$1,
1523
+ slugGradientHover: slugGradientHover$1,
1524
+ slugHollowHover: slugHollowHover$1,
1525
+ slugCalloutGradientTop: slugCalloutGradientTop$1,
1526
+ slugCalloutGradientBottom: slugCalloutGradientBottom$1,
1527
+ slugCalloutAuraStart: slugCalloutAuraStart$1,
1528
+ slugCalloutAuraEnd: slugCalloutAuraEnd$1,
1469
1529
  caption01: type$2.caption01,
1470
1530
  caption02: type$2.caption02,
1471
1531
  label01: type$2.label01,
@@ -1703,6 +1763,17 @@
1703
1763
  var toggleOff$4 = colors$1.gray60;
1704
1764
  var shadow$4 = colors$1.rgba(colors$1.black, 0.8);
1705
1765
 
1766
+ // AI
1767
+ var slugBackground = colors$1.gray30;
1768
+ var slugGradient = "".concat(colors$1.gray50, " linear-gradient(135deg, ").concat(colors$1.gray10, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1769
+ var slugBackgroundHover = colors$1.gray20;
1770
+ var slugGradientHover = "".concat(colors$1.gray40, " linear-gradient(135deg, ").concat(colors$1.white, " 0%, rgba(").concat(colors$1.white, ", 0) 100%)");
1771
+ var slugHollowHover = colors$1.gray30Hover;
1772
+ var slugCalloutGradientTop = colors$1.rgba(colors$1.gray100, 0.85);
1773
+ var slugCalloutGradientBottom = colors$1.rgba(colors$1.gray90, 0.85);
1774
+ var slugCalloutAuraStart = colors$1.rgba(colors$1.blue20, 0.2);
1775
+ var slugCalloutAuraEnd = colors$1.rgba(colors$1.gray100, 0);
1776
+
1706
1777
  var g100$1 = /*#__PURE__*/Object.freeze({
1707
1778
  __proto__: null,
1708
1779
  background: background$5,
@@ -1805,6 +1876,15 @@
1805
1876
  overlay: overlay$4,
1806
1877
  toggleOff: toggleOff$4,
1807
1878
  shadow: shadow$4,
1879
+ slugBackground: slugBackground,
1880
+ slugGradient: slugGradient,
1881
+ slugBackgroundHover: slugBackgroundHover,
1882
+ slugGradientHover: slugGradientHover,
1883
+ slugHollowHover: slugHollowHover,
1884
+ slugCalloutGradientTop: slugCalloutGradientTop,
1885
+ slugCalloutGradientBottom: slugCalloutGradientBottom,
1886
+ slugCalloutAuraStart: slugCalloutAuraStart,
1887
+ slugCalloutAuraEnd: slugCalloutAuraEnd,
1808
1888
  caption01: type$2.caption01,
1809
1889
  caption02: type$2.caption02,
1810
1890
  label01: type$2.label01,
@@ -4698,6 +4778,11 @@
4698
4778
  properties: [],
4699
4779
  tokens: ['layer', 'layer-active', 'layer-hover', 'layer-selected', 'layer-selected-hover', 'layer-accent', 'layer-accent-hover', 'layer-accent-active', 'field', 'field-hover', 'border-subtle', 'border-subtle-selected', 'border-strong', 'border-tile']
4700
4780
  });
4781
+ var ai = TokenGroup.create({
4782
+ name: 'AI',
4783
+ properties: ['background'],
4784
+ tokens: ['slug-background', 'slug-gradient', 'slug-background-hover', 'slug-gradient-hover', 'slug-hollow-hover', 'slug-callout-gradient-top', 'slug-callout-gradient-bottom', 'slug-callout-aura-start', 'slug-callout-aura-end']
4785
+ });
4701
4786
  var group = TokenGroup.create({
4702
4787
  name: 'All',
4703
4788
  tokens: [background, layer, field,
@@ -4705,7 +4790,7 @@
4705
4790
  {
4706
4791
  name: 'interactive',
4707
4792
  properties: ['background', 'text']
4708
- }, border, text, link, icon, support,
4793
+ }, border, text, link, icon, support, ai,
4709
4794
  // Misc
4710
4795
  {
4711
4796
  name: 'highlight'
@@ -5221,6 +5306,15 @@
5221
5306
  exports.shadow = shadow$7;
5222
5307
  exports.skeletonBackground = skeletonBackground$7;
5223
5308
  exports.skeletonElement = skeletonElement$7;
5309
+ exports.slugBackground = slugBackground$3;
5310
+ exports.slugBackgroundHover = slugBackgroundHover$3;
5311
+ exports.slugCalloutAuraEnd = slugCalloutAuraEnd$3;
5312
+ exports.slugCalloutAuraStart = slugCalloutAuraStart$3;
5313
+ exports.slugCalloutGradientBottom = slugCalloutGradientBottom$3;
5314
+ exports.slugCalloutGradientTop = slugCalloutGradientTop$3;
5315
+ exports.slugGradient = slugGradient$3;
5316
+ exports.slugGradientHover = slugGradientHover$3;
5317
+ exports.slugHollowHover = slugHollowHover$3;
5224
5318
  exports.supportCautionMajor = supportCautionMajor$3;
5225
5319
  exports.supportCautionMinor = supportCautionMinor$3;
5226
5320
  exports.supportCautionUndefined = supportCautionUndefined$3;