@commmerce/tokens 1.20.4 → 1.21.1

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/dist/tokens.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @commmerce/tokens v1.20.4 — generated, do not edit */
1
+ /* @commmerce/tokens v1.21.1 — generated, do not edit */
2
2
 
3
3
  :root, [data-cm-theme] {
4
4
  color-scheme: light;
@@ -26,11 +26,11 @@
26
26
  --cm-icon-rating: #ffc107;
27
27
  --cm-text-default: #000000;
28
28
  --cm-text-secondary: #9e9e9e;
29
- --cm-text-tertiary: #707070;
30
- --cm-text-information: #ad5500;
29
+ --cm-text-tertiary: #6d6d6d;
30
+ --cm-text-information: #a45100;
31
31
  --cm-text-critical: #de0000;
32
- --cm-text-success: #3c7c00;
33
- --cm-text-attention: #2e6faf;
32
+ --cm-text-success: #387300;
33
+ --cm-text-attention: #2d6cab;
34
34
  --cm-text-on-dark: #ffffff;
35
35
  --cm-text-on-dark-secondary: #b5b5b5;
36
36
  --cm-text-speciality: #008800;
package/dist/tokens.d.ts CHANGED
@@ -48,15 +48,15 @@ export declare const tokens: {
48
48
  readonly textDefault: string;
49
49
  /** Disabled text ONLY (WCAG exempts disabled controls). Never for placeholders or copy: use text-tertiary. */
50
50
  readonly textSecondary: string;
51
- /** Help text, hints, breadcrumbs, placeholders (4.6:1 on bg-page; 6.4:1 dark). */
51
+ /** Help text, hints, breadcrumbs, placeholders (4.8:1 on bg-page, 4.5:1 or more on tinted banners; 6.4:1 dark). */
52
52
  readonly textTertiary: string;
53
- /** Informational text. Figma #F18402 (2.3:1) darkened along its hue to 4.6:1 on its soft fill; dark uses Figma #F1A953. */
53
+ /** Informational text. Figma #F18402 (2.3:1) darkened along its hue to 5.0:1 on its soft fill (4.5:1 or more with the fill over the page, inset or hover grounds); dark uses Figma #F1A953. */
54
54
  readonly textInformation: string;
55
55
  /** Error messages. Figma #E50000 nudged to 4.6:1 on bg-critical. */
56
56
  readonly textCritical: string;
57
- /** Success text. Figma #61AD14 (2.5:1) darkened to 4.7:1 on its soft fill; dark uses Figma #81BB47. */
57
+ /** Success text. Figma #61AD14 (2.5:1) darkened to 5.1:1 on its soft fill (4.5:1 or more with the fill over the page, inset or hover grounds); dark uses Figma #81BB47. */
58
58
  readonly textSuccess: string;
59
- /** Attention text and links. Figma #3274B6 nudged to 4.6:1 on bg-attention. */
59
+ /** Attention text and links. Figma #3274B6 nudged to 4.8:1 on bg-attention (4.5:1 or more on bg-attention-soft too). */
60
60
  readonly textAttention: string;
61
61
  /** Text on bg-dashboard, bg-flash-bar and primary buttons (the file's Basic text). */
62
62
  readonly textOnDark: string;
package/dist/tokens.json CHANGED
@@ -249,20 +249,20 @@
249
249
  "family": "color",
250
250
  "cssVar": "--cm-text-tertiary",
251
251
  "value": {
252
- "light": "#707070",
252
+ "light": "#6d6d6d",
253
253
  "dark": "#9e9e9e"
254
254
  },
255
- "usage": "Help text, hints, breadcrumbs, placeholders (4.6:1 on bg-page; 6.4:1 dark)."
255
+ "usage": "Help text, hints, breadcrumbs, placeholders (4.8:1 on bg-page, 4.5:1 or more on tinted banners; 6.4:1 dark)."
256
256
  },
257
257
  {
258
258
  "name": "text-information",
259
259
  "family": "color",
260
260
  "cssVar": "--cm-text-information",
261
261
  "value": {
262
- "light": "#ad5500",
262
+ "light": "#a45100",
263
263
  "dark": "#f1a953"
264
264
  },
265
- "usage": "Informational text. Figma #F18402 (2.3:1) darkened along its hue to 4.6:1 on its soft fill; dark uses Figma #F1A953."
265
+ "usage": "Informational text. Figma #F18402 (2.3:1) darkened along its hue to 5.0:1 on its soft fill (4.5:1 or more with the fill over the page, inset or hover grounds); dark uses Figma #F1A953."
266
266
  },
267
267
  {
268
268
  "name": "text-critical",
@@ -279,20 +279,20 @@
279
279
  "family": "color",
280
280
  "cssVar": "--cm-text-success",
281
281
  "value": {
282
- "light": "#3c7c00",
282
+ "light": "#387300",
283
283
  "dark": "#81bb47"
284
284
  },
285
- "usage": "Success text. Figma #61AD14 (2.5:1) darkened to 4.7:1 on its soft fill; dark uses Figma #81BB47."
285
+ "usage": "Success text. Figma #61AD14 (2.5:1) darkened to 5.1:1 on its soft fill (4.5:1 or more with the fill over the page, inset or hover grounds); dark uses Figma #81BB47."
286
286
  },
287
287
  {
288
288
  "name": "text-attention",
289
289
  "family": "color",
290
290
  "cssVar": "--cm-text-attention",
291
291
  "value": {
292
- "light": "#2e6faf",
292
+ "light": "#2d6cab",
293
293
  "dark": "#5394d9"
294
294
  },
295
- "usage": "Attention text and links. Figma #3274B6 nudged to 4.6:1 on bg-attention."
295
+ "usage": "Attention text and links. Figma #3274B6 nudged to 4.8:1 on bg-attention (4.5:1 or more on bg-attention-soft too)."
296
296
  },
297
297
  {
298
298
  "name": "text-on-dark",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commmerce/tokens",
3
- "version": "1.20.4",
3
+ "version": "1.21.1",
4
4
  "description": "Design tokens for Commmerce UI: colours, type, spacing, radii and shadows as CSS variables, JSON and JS, in light and dark.",
5
5
  "keywords": [
6
6
  "design-tokens",