@carbon/themes 11.17.0-rc.0 → 11.17.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 +18 -10
- package/lib/index.js +18 -9
- package/package.json +9 -9
- package/scss/generated/_themes.scss +8 -4
- package/scss/generated/_tokens.scss +3 -0
- package/src/g10.js +3 -2
- package/src/g100.js +1 -0
- package/src/g90.js +1 -0
- package/src/tokens/v11TokenGroup.js +1 -0
- package/src/white.js +3 -2
- package/umd/index.js +18 -9
package/es/index.js
CHANGED
|
@@ -637,13 +637,13 @@ var fieldHover03$3 = gray10Hover; // Border
|
|
|
637
637
|
|
|
638
638
|
var borderSubtle00$3 = gray20; // border-subtle-01
|
|
639
639
|
|
|
640
|
-
var borderSubtle01$3 =
|
|
640
|
+
var borderSubtle01$3 = gray30;
|
|
641
641
|
var borderSubtleSelected01$3 = gray30; // border-subtle-02
|
|
642
642
|
|
|
643
643
|
var borderSubtle02$3 = gray20;
|
|
644
644
|
var borderSubtleSelected02$3 = gray30; // border-subtle-03
|
|
645
645
|
|
|
646
|
-
var borderSubtle03$3 =
|
|
646
|
+
var borderSubtle03$3 = gray30;
|
|
647
647
|
var borderSubtleSelected03$3 = gray30; // border-strong
|
|
648
648
|
|
|
649
649
|
var borderStrong01$3 = gray50;
|
|
@@ -683,7 +683,8 @@ var iconSecondary$7 = gray70;
|
|
|
683
683
|
var iconInverse$7 = white$2;
|
|
684
684
|
var iconOnColor$7 = white$2;
|
|
685
685
|
var iconOnColorDisabled$7 = gray50;
|
|
686
|
-
var iconDisabled$7 = adjustAlpha(iconPrimary$7, 0.25);
|
|
686
|
+
var iconDisabled$7 = adjustAlpha(iconPrimary$7, 0.25);
|
|
687
|
+
var iconInteractive$3 = blue60; // Support
|
|
687
688
|
|
|
688
689
|
var supportError$7 = red60;
|
|
689
690
|
var supportSuccess$7 = green50;
|
|
@@ -790,6 +791,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
|
|
|
790
791
|
iconOnColor: iconOnColor$7,
|
|
791
792
|
iconOnColorDisabled: iconOnColorDisabled$7,
|
|
792
793
|
iconDisabled: iconDisabled$7,
|
|
794
|
+
iconInteractive: iconInteractive$3,
|
|
793
795
|
supportError: supportError$7,
|
|
794
796
|
supportSuccess: supportSuccess$7,
|
|
795
797
|
supportWarning: supportWarning$7,
|
|
@@ -938,12 +940,12 @@ var field03$2 = white$2;
|
|
|
938
940
|
var fieldHover03$2 = whiteHover; // Border
|
|
939
941
|
// border-subtle-00
|
|
940
942
|
|
|
941
|
-
var borderSubtle00$2 =
|
|
943
|
+
var borderSubtle00$2 = gray30; // border-subtle-01
|
|
942
944
|
|
|
943
945
|
var borderSubtle01$2 = gray20;
|
|
944
946
|
var borderSubtleSelected01$2 = gray30; // border-subtle-02
|
|
945
947
|
|
|
946
|
-
var borderSubtle02$2 =
|
|
948
|
+
var borderSubtle02$2 = gray30;
|
|
947
949
|
var borderSubtleSelected02$2 = gray30; // border-subtle-03
|
|
948
950
|
|
|
949
951
|
var borderSubtle03$2 = gray20;
|
|
@@ -986,7 +988,8 @@ var iconSecondary$6 = gray70;
|
|
|
986
988
|
var iconInverse$6 = white$2;
|
|
987
989
|
var iconOnColor$6 = white$2;
|
|
988
990
|
var iconOnColorDisabled$6 = gray50;
|
|
989
|
-
var iconDisabled$6 = adjustAlpha(iconPrimary$6, 0.25);
|
|
991
|
+
var iconDisabled$6 = adjustAlpha(iconPrimary$6, 0.25);
|
|
992
|
+
var iconInteractive$2 = blue60; // Support
|
|
990
993
|
|
|
991
994
|
var supportError$6 = red60;
|
|
992
995
|
var supportSuccess$6 = green50;
|
|
@@ -1093,6 +1096,7 @@ var g10$1 = /*#__PURE__*/Object.freeze({
|
|
|
1093
1096
|
iconOnColor: iconOnColor$6,
|
|
1094
1097
|
iconOnColorDisabled: iconOnColorDisabled$6,
|
|
1095
1098
|
iconDisabled: iconDisabled$6,
|
|
1099
|
+
iconInteractive: iconInteractive$2,
|
|
1096
1100
|
supportError: supportError$6,
|
|
1097
1101
|
supportSuccess: supportSuccess$6,
|
|
1098
1102
|
supportWarning: supportWarning$6,
|
|
@@ -1289,7 +1293,8 @@ var iconSecondary$5 = gray30;
|
|
|
1289
1293
|
var iconInverse$5 = gray100;
|
|
1290
1294
|
var iconOnColor$5 = white$2;
|
|
1291
1295
|
var iconOnColorDisabled$5 = adjustAlpha(iconOnColor$5, 0.25);
|
|
1292
|
-
var iconDisabled$5 = adjustAlpha(iconPrimary$5, 0.25);
|
|
1296
|
+
var iconDisabled$5 = adjustAlpha(iconPrimary$5, 0.25);
|
|
1297
|
+
var iconInteractive$1 = white$2; // Support
|
|
1293
1298
|
|
|
1294
1299
|
var supportError$5 = red40;
|
|
1295
1300
|
var supportSuccess$5 = green40;
|
|
@@ -1396,6 +1401,7 @@ var g90$1 = /*#__PURE__*/Object.freeze({
|
|
|
1396
1401
|
iconOnColor: iconOnColor$5,
|
|
1397
1402
|
iconOnColorDisabled: iconOnColorDisabled$5,
|
|
1398
1403
|
iconDisabled: iconDisabled$5,
|
|
1404
|
+
iconInteractive: iconInteractive$1,
|
|
1399
1405
|
supportError: supportError$5,
|
|
1400
1406
|
supportSuccess: supportSuccess$5,
|
|
1401
1407
|
supportWarning: supportWarning$5,
|
|
@@ -1592,7 +1598,8 @@ var iconSecondary$4 = gray30;
|
|
|
1592
1598
|
var iconInverse$4 = gray100;
|
|
1593
1599
|
var iconOnColor$4 = white$2;
|
|
1594
1600
|
var iconOnColorDisabled$4 = adjustAlpha(iconOnColor$4, 0.25);
|
|
1595
|
-
var iconDisabled$4 = adjustAlpha(iconPrimary$4, 0.25);
|
|
1601
|
+
var iconDisabled$4 = adjustAlpha(iconPrimary$4, 0.25);
|
|
1602
|
+
var iconInteractive = white$2; // Support
|
|
1596
1603
|
|
|
1597
1604
|
var supportError$4 = red50;
|
|
1598
1605
|
var supportSuccess$4 = green40;
|
|
@@ -1699,6 +1706,7 @@ var g100$1 = /*#__PURE__*/Object.freeze({
|
|
|
1699
1706
|
iconOnColor: iconOnColor$4,
|
|
1700
1707
|
iconOnColorDisabled: iconOnColorDisabled$4,
|
|
1701
1708
|
iconDisabled: iconDisabled$4,
|
|
1709
|
+
iconInteractive: iconInteractive,
|
|
1702
1710
|
supportError: supportError$4,
|
|
1703
1711
|
supportSuccess: supportSuccess$4,
|
|
1704
1712
|
supportWarning: supportWarning$4,
|
|
@@ -4585,7 +4593,7 @@ var icon = TokenGroup.create({
|
|
|
4585
4593
|
}, {
|
|
4586
4594
|
state: 'disabled',
|
|
4587
4595
|
name: 'icon-disabled'
|
|
4588
|
-
}]
|
|
4596
|
+
}, 'icon-interactive']
|
|
4589
4597
|
});
|
|
4590
4598
|
var support = TokenGroup.create({
|
|
4591
4599
|
name: 'Support',
|
|
@@ -4758,4 +4766,4 @@ var themes = {
|
|
|
4758
4766
|
g100: g100$1
|
|
4759
4767
|
};
|
|
4760
4768
|
|
|
4761
|
-
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, 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 };
|
|
4769
|
+
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 };
|
package/lib/index.js
CHANGED
|
@@ -643,13 +643,13 @@ var fieldHover03$3 = colors$1.gray10Hover; // Border
|
|
|
643
643
|
|
|
644
644
|
var borderSubtle00$3 = colors$1.gray20; // border-subtle-01
|
|
645
645
|
|
|
646
|
-
var borderSubtle01$3 = colors$1.
|
|
646
|
+
var borderSubtle01$3 = colors$1.gray30;
|
|
647
647
|
var borderSubtleSelected01$3 = colors$1.gray30; // border-subtle-02
|
|
648
648
|
|
|
649
649
|
var borderSubtle02$3 = colors$1.gray20;
|
|
650
650
|
var borderSubtleSelected02$3 = colors$1.gray30; // border-subtle-03
|
|
651
651
|
|
|
652
|
-
var borderSubtle03$3 = colors$1.
|
|
652
|
+
var borderSubtle03$3 = colors$1.gray30;
|
|
653
653
|
var borderSubtleSelected03$3 = colors$1.gray30; // border-strong
|
|
654
654
|
|
|
655
655
|
var borderStrong01$3 = colors$1.gray50;
|
|
@@ -689,7 +689,8 @@ var iconSecondary$7 = colors$1.gray70;
|
|
|
689
689
|
var iconInverse$7 = colors$1.white;
|
|
690
690
|
var iconOnColor$7 = colors$1.white;
|
|
691
691
|
var iconOnColorDisabled$7 = colors$1.gray50;
|
|
692
|
-
var iconDisabled$7 = adjustAlpha(iconPrimary$7, 0.25);
|
|
692
|
+
var iconDisabled$7 = adjustAlpha(iconPrimary$7, 0.25);
|
|
693
|
+
var iconInteractive$3 = colors$1.blue60; // Support
|
|
693
694
|
|
|
694
695
|
var supportError$7 = colors$1.red60;
|
|
695
696
|
var supportSuccess$7 = colors$1.green50;
|
|
@@ -796,6 +797,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
|
|
|
796
797
|
iconOnColor: iconOnColor$7,
|
|
797
798
|
iconOnColorDisabled: iconOnColorDisabled$7,
|
|
798
799
|
iconDisabled: iconDisabled$7,
|
|
800
|
+
iconInteractive: iconInteractive$3,
|
|
799
801
|
supportError: supportError$7,
|
|
800
802
|
supportSuccess: supportSuccess$7,
|
|
801
803
|
supportWarning: supportWarning$7,
|
|
@@ -944,12 +946,12 @@ var field03$2 = colors$1.white;
|
|
|
944
946
|
var fieldHover03$2 = colors$1.whiteHover; // Border
|
|
945
947
|
// border-subtle-00
|
|
946
948
|
|
|
947
|
-
var borderSubtle00$2 = colors$1.
|
|
949
|
+
var borderSubtle00$2 = colors$1.gray30; // border-subtle-01
|
|
948
950
|
|
|
949
951
|
var borderSubtle01$2 = colors$1.gray20;
|
|
950
952
|
var borderSubtleSelected01$2 = colors$1.gray30; // border-subtle-02
|
|
951
953
|
|
|
952
|
-
var borderSubtle02$2 = colors$1.
|
|
954
|
+
var borderSubtle02$2 = colors$1.gray30;
|
|
953
955
|
var borderSubtleSelected02$2 = colors$1.gray30; // border-subtle-03
|
|
954
956
|
|
|
955
957
|
var borderSubtle03$2 = colors$1.gray20;
|
|
@@ -992,7 +994,8 @@ var iconSecondary$6 = colors$1.gray70;
|
|
|
992
994
|
var iconInverse$6 = colors$1.white;
|
|
993
995
|
var iconOnColor$6 = colors$1.white;
|
|
994
996
|
var iconOnColorDisabled$6 = colors$1.gray50;
|
|
995
|
-
var iconDisabled$6 = adjustAlpha(iconPrimary$6, 0.25);
|
|
997
|
+
var iconDisabled$6 = adjustAlpha(iconPrimary$6, 0.25);
|
|
998
|
+
var iconInteractive$2 = colors$1.blue60; // Support
|
|
996
999
|
|
|
997
1000
|
var supportError$6 = colors$1.red60;
|
|
998
1001
|
var supportSuccess$6 = colors$1.green50;
|
|
@@ -1099,6 +1102,7 @@ var g10$1 = /*#__PURE__*/Object.freeze({
|
|
|
1099
1102
|
iconOnColor: iconOnColor$6,
|
|
1100
1103
|
iconOnColorDisabled: iconOnColorDisabled$6,
|
|
1101
1104
|
iconDisabled: iconDisabled$6,
|
|
1105
|
+
iconInteractive: iconInteractive$2,
|
|
1102
1106
|
supportError: supportError$6,
|
|
1103
1107
|
supportSuccess: supportSuccess$6,
|
|
1104
1108
|
supportWarning: supportWarning$6,
|
|
@@ -1295,7 +1299,8 @@ var iconSecondary$5 = colors$1.gray30;
|
|
|
1295
1299
|
var iconInverse$5 = colors$1.gray100;
|
|
1296
1300
|
var iconOnColor$5 = colors$1.white;
|
|
1297
1301
|
var iconOnColorDisabled$5 = adjustAlpha(iconOnColor$5, 0.25);
|
|
1298
|
-
var iconDisabled$5 = adjustAlpha(iconPrimary$5, 0.25);
|
|
1302
|
+
var iconDisabled$5 = adjustAlpha(iconPrimary$5, 0.25);
|
|
1303
|
+
var iconInteractive$1 = colors$1.white; // Support
|
|
1299
1304
|
|
|
1300
1305
|
var supportError$5 = colors$1.red40;
|
|
1301
1306
|
var supportSuccess$5 = colors$1.green40;
|
|
@@ -1402,6 +1407,7 @@ var g90$1 = /*#__PURE__*/Object.freeze({
|
|
|
1402
1407
|
iconOnColor: iconOnColor$5,
|
|
1403
1408
|
iconOnColorDisabled: iconOnColorDisabled$5,
|
|
1404
1409
|
iconDisabled: iconDisabled$5,
|
|
1410
|
+
iconInteractive: iconInteractive$1,
|
|
1405
1411
|
supportError: supportError$5,
|
|
1406
1412
|
supportSuccess: supportSuccess$5,
|
|
1407
1413
|
supportWarning: supportWarning$5,
|
|
@@ -1598,7 +1604,8 @@ var iconSecondary$4 = colors$1.gray30;
|
|
|
1598
1604
|
var iconInverse$4 = colors$1.gray100;
|
|
1599
1605
|
var iconOnColor$4 = colors$1.white;
|
|
1600
1606
|
var iconOnColorDisabled$4 = adjustAlpha(iconOnColor$4, 0.25);
|
|
1601
|
-
var iconDisabled$4 = adjustAlpha(iconPrimary$4, 0.25);
|
|
1607
|
+
var iconDisabled$4 = adjustAlpha(iconPrimary$4, 0.25);
|
|
1608
|
+
var iconInteractive = colors$1.white; // Support
|
|
1602
1609
|
|
|
1603
1610
|
var supportError$4 = colors$1.red50;
|
|
1604
1611
|
var supportSuccess$4 = colors$1.green40;
|
|
@@ -1705,6 +1712,7 @@ var g100$1 = /*#__PURE__*/Object.freeze({
|
|
|
1705
1712
|
iconOnColor: iconOnColor$4,
|
|
1706
1713
|
iconOnColorDisabled: iconOnColorDisabled$4,
|
|
1707
1714
|
iconDisabled: iconDisabled$4,
|
|
1715
|
+
iconInteractive: iconInteractive,
|
|
1708
1716
|
supportError: supportError$4,
|
|
1709
1717
|
supportSuccess: supportSuccess$4,
|
|
1710
1718
|
supportWarning: supportWarning$4,
|
|
@@ -4591,7 +4599,7 @@ var icon = TokenGroup.create({
|
|
|
4591
4599
|
}, {
|
|
4592
4600
|
state: 'disabled',
|
|
4593
4601
|
name: 'icon-disabled'
|
|
4594
|
-
}]
|
|
4602
|
+
}, 'icon-interactive']
|
|
4595
4603
|
});
|
|
4596
4604
|
var support = TokenGroup.create({
|
|
4597
4605
|
name: 'Support',
|
|
@@ -5060,6 +5068,7 @@ exports.g100 = g100$1;
|
|
|
5060
5068
|
exports.g90 = g90$1;
|
|
5061
5069
|
exports.highlight = highlight$7;
|
|
5062
5070
|
exports.iconDisabled = iconDisabled$7;
|
|
5071
|
+
exports.iconInteractive = iconInteractive$3;
|
|
5063
5072
|
exports.iconInverse = iconInverse$7;
|
|
5064
5073
|
exports.iconOnColor = iconOnColor$7;
|
|
5065
5074
|
exports.iconOnColorDisabled = iconOnColorDisabled$7;
|
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.17.0
|
|
4
|
+
"version": "11.17.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
"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\""
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@carbon/colors": "^11.13.0
|
|
33
|
-
"@carbon/layout": "^11.12.0
|
|
34
|
-
"@carbon/type": "^11.16.0
|
|
32
|
+
"@carbon/colors": "^11.13.0",
|
|
33
|
+
"@carbon/layout": "^11.12.0",
|
|
34
|
+
"@carbon/type": "^11.16.0",
|
|
35
35
|
"color": "^4.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/node": "^7.17.10",
|
|
39
39
|
"@babel/preset-env": "^7.18.2",
|
|
40
|
-
"@carbon/cli": "^11.9.0
|
|
41
|
-
"@carbon/cli-reporter": "^10.6.0
|
|
42
|
-
"@carbon/scss-generator": "^10.16.0
|
|
43
|
-
"@carbon/test-utils": "^10.27.0
|
|
40
|
+
"@carbon/cli": "^11.9.0",
|
|
41
|
+
"@carbon/cli-reporter": "^10.6.0",
|
|
42
|
+
"@carbon/scss-generator": "^10.16.0",
|
|
43
|
+
"@carbon/test-utils": "^10.27.0",
|
|
44
44
|
"change-case": "^4.1.1",
|
|
45
45
|
"core-js": "^3.16.0",
|
|
46
46
|
"fs-extra": "^10.0.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"rimraf": "^4.0.0"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false,
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "07168bf0272678a04c92cd1e700ac60e66355a95"
|
|
52
52
|
}
|
|
@@ -27,9 +27,9 @@ $white: (
|
|
|
27
27
|
border-strong-02: #8d8d8d,
|
|
28
28
|
border-strong-03: #8d8d8d,
|
|
29
29
|
border-subtle-00: #e0e0e0,
|
|
30
|
-
border-subtle-01: #
|
|
30
|
+
border-subtle-01: #c6c6c6,
|
|
31
31
|
border-subtle-02: #e0e0e0,
|
|
32
|
-
border-subtle-03: #
|
|
32
|
+
border-subtle-03: #c6c6c6,
|
|
33
33
|
border-subtle-selected-01: #c6c6c6,
|
|
34
34
|
border-subtle-selected-02: #c6c6c6,
|
|
35
35
|
border-subtle-selected-03: #c6c6c6,
|
|
@@ -47,6 +47,7 @@ $white: (
|
|
|
47
47
|
focus-inverse: #ffffff,
|
|
48
48
|
highlight: #d0e2ff,
|
|
49
49
|
icon-disabled: rgba(22, 22, 22, 0.25),
|
|
50
|
+
icon-interactive: #0f62fe,
|
|
50
51
|
icon-inverse: #ffffff,
|
|
51
52
|
icon-on-color: #ffffff,
|
|
52
53
|
icon-on-color-disabled: #8d8d8d,
|
|
@@ -134,9 +135,9 @@ $g10: (
|
|
|
134
135
|
border-strong-01: #8d8d8d,
|
|
135
136
|
border-strong-02: #8d8d8d,
|
|
136
137
|
border-strong-03: #8d8d8d,
|
|
137
|
-
border-subtle-00: #
|
|
138
|
+
border-subtle-00: #c6c6c6,
|
|
138
139
|
border-subtle-01: #e0e0e0,
|
|
139
|
-
border-subtle-02: #
|
|
140
|
+
border-subtle-02: #c6c6c6,
|
|
140
141
|
border-subtle-03: #e0e0e0,
|
|
141
142
|
border-subtle-selected-01: #c6c6c6,
|
|
142
143
|
border-subtle-selected-02: #c6c6c6,
|
|
@@ -155,6 +156,7 @@ $g10: (
|
|
|
155
156
|
focus-inverse: #ffffff,
|
|
156
157
|
highlight: #d0e2ff,
|
|
157
158
|
icon-disabled: rgba(22, 22, 22, 0.25),
|
|
159
|
+
icon-interactive: #0f62fe,
|
|
158
160
|
icon-inverse: #ffffff,
|
|
159
161
|
icon-on-color: #ffffff,
|
|
160
162
|
icon-on-color-disabled: #8d8d8d,
|
|
@@ -263,6 +265,7 @@ $g90: (
|
|
|
263
265
|
focus-inverse: #0f62fe,
|
|
264
266
|
highlight: #0043ce,
|
|
265
267
|
icon-disabled: rgba(244, 244, 244, 0.25),
|
|
268
|
+
icon-interactive: #ffffff,
|
|
266
269
|
icon-inverse: #161616,
|
|
267
270
|
icon-on-color: #ffffff,
|
|
268
271
|
icon-on-color-disabled: rgba(255, 255, 255, 0.25),
|
|
@@ -371,6 +374,7 @@ $g100: (
|
|
|
371
374
|
focus-inverse: #0f62fe,
|
|
372
375
|
highlight: #002d9c,
|
|
373
376
|
icon-disabled: rgba(244, 244, 244, 0.25),
|
|
377
|
+
icon-interactive: #ffffff,
|
|
374
378
|
icon-inverse: #161616,
|
|
375
379
|
icon-on-color: #ffffff,
|
|
376
380
|
icon-on-color-disabled: rgba(255, 255, 255, 0.25),
|
|
@@ -256,6 +256,9 @@ $icon-on-color-disabled: _get('icon-on-color-disabled') !default;
|
|
|
256
256
|
/// The CSS Custom Property for the `icon-disabled` token
|
|
257
257
|
$icon-disabled: _get('icon-disabled') !default;
|
|
258
258
|
|
|
259
|
+
/// The CSS Custom Property for the `icon-interactive` token
|
|
260
|
+
$icon-interactive: _get('icon-interactive') !default;
|
|
261
|
+
|
|
259
262
|
/// The CSS Custom Property for the `support-error` token
|
|
260
263
|
$support-error: _get('support-error') !default;
|
|
261
264
|
|
package/src/g10.js
CHANGED
|
@@ -109,14 +109,14 @@ export const fieldHover03 = whiteHover;
|
|
|
109
109
|
|
|
110
110
|
// Border
|
|
111
111
|
// border-subtle-00
|
|
112
|
-
export const borderSubtle00 =
|
|
112
|
+
export const borderSubtle00 = gray30;
|
|
113
113
|
|
|
114
114
|
// border-subtle-01
|
|
115
115
|
export const borderSubtle01 = gray20;
|
|
116
116
|
export const borderSubtleSelected01 = gray30;
|
|
117
117
|
|
|
118
118
|
// border-subtle-02
|
|
119
|
-
export const borderSubtle02 =
|
|
119
|
+
export const borderSubtle02 = gray30;
|
|
120
120
|
export const borderSubtleSelected02 = gray30;
|
|
121
121
|
|
|
122
122
|
// border-subtle-03
|
|
@@ -169,6 +169,7 @@ export const iconInverse = white;
|
|
|
169
169
|
export const iconOnColor = white;
|
|
170
170
|
export const iconOnColorDisabled = gray50;
|
|
171
171
|
export const iconDisabled = adjustAlpha(iconPrimary, 0.25);
|
|
172
|
+
export const iconInteractive = blue60;
|
|
172
173
|
|
|
173
174
|
// Support
|
|
174
175
|
export const supportError = red60;
|
package/src/g100.js
CHANGED
|
@@ -176,6 +176,7 @@ export const iconInverse = gray100;
|
|
|
176
176
|
export const iconOnColor = white;
|
|
177
177
|
export const iconOnColorDisabled = adjustAlpha(iconOnColor, 0.25);
|
|
178
178
|
export const iconDisabled = adjustAlpha(iconPrimary, 0.25);
|
|
179
|
+
export const iconInteractive = white;
|
|
179
180
|
|
|
180
181
|
// Support
|
|
181
182
|
export const supportError = red50;
|
package/src/g90.js
CHANGED
|
@@ -176,6 +176,7 @@ export const iconInverse = gray100;
|
|
|
176
176
|
export const iconOnColor = white;
|
|
177
177
|
export const iconOnColorDisabled = adjustAlpha(iconOnColor, 0.25);
|
|
178
178
|
export const iconDisabled = adjustAlpha(iconPrimary, 0.25);
|
|
179
|
+
export const iconInteractive = white;
|
|
179
180
|
|
|
180
181
|
// Support
|
|
181
182
|
export const supportError = red40;
|
package/src/white.js
CHANGED
|
@@ -112,7 +112,7 @@ export const fieldHover03 = gray10Hover;
|
|
|
112
112
|
export const borderSubtle00 = gray20;
|
|
113
113
|
|
|
114
114
|
// border-subtle-01
|
|
115
|
-
export const borderSubtle01 =
|
|
115
|
+
export const borderSubtle01 = gray30;
|
|
116
116
|
export const borderSubtleSelected01 = gray30;
|
|
117
117
|
|
|
118
118
|
// border-subtle-02
|
|
@@ -120,7 +120,7 @@ export const borderSubtle02 = gray20;
|
|
|
120
120
|
export const borderSubtleSelected02 = gray30;
|
|
121
121
|
|
|
122
122
|
// border-subtle-03
|
|
123
|
-
export const borderSubtle03 =
|
|
123
|
+
export const borderSubtle03 = gray30;
|
|
124
124
|
export const borderSubtleSelected03 = gray30;
|
|
125
125
|
|
|
126
126
|
// border-strong
|
|
@@ -169,6 +169,7 @@ export const iconInverse = white;
|
|
|
169
169
|
export const iconOnColor = white;
|
|
170
170
|
export const iconOnColorDisabled = gray50;
|
|
171
171
|
export const iconDisabled = adjustAlpha(iconPrimary, 0.25);
|
|
172
|
+
export const iconInteractive = blue60;
|
|
172
173
|
|
|
173
174
|
// Support
|
|
174
175
|
export const supportError = red60;
|
package/umd/index.js
CHANGED
|
@@ -640,13 +640,13 @@
|
|
|
640
640
|
|
|
641
641
|
var borderSubtle00$3 = colors$1.gray20; // border-subtle-01
|
|
642
642
|
|
|
643
|
-
var borderSubtle01$3 = colors$1.
|
|
643
|
+
var borderSubtle01$3 = colors$1.gray30;
|
|
644
644
|
var borderSubtleSelected01$3 = colors$1.gray30; // border-subtle-02
|
|
645
645
|
|
|
646
646
|
var borderSubtle02$3 = colors$1.gray20;
|
|
647
647
|
var borderSubtleSelected02$3 = colors$1.gray30; // border-subtle-03
|
|
648
648
|
|
|
649
|
-
var borderSubtle03$3 = colors$1.
|
|
649
|
+
var borderSubtle03$3 = colors$1.gray30;
|
|
650
650
|
var borderSubtleSelected03$3 = colors$1.gray30; // border-strong
|
|
651
651
|
|
|
652
652
|
var borderStrong01$3 = colors$1.gray50;
|
|
@@ -686,7 +686,8 @@
|
|
|
686
686
|
var iconInverse$7 = colors$1.white;
|
|
687
687
|
var iconOnColor$7 = colors$1.white;
|
|
688
688
|
var iconOnColorDisabled$7 = colors$1.gray50;
|
|
689
|
-
var iconDisabled$7 = adjustAlpha(iconPrimary$7, 0.25);
|
|
689
|
+
var iconDisabled$7 = adjustAlpha(iconPrimary$7, 0.25);
|
|
690
|
+
var iconInteractive$3 = colors$1.blue60; // Support
|
|
690
691
|
|
|
691
692
|
var supportError$7 = colors$1.red60;
|
|
692
693
|
var supportSuccess$7 = colors$1.green50;
|
|
@@ -793,6 +794,7 @@
|
|
|
793
794
|
iconOnColor: iconOnColor$7,
|
|
794
795
|
iconOnColorDisabled: iconOnColorDisabled$7,
|
|
795
796
|
iconDisabled: iconDisabled$7,
|
|
797
|
+
iconInteractive: iconInteractive$3,
|
|
796
798
|
supportError: supportError$7,
|
|
797
799
|
supportSuccess: supportSuccess$7,
|
|
798
800
|
supportWarning: supportWarning$7,
|
|
@@ -941,12 +943,12 @@
|
|
|
941
943
|
var fieldHover03$2 = colors$1.whiteHover; // Border
|
|
942
944
|
// border-subtle-00
|
|
943
945
|
|
|
944
|
-
var borderSubtle00$2 = colors$1.
|
|
946
|
+
var borderSubtle00$2 = colors$1.gray30; // border-subtle-01
|
|
945
947
|
|
|
946
948
|
var borderSubtle01$2 = colors$1.gray20;
|
|
947
949
|
var borderSubtleSelected01$2 = colors$1.gray30; // border-subtle-02
|
|
948
950
|
|
|
949
|
-
var borderSubtle02$2 = colors$1.
|
|
951
|
+
var borderSubtle02$2 = colors$1.gray30;
|
|
950
952
|
var borderSubtleSelected02$2 = colors$1.gray30; // border-subtle-03
|
|
951
953
|
|
|
952
954
|
var borderSubtle03$2 = colors$1.gray20;
|
|
@@ -989,7 +991,8 @@
|
|
|
989
991
|
var iconInverse$6 = colors$1.white;
|
|
990
992
|
var iconOnColor$6 = colors$1.white;
|
|
991
993
|
var iconOnColorDisabled$6 = colors$1.gray50;
|
|
992
|
-
var iconDisabled$6 = adjustAlpha(iconPrimary$6, 0.25);
|
|
994
|
+
var iconDisabled$6 = adjustAlpha(iconPrimary$6, 0.25);
|
|
995
|
+
var iconInteractive$2 = colors$1.blue60; // Support
|
|
993
996
|
|
|
994
997
|
var supportError$6 = colors$1.red60;
|
|
995
998
|
var supportSuccess$6 = colors$1.green50;
|
|
@@ -1096,6 +1099,7 @@
|
|
|
1096
1099
|
iconOnColor: iconOnColor$6,
|
|
1097
1100
|
iconOnColorDisabled: iconOnColorDisabled$6,
|
|
1098
1101
|
iconDisabled: iconDisabled$6,
|
|
1102
|
+
iconInteractive: iconInteractive$2,
|
|
1099
1103
|
supportError: supportError$6,
|
|
1100
1104
|
supportSuccess: supportSuccess$6,
|
|
1101
1105
|
supportWarning: supportWarning$6,
|
|
@@ -1292,7 +1296,8 @@
|
|
|
1292
1296
|
var iconInverse$5 = colors$1.gray100;
|
|
1293
1297
|
var iconOnColor$5 = colors$1.white;
|
|
1294
1298
|
var iconOnColorDisabled$5 = adjustAlpha(iconOnColor$5, 0.25);
|
|
1295
|
-
var iconDisabled$5 = adjustAlpha(iconPrimary$5, 0.25);
|
|
1299
|
+
var iconDisabled$5 = adjustAlpha(iconPrimary$5, 0.25);
|
|
1300
|
+
var iconInteractive$1 = colors$1.white; // Support
|
|
1296
1301
|
|
|
1297
1302
|
var supportError$5 = colors$1.red40;
|
|
1298
1303
|
var supportSuccess$5 = colors$1.green40;
|
|
@@ -1399,6 +1404,7 @@
|
|
|
1399
1404
|
iconOnColor: iconOnColor$5,
|
|
1400
1405
|
iconOnColorDisabled: iconOnColorDisabled$5,
|
|
1401
1406
|
iconDisabled: iconDisabled$5,
|
|
1407
|
+
iconInteractive: iconInteractive$1,
|
|
1402
1408
|
supportError: supportError$5,
|
|
1403
1409
|
supportSuccess: supportSuccess$5,
|
|
1404
1410
|
supportWarning: supportWarning$5,
|
|
@@ -1595,7 +1601,8 @@
|
|
|
1595
1601
|
var iconInverse$4 = colors$1.gray100;
|
|
1596
1602
|
var iconOnColor$4 = colors$1.white;
|
|
1597
1603
|
var iconOnColorDisabled$4 = adjustAlpha(iconOnColor$4, 0.25);
|
|
1598
|
-
var iconDisabled$4 = adjustAlpha(iconPrimary$4, 0.25);
|
|
1604
|
+
var iconDisabled$4 = adjustAlpha(iconPrimary$4, 0.25);
|
|
1605
|
+
var iconInteractive = colors$1.white; // Support
|
|
1599
1606
|
|
|
1600
1607
|
var supportError$4 = colors$1.red50;
|
|
1601
1608
|
var supportSuccess$4 = colors$1.green40;
|
|
@@ -1702,6 +1709,7 @@
|
|
|
1702
1709
|
iconOnColor: iconOnColor$4,
|
|
1703
1710
|
iconOnColorDisabled: iconOnColorDisabled$4,
|
|
1704
1711
|
iconDisabled: iconDisabled$4,
|
|
1712
|
+
iconInteractive: iconInteractive,
|
|
1705
1713
|
supportError: supportError$4,
|
|
1706
1714
|
supportSuccess: supportSuccess$4,
|
|
1707
1715
|
supportWarning: supportWarning$4,
|
|
@@ -4588,7 +4596,7 @@
|
|
|
4588
4596
|
}, {
|
|
4589
4597
|
state: 'disabled',
|
|
4590
4598
|
name: 'icon-disabled'
|
|
4591
|
-
}]
|
|
4599
|
+
}, 'icon-interactive']
|
|
4592
4600
|
});
|
|
4593
4601
|
var support = TokenGroup.create({
|
|
4594
4602
|
name: 'Support',
|
|
@@ -5057,6 +5065,7 @@
|
|
|
5057
5065
|
exports.g90 = g90$1;
|
|
5058
5066
|
exports.highlight = highlight$7;
|
|
5059
5067
|
exports.iconDisabled = iconDisabled$7;
|
|
5068
|
+
exports.iconInteractive = iconInteractive$3;
|
|
5060
5069
|
exports.iconInverse = iconInverse$7;
|
|
5061
5070
|
exports.iconOnColor = iconOnColor$7;
|
|
5062
5071
|
exports.iconOnColorDisabled = iconOnColorDisabled$7;
|