@carbon/themes 10.12.0 → 10.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/sass.md CHANGED
@@ -2818,7 +2818,7 @@ $text-02: if(
2818
2818
  'text-02'
2819
2819
  ),
2820
2820
  map-get($carbon--theme, 'text-02'),
2821
- #393939
2821
+ #525252
2822
2822
  );
2823
2823
  ```
2824
2824
 
@@ -4548,7 +4548,7 @@ $productive-heading-03: if(
4548
4548
  (
4549
4549
  font-size: 1.25rem,
4550
4550
  font-weight: 400,
4551
- line-height: 1.625rem,
4551
+ line-height: 1.75rem,
4552
4552
  letter-spacing: 0,
4553
4553
  )
4554
4554
  );
@@ -4744,7 +4744,7 @@ $expressive-heading-03: if(
4744
4744
  (
4745
4745
  font-size: 1.25rem,
4746
4746
  font-weight: 400,
4747
- line-height: 130%,
4747
+ line-height: 140%,
4748
4748
  letter-spacing: 0,
4749
4749
  breakpoints: (
4750
4750
  xlg: (
package/es/index.js CHANGED
@@ -66,7 +66,7 @@ function _objectSpread2(target) {
66
66
 
67
67
  function adjustLightness(token, shift) {
68
68
  var original = Color(token).hsl().object();
69
- return Color(_objectSpread2({}, original, {
69
+ return Color(_objectSpread2(_objectSpread2({}, original), {}, {
70
70
  l: original.l += shift
71
71
  })).round().hex().toLowerCase();
72
72
  }
@@ -88,7 +88,7 @@ var ui03 = gray20;
88
88
  var ui04 = gray50;
89
89
  var ui05 = gray100;
90
90
  var text01 = gray100;
91
- var text02 = gray80;
91
+ var text02 = gray70;
92
92
  var text03 = gray40;
93
93
  var text04 = white;
94
94
  var text05 = gray60;
@@ -293,7 +293,7 @@ var ui03$1 = gray20;
293
293
  var ui04$1 = gray50;
294
294
  var ui05$1 = gray100;
295
295
  var text01$1 = gray100;
296
- var text02$1 = gray80;
296
+ var text02$1 = gray70;
297
297
  var text03$1 = gray40;
298
298
  var text04$1 = white;
299
299
  var text05$1 = gray60;
package/lib/index.js CHANGED
@@ -70,7 +70,7 @@ function _objectSpread2(target) {
70
70
 
71
71
  function adjustLightness(token, shift) {
72
72
  var original = Color(token).hsl().object();
73
- return Color(_objectSpread2({}, original, {
73
+ return Color(_objectSpread2(_objectSpread2({}, original), {}, {
74
74
  l: original.l += shift
75
75
  })).round().hex().toLowerCase();
76
76
  }
@@ -92,7 +92,7 @@ var ui03 = colors.gray20;
92
92
  var ui04 = colors.gray50;
93
93
  var ui05 = colors.gray100;
94
94
  var text01 = colors.gray100;
95
- var text02 = colors.gray80;
95
+ var text02 = colors.gray70;
96
96
  var text03 = colors.gray40;
97
97
  var text04 = colors.white;
98
98
  var text05 = colors.gray60;
@@ -297,7 +297,7 @@ var ui03$1 = colors.gray20;
297
297
  var ui04$1 = colors.gray50;
298
298
  var ui05$1 = colors.gray100;
299
299
  var text01$1 = colors.gray100;
300
- var text02$1 = colors.gray80;
300
+ var text02$1 = colors.gray70;
301
301
  var text03$1 = colors.gray40;
302
302
  var text04$1 = colors.white;
303
303
  var text05$1 = colors.gray60;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/themes",
3
3
  "description": "Themes for applying color in the Carbon Design System",
4
- "version": "10.12.0",
4
+ "version": "10.14.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -24,21 +24,21 @@
24
24
  "build": "yarn clean && bundler bundle src/index.js --name CarbonThemes && node tasks/build.js && bundler check \"scss/*.scss\" && bundler sassdoc \"scss/**/*.scss\""
25
25
  },
26
26
  "dependencies": {
27
- "@carbon/colors": "^10.9.2",
28
- "@carbon/layout": "^10.9.2",
29
- "@carbon/type": "^10.10.2",
27
+ "@carbon/colors": "^10.11.0",
28
+ "@carbon/layout": "^10.11.0",
29
+ "@carbon/type": "^10.12.0",
30
30
  "color": "^3.1.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@carbon/cli-reporter": "^10.3.0",
34
- "@carbon/scss-generator": "^10.7.0",
35
- "@carbon/test-utils": "^10.8.2",
34
+ "@carbon/scss-generator": "^10.9.0",
35
+ "@carbon/test-utils": "^10.10.0",
36
36
  "change-case": "^4.1.1",
37
- "core-js": "^3.0.1",
37
+ "core-js": "^3.6.5",
38
38
  "fs-extra": "^8.1.0",
39
39
  "js-yaml": "^3.13.0",
40
40
  "node-sass": "^4.13.1",
41
41
  "rimraf": "^3.0.0"
42
42
  },
43
- "gitHead": "66d2c6192f1fda06d964318831c3d664ed55f3e0"
43
+ "gitHead": "ff543b3d3dbbf51170a185c0ecff62b7dca253c7"
44
44
  }
@@ -18,7 +18,7 @@ $carbon--theme--white: (
18
18
  ui-04: #8d8d8d,
19
19
  ui-05: #161616,
20
20
  text-01: #161616,
21
- text-02: #393939,
21
+ text-02: #525252,
22
22
  text-03: #a8a8a8,
23
23
  text-04: #ffffff,
24
24
  text-05: #6f6f6f,
@@ -161,7 +161,7 @@ $carbon--theme--white: (
161
161
  productive-heading-03: (
162
162
  font-size: 1.25rem,
163
163
  font-weight: 400,
164
- line-height: 1.625rem,
164
+ line-height: 1.75rem,
165
165
  letter-spacing: 0,
166
166
  ),
167
167
  productive-heading-04: (
@@ -203,7 +203,7 @@ $carbon--theme--white: (
203
203
  expressive-heading-03: (
204
204
  font-size: 1.25rem,
205
205
  font-weight: 400,
206
- line-height: 130%,
206
+ line-height: 140%,
207
207
  letter-spacing: 0,
208
208
  breakpoints: (
209
209
  xlg: (
@@ -135,7 +135,7 @@ $text-02: if(
135
135
  global-variable-exists('carbon--theme') and
136
136
  map-has-key($carbon--theme, 'text-02'),
137
137
  map-get($carbon--theme, 'text-02'),
138
- #393939
138
+ #525252
139
139
  ) !default;
140
140
 
141
141
  /// Placeholder text
@@ -941,7 +941,7 @@ $productive-heading-03: if(
941
941
  (
942
942
  font-size: 1.25rem,
943
943
  font-weight: 400,
944
- line-height: 1.625rem,
944
+ line-height: 1.75rem,
945
945
  letter-spacing: 0,
946
946
  )
947
947
  ) !default;
@@ -1046,7 +1046,7 @@ $expressive-heading-03: if(
1046
1046
  (
1047
1047
  font-size: 1.25rem,
1048
1048
  font-weight: 400,
1049
- line-height: 130%,
1049
+ line-height: 140%,
1050
1050
  letter-spacing: 0,
1051
1051
  breakpoints: (
1052
1052
  xlg: (
package/src/g10.js CHANGED
@@ -56,7 +56,7 @@ export const ui04 = gray50;
56
56
  export const ui05 = gray100;
57
57
 
58
58
  export const text01 = gray100;
59
- export const text02 = gray80;
59
+ export const text02 = gray70;
60
60
  export const text03 = gray40;
61
61
  export const text04 = white;
62
62
  export const text05 = gray60;
package/src/tools.js CHANGED
@@ -16,9 +16,7 @@ import Color from 'color';
16
16
  * @returns {string}
17
17
  */
18
18
  export function adjustLightness(token, shift) {
19
- const original = Color(token)
20
- .hsl()
21
- .object();
19
+ const original = Color(token).hsl().object();
22
20
 
23
21
  return Color({ ...original, l: (original.l += shift) })
24
22
  .round()
package/src/white.js CHANGED
@@ -56,7 +56,7 @@ export const ui04 = gray50;
56
56
  export const ui05 = gray100;
57
57
 
58
58
  export const text01 = gray100;
59
- export const text02 = gray80;
59
+ export const text02 = gray70;
60
60
  export const text03 = gray40;
61
61
  export const text04 = white;
62
62
  export const text05 = gray60;
package/umd/index.js CHANGED
@@ -67,7 +67,7 @@
67
67
 
68
68
  function adjustLightness(token, shift) {
69
69
  var original = Color(token).hsl().object();
70
- return Color(_objectSpread2({}, original, {
70
+ return Color(_objectSpread2(_objectSpread2({}, original), {}, {
71
71
  l: original.l += shift
72
72
  })).round().hex().toLowerCase();
73
73
  }
@@ -89,7 +89,7 @@
89
89
  var ui04 = colors.gray50;
90
90
  var ui05 = colors.gray100;
91
91
  var text01 = colors.gray100;
92
- var text02 = colors.gray80;
92
+ var text02 = colors.gray70;
93
93
  var text03 = colors.gray40;
94
94
  var text04 = colors.white;
95
95
  var text05 = colors.gray60;
@@ -294,7 +294,7 @@
294
294
  var ui04$1 = colors.gray50;
295
295
  var ui05$1 = colors.gray100;
296
296
  var text01$1 = colors.gray100;
297
- var text02$1 = colors.gray80;
297
+ var text02$1 = colors.gray70;
298
298
  var text03$1 = colors.gray40;
299
299
  var text04$1 = colors.white;
300
300
  var text05$1 = colors.gray60;