@carbon/themes 11.41.0 → 11.42.0-rc.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, purple40, blue30, green50, yellow30, red50, green40, blue50, orange40, blue20, rgba, blue10, black, blue100, gray90, gray70Hover, gray60Hover, gray50Hover, red30, red40, purple50, gray90Hover, blue80, blue90, 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, coolGray100, coolGray10, coolGray20Hover, coolGray70Hover, warmGray20, warmGray70, warmGray100, warmGray10, warmGray20Hover, warmGray70Hover, cyan40, cyan50, teal40, teal50, magenta40, magenta50, coolGray40, coolGray50, warmGray40, warmGray50, red10, green10, 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, purple40, blue30, green50, yellow30, red50, green40, blue50, orange40, blue20, rgba, blue10, black, blue100, gray90, gray70Hover, gray60Hover, gray50Hover, red30, red40, purple50, gray90Hover, blue80, blue90, 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, coolGray100, coolGray10, coolGray20Hover, coolGray70Hover, warmGray20, warmGray70, warmGray100, warmGray10, warmGray20Hover, warmGray70Hover, cyan40, cyan50, teal40, teal50, magenta40, magenta50, coolGray40, coolGray50, warmGray40, warmGray50, red10, green10, yellow10, 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';
@@ -4575,13 +4575,9 @@ var notificationBackgroundInfo = {
4575
4575
  g90: gray80,
4576
4576
  g100: gray90
4577
4577
  };
4578
- var colorMap = {
4579
- yellow30: yellow30,
4580
- white0: white0
4581
- };
4582
4578
  var notificationBackgroundWarning = {
4583
- whiteTheme: colorMap,
4584
- g10: colorMap,
4579
+ whiteTheme: yellow10,
4580
+ g10: yellow10,
4585
4581
  g90: gray80,
4586
4582
  g100: gray90
4587
4583
  };
@@ -4625,7 +4621,6 @@ var tokens = /*#__PURE__*/Object.freeze({
4625
4621
  notificationBackgroundError: notificationBackgroundError,
4626
4622
  notificationBackgroundSuccess: notificationBackgroundSuccess,
4627
4623
  notificationBackgroundInfo: notificationBackgroundInfo,
4628
- colorMap: colorMap,
4629
4624
  notificationBackgroundWarning: notificationBackgroundWarning,
4630
4625
  notificationActionHover: notificationActionHover,
4631
4626
  notificationActionTertiaryInverse: notificationActionTertiaryInverse,
package/lib/index.js CHANGED
@@ -4581,13 +4581,9 @@ var notificationBackgroundInfo = {
4581
4581
  g90: colors$1.gray80,
4582
4582
  g100: colors$1.gray90
4583
4583
  };
4584
- var colorMap = {
4585
- yellow30: colors$1.yellow30,
4586
- white0: colors$1.white0
4587
- };
4588
4584
  var notificationBackgroundWarning = {
4589
- whiteTheme: colorMap,
4590
- g10: colorMap,
4585
+ whiteTheme: colors$1.yellow10,
4586
+ g10: colors$1.yellow10,
4591
4587
  g90: colors$1.gray80,
4592
4588
  g100: colors$1.gray90
4593
4589
  };
@@ -4631,7 +4627,6 @@ var tokens = /*#__PURE__*/Object.freeze({
4631
4627
  notificationBackgroundError: notificationBackgroundError,
4632
4628
  notificationBackgroundSuccess: notificationBackgroundSuccess,
4633
4629
  notificationBackgroundInfo: notificationBackgroundInfo,
4634
- colorMap: colorMap,
4635
4630
  notificationBackgroundWarning: notificationBackgroundWarning,
4636
4631
  notificationActionHover: notificationActionHover,
4637
4632
  notificationActionTertiaryInverse: notificationActionTertiaryInverse,
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.41.0",
4
+ "version": "11.42.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -51,5 +51,5 @@
51
51
  "rimraf": "^6.0.0"
52
52
  },
53
53
  "sideEffects": false,
54
- "gitHead": "ea46616d9ea6afb2f14b862a344203e54d19e5a0"
54
+ "gitHead": "99debcc48ebc5f9a5ee5848fef06af4ee6448c30"
55
55
  }
@@ -8,11 +8,6 @@
8
8
 
9
9
  @use 'sass:map';
10
10
 
11
- $color-map: (
12
- yellow-30: #f1c21b,
13
- white-0: #ffffff,
14
- ) !default;
15
-
16
11
  $notification-action-hover: (
17
12
  white-theme: #ffffff,
18
13
  g-10: #ffffff,
@@ -75,14 +70,8 @@ $notification-background-success: (
75
70
  ) !default;
76
71
 
77
72
  $notification-background-warning: (
78
- white-theme: (
79
- yellow-30: #f1c21b,
80
- white-0: #ffffff,
81
- ),
82
- g-10: (
83
- yellow-30: #f1c21b,
84
- white-0: #ffffff,
85
- ),
73
+ white-theme: #fcf4d6,
74
+ g-10: #fcf4d6,
86
75
  g-90: #393939,
87
76
  g-100: #262626,
88
77
  ) !default;
@@ -4,7 +4,7 @@ import {
4
4
  gray90,
5
5
  green10,
6
6
  blue10,
7
- yellow30,
7
+ yellow10,
8
8
  white0,
9
9
  } from '@carbon/colors';
10
10
  import {
@@ -50,14 +50,9 @@ export const notificationBackgroundInfo = {
50
50
  g100: gray90,
51
51
  };
52
52
 
53
- export const colorMap = {
54
- yellow30,
55
- white0,
56
- };
57
-
58
53
  export const notificationBackgroundWarning = {
59
- whiteTheme: colorMap,
60
- g10: colorMap,
54
+ whiteTheme: yellow10,
55
+ g10: yellow10,
61
56
  g90: gray80,
62
57
  g100: gray90,
63
58
  };
package/umd/index.js CHANGED
@@ -4578,13 +4578,9 @@
4578
4578
  g90: colors$1.gray80,
4579
4579
  g100: colors$1.gray90
4580
4580
  };
4581
- var colorMap = {
4582
- yellow30: colors$1.yellow30,
4583
- white0: colors$1.white0
4584
- };
4585
4581
  var notificationBackgroundWarning = {
4586
- whiteTheme: colorMap,
4587
- g10: colorMap,
4582
+ whiteTheme: colors$1.yellow10,
4583
+ g10: colors$1.yellow10,
4588
4584
  g90: colors$1.gray80,
4589
4585
  g100: colors$1.gray90
4590
4586
  };
@@ -4628,7 +4624,6 @@
4628
4624
  notificationBackgroundError: notificationBackgroundError,
4629
4625
  notificationBackgroundSuccess: notificationBackgroundSuccess,
4630
4626
  notificationBackgroundInfo: notificationBackgroundInfo,
4631
- colorMap: colorMap,
4632
4627
  notificationBackgroundWarning: notificationBackgroundWarning,
4633
4628
  notificationActionHover: notificationActionHover,
4634
4629
  notificationActionTertiaryInverse: notificationActionTertiaryInverse,