@carbon/elements 10.32.0 → 10.34.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.
@@ -43,7 +43,7 @@ $white: utilities.merge(
43
43
  inverse-01: #ffffff,
44
44
  inverse-02: #393939,
45
45
  support-01: #da1e28,
46
- support-02: #24a148,
46
+ support-02: #198038,
47
47
  support-03: #f1c21b,
48
48
  support-04: #0043ce,
49
49
  inverse-support-01: #fa4d56,
@@ -108,7 +108,7 @@ $white: utilities.merge(
108
108
  icon-on-color: #ffffff,
109
109
  icon-inverse: #ffffff,
110
110
  support-error: #da1e28,
111
- support-success: #24a148,
111
+ support-success: #198038,
112
112
  support-warning: #f1c21b,
113
113
  support-info: #0043ce,
114
114
  support-error-inverse: #fa4d56,
@@ -187,6 +187,140 @@ $g10: map.merge(
187
187
  )
188
188
  ) !default;
189
189
 
190
+ /// Carbon's g80 color theme
191
+ /// @type Map
192
+ /// @access public
193
+ /// @group @carbon/themes
194
+ $g80: map.merge(
195
+ $white,
196
+ (
197
+ background: #393939,
198
+ layer: #525252,
199
+ layer-accent: #6f6f6f,
200
+ field: #525252,
201
+ background-inverse: #f4f4f4,
202
+ interactive: #78a9ff,
203
+ border-subtle: #6f6f6f,
204
+ border-strong: #a8a8a8,
205
+ border-inverse: #f4f4f4,
206
+ border-interactive: #4589ff,
207
+ text-primary: #f4f4f4,
208
+ text-secondary: #c6c6c6,
209
+ text-placeholder: #6f6f6f,
210
+ text-helper: #a8a8a8,
211
+ text-error: #ffb3b8,
212
+ text-inverse: #161616,
213
+ link-primary: #78a9ff,
214
+ link-secondary: #a6c8ff,
215
+ link-visited: #be95ff,
216
+ link-inverse: #0f62fe,
217
+ icon-primary: #f4f4f4,
218
+ icon-secondary: #c6c6c6,
219
+ icon-inverse: #161616,
220
+ support-error: #ff8389,
221
+ support-success: #42be65,
222
+ support-info: #4589ff,
223
+ support-error-inverse: #da1e28,
224
+ support-success-inverse: #24a148,
225
+ support-info-inverse: #0f62fe,
226
+ overlay: rgba(22, 22, 22, 0.7),
227
+ button-secondary: #6f6f6f,
228
+ button-tertiary: #ffffff,
229
+ button-danger-secondary: #ff8389,
230
+ button-separator: #161616,
231
+ background-active: #525252,
232
+ layer-active: #6f6f6f,
233
+ button-secondary-active: #525252,
234
+ button-tertiary-active: #c6c6c6,
235
+ focus: #ffffff,
236
+ focus-inset: #161616,
237
+ focus-inverse: #0f62fe,
238
+ highlight: #0043ce,
239
+ background-hover: #474747,
240
+ layer-hover: #636363,
241
+ field-hover: #636363,
242
+ background-inverse-hover: #e8e8e8,
243
+ link-primary-hover: #a6c8ff,
244
+ button-primary-hover: #0151e4,
245
+ button-secondary-hover: #5e5e5e,
246
+ button-tertiary-hover: #ffffff,
247
+ background-selected: #525252,
248
+ background-selected-hover: #636363,
249
+ layer-selected: #6f6f6f,
250
+ layer-selected-hover: #616161,
251
+ layer-selected-inverse: #f4f4f4,
252
+ border-subtle-selected: #8d8d8d,
253
+ layer-disabled: #525252,
254
+ field-disabled: #525252,
255
+ border-disabled: #525252,
256
+ text-disabled: #8d8d8d,
257
+ button-disabled: #8d8d8d,
258
+ icon-disabled: #8d8d8d,
259
+ text-on-color-disabled: #c6c6c6,
260
+ icon-on-color-disabled: #c6c6c6,
261
+ layer-selected-disabled: #c6c6c6,
262
+ skeleton-background: #474747,
263
+ skeleton-element: #6f6f6f,
264
+ interactive-02: #6f6f6f,
265
+ interactive-03: #ffffff,
266
+ interactive-04: #78a9ff,
267
+ ui-background: #393939,
268
+ ui-01: #525252,
269
+ ui-02: #525252,
270
+ ui-03: #6f6f6f,
271
+ ui-04: #a8a8a8,
272
+ ui-05: #f4f4f4,
273
+ text-01: #f4f4f4,
274
+ text-02: #c6c6c6,
275
+ text-03: #6f6f6f,
276
+ text-05: #a8a8a8,
277
+ icon-01: #f4f4f4,
278
+ icon-02: #c6c6c6,
279
+ link-01: #78a9ff,
280
+ link-02: #a6c8ff,
281
+ inverse-link: #0f62fe,
282
+ field-01: #525252,
283
+ field-02: #6f6f6f,
284
+ inverse-01: #161616,
285
+ inverse-02: #f4f4f4,
286
+ support-01: #ff8389,
287
+ support-02: #42be65,
288
+ support-04: #4589ff,
289
+ inverse-support-01: #da1e28,
290
+ inverse-support-02: #24a148,
291
+ inverse-support-04: #0f62fe,
292
+ overlay-01: rgba(22, 22, 22, 0.7),
293
+ danger-02: #ff8389,
294
+ inverse-focus-ui: #0f62fe,
295
+ hover-primary: #0151e4,
296
+ hover-primary-text: #a6c8ff,
297
+ hover-secondary: #5e5e5e,
298
+ active-secondary: #525252,
299
+ hover-tertiary: #ffffff,
300
+ active-tertiary: #c6c6c6,
301
+ hover-ui: #474747,
302
+ hover-light-ui: #5e5e5e,
303
+ active-ui: #525252,
304
+ active-light-ui: #8d8d8d,
305
+ selected-ui: #525252,
306
+ selected-light-ui: #8d8d8d,
307
+ inverse-hover-ui: #e8e8e8,
308
+ hover-selected-ui: #616161,
309
+ hover-row: #636363,
310
+ visited-link: #be95ff,
311
+ disabled-01: #525252,
312
+ disabled-02: #8d8d8d,
313
+ disabled-03: #c6c6c6,
314
+ decorative-01: #6f6f6f,
315
+ skeleton-01: #474747,
316
+ skeleton-02: #6f6f6f,
317
+ brand-02: #6f6f6f,
318
+ brand-03: #ffffff,
319
+ active-01: #525252,
320
+ hover-field: #474747,
321
+ )
322
+ ) !default;
323
+
190
324
  /// Carbon's g90 color theme
191
325
  /// @type Map
192
326
  /// @access public
@@ -28,9 +28,9 @@
28
28
  @include carbon--font-weight('regular');
29
29
 
30
30
  font-family: $body-font-family;
31
- text-rendering: optimizeLegibility;
32
- -webkit-font-smoothing: antialiased;
33
31
  -moz-osx-font-smoothing: grayscale;
32
+ -webkit-font-smoothing: antialiased;
33
+ text-rendering: optimizeLegibility;
34
34
  }
