@mediaradar/design-tokens 2.5.0 → 2.6.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/dist/DESIGN.md +1 -0
- package/dist/css/ref.css +1 -0
- package/dist/css/sys.css +1 -0
- package/dist/js/tokens.d.ts +3 -0
- package/dist/js/tokens.js +2 -0
- package/dist/tailwind/theme.css +1 -0
- package/package.json +1 -1
package/dist/DESIGN.md
CHANGED
package/dist/css/ref.css
CHANGED
|
@@ -334,6 +334,7 @@
|
|
|
334
334
|
--mr-ref-typography-line-height-base: 1.5;
|
|
335
335
|
--mr-ref-typography-line-height-lg: 1.6;
|
|
336
336
|
--mr-ref-typography-line-height-xl: 1.8;
|
|
337
|
+
--mr-ref-typography-size-micro: 0.6875rem;
|
|
337
338
|
--mr-ref-typography-size-xs: 0.75rem;
|
|
338
339
|
--mr-ref-typography-size-sm: 0.875rem;
|
|
339
340
|
--mr-ref-typography-size-base: 1rem;
|
package/dist/css/sys.css
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
--mr-color-ai-ontint: var(--mr-ref-color-brand-warm-ai-ontint-light);
|
|
31
31
|
--mr-color-ai-gradient: var(--mr-ref-color-brand-warm-ai-gradient-light);
|
|
32
32
|
--mr-color-scrim: var(--mr-ref-color-brand-warm-scrim-light);
|
|
33
|
+
--mr-typography-font-size-micro: var(--mr-ref-typography-size-micro);
|
|
33
34
|
--mr-typography-font-size-xs: var(--mr-ref-typography-size-xs);
|
|
34
35
|
--mr-typography-font-size-sm: var(--mr-ref-typography-size-sm);
|
|
35
36
|
--mr-typography-font-size-base: var(--mr-ref-typography-size-base);
|
package/dist/js/tokens.d.ts
CHANGED
|
@@ -416,6 +416,8 @@ export const mrRefTypographyLineHeightSm: number;
|
|
|
416
416
|
export const mrRefTypographyLineHeightBase: number;
|
|
417
417
|
export const mrRefTypographyLineHeightLg: number;
|
|
418
418
|
export const mrRefTypographyLineHeightXl: number;
|
|
419
|
+
/** 11px. The annotation step, below xs (12px) -- badges, eyebrow labels and other type that marks up content rather than being content. Added because every badge in the product was sized off-scale at 10, 10.5 or 11px, none of which the scale had. Settled on 11 rather than 10: badges carry semibold weight, and the eyebrow shape adds caps and letterspacing on top, which is where 10px starts to strain. 11px was also already the most common of the three sizes in use. */
|
|
420
|
+
export const mrRefTypographySizeMicro: number;
|
|
419
421
|
export const mrRefTypographySizeXs: number;
|
|
420
422
|
export const mrRefTypographySizeSm: number;
|
|
421
423
|
export const mrRefTypographySizeBase: number;
|
|
@@ -468,6 +470,7 @@ export const mrColorAiTint: string;
|
|
|
468
470
|
export const mrColorAiOntint: string;
|
|
469
471
|
export const mrColorAiGradient: string;
|
|
470
472
|
export const mrColorScrim: string;
|
|
473
|
+
export const mrTypographyFontSizeMicro: number;
|
|
471
474
|
export const mrTypographyFontSizeXs: number;
|
|
472
475
|
export const mrTypographyFontSizeSm: number;
|
|
473
476
|
export const mrTypographyFontSizeBase: number;
|
package/dist/js/tokens.js
CHANGED
|
@@ -421,6 +421,7 @@ export const mrRefTypographyLineHeightSm = 1.3;
|
|
|
421
421
|
export const mrRefTypographyLineHeightBase = 1.5;
|
|
422
422
|
export const mrRefTypographyLineHeightLg = 1.6;
|
|
423
423
|
export const mrRefTypographyLineHeightXl = 1.8;
|
|
424
|
+
export const mrRefTypographySizeMicro = 0.6875; // 11px. The annotation step, below xs (12px) -- badges, eyebrow labels and other type that marks up content rather than being content. Added because every badge in the product was sized off-scale at 10, 10.5 or 11px, none of which the scale had. Settled on 11 rather than 10: badges carry semibold weight, and the eyebrow shape adds caps and letterspacing on top, which is where 10px starts to strain. 11px was also already the most common of the three sizes in use.
|
|
424
425
|
export const mrRefTypographySizeXs = 0.75;
|
|
425
426
|
export const mrRefTypographySizeSm = 0.875;
|
|
426
427
|
export const mrRefTypographySizeBase = 1;
|
|
@@ -476,6 +477,7 @@ export const mrColorAiOntint = "#2747c4";
|
|
|
476
477
|
export const mrColorAiGradient =
|
|
477
478
|
"linear-gradient(135deg, #2747c4 0%, #f05323 60%, #f99d20 100%)";
|
|
478
479
|
export const mrColorScrim = "rgba(20, 17, 13, 0.55)";
|
|
480
|
+
export const mrTypographyFontSizeMicro = 0.6875;
|
|
479
481
|
export const mrTypographyFontSizeXs = 0.75;
|
|
480
482
|
export const mrTypographyFontSizeSm = 0.875;
|
|
481
483
|
export const mrTypographyFontSizeBase = 1;
|
package/dist/tailwind/theme.css
CHANGED
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
--color-ai-ontint: var(--mr-color-ai-ontint);
|
|
79
79
|
--color-ai-gradient: var(--mr-color-ai-gradient);
|
|
80
80
|
--color-scrim: var(--mr-color-scrim);
|
|
81
|
+
--text-micro: var(--mr-typography-font-size-micro);
|
|
81
82
|
--text-xs: var(--mr-typography-font-size-xs);
|
|
82
83
|
--text-sm: var(--mr-typography-font-size-sm);
|
|
83
84
|
--text-base: var(--mr-typography-font-size-base);
|