35
35
 
36
36
  code {
@@ -19,6 +19,16 @@ $caption-01: (
19
19
  letter-spacing: 0.32px,
20
20
  ) !default;
21
21
 
22
+ /// @type Map
23
+ /// @access public
24
+ /// @group @carbon/type
25
+ $caption-02: (
26
+ font-size: carbon--type-scale(2),
27
+ font-weight: carbon--font-weight('regular'),
28
+ line-height: 1.29,
29
+ letter-spacing: 0.32px,
30
+ ) !default;
31
+
22
32
  /// @type Map
23
33
  /// @access public
24
34
  /// @group @carbon/type
@@ -29,6 +39,16 @@ $label-01: (
29
39
  letter-spacing: 0.32px,
30
40
  ) !default;
31
41
 
42
+ /// @type Map
43
+ /// @access public
44
+ /// @group @carbon/type
45
+ $label-02: (
46
+ font-size: carbon--type-scale(2),
47
+ font-weight: carbon--font-weight('regular'),
48
+ line-height: 1.29,
49
+ letter-spacing: 0.32px,
50
+ ) !default;
51
+
32
52
  /// @type Map
33
53
  /// @access public
34
54
  /// @group @carbon/type
@@ -38,6 +58,16 @@ $helper-text-01: (
38
58
  letter-spacing: 0.32px,
39
59
  ) !default;
40
60
 
61
+ /// @type Map
62
+ /// @access public
63
+ /// @group @carbon/type
64
+ $helper-text-02: (
65
+ font-size: carbon--type-scale(2),
66
+ font-weight: carbon--font-weight('regular'),
67
+ line-height: 1.29,
68
+ letter-spacing: 0.32px,
69
+ ) !default;
70
+
41
71
  /// @type Map
42
72
  /// @access public
43
73
  /// @group @carbon/type
@@ -488,8 +518,11 @@ $display-04: (
488
518
  /// @group @carbon/type
489
519
  $tokens: (
490
520
  caption-01: $caption-01,
521
+ caption-02: $caption-02,
491
522
  label-01: $label-01,
523
+ label-02: $label-02,
492
524
  helper-text-01: $helper-text-01,
525
+ helper-text-02: $helper-text-02,
493
526
  body-short-01: $body-short-01,
494
527
  body-short-02: $body-short-02,
495
528
  body-long-01: $body-long-01,