@mediaradar/design-tokens 2.0.1 → 2.0.2
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/README.md +2 -2
- package/dist/_headers +23 -0
- package/dist/css/ref.css +2 -2
- package/dist/js/tokens.js +2 -2
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -30,8 +30,8 @@ npm install @mediaradar/design-tokens
|
|
|
30
30
|
@import "@mediaradar/design-tokens/tailwind/typography.css";
|
|
31
31
|
|
|
32
32
|
/* Plain CSS custom properties — CDN works fine for these */
|
|
33
|
-
@import "https://
|
|
34
|
-
@import "https://
|
|
33
|
+
@import "https://tokens.mediaradar.com/css/tokens.css";
|
|
34
|
+
@import "https://tokens.mediaradar.com/css/dark.css";
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
This package is version-pinned like any other npm dependency — a token
|
package/dist/_headers
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/css/*
|
|
2
|
+
Cache-Control: public, max-age=3600, stale-while-revalidate=86400
|
|
3
|
+
|
|
4
|
+
/tailwind/*
|
|
5
|
+
Cache-Control: public, max-age=3600, stale-while-revalidate=86400
|
|
6
|
+
|
|
7
|
+
/js/*
|
|
8
|
+
Cache-Control: public, max-age=3600, stale-while-revalidate=86400
|
|
9
|
+
|
|
10
|
+
/DESIGN.md
|
|
11
|
+
Cache-Control: public, max-age=3600
|
|
12
|
+
|
|
13
|
+
/patterns.json
|
|
14
|
+
Cache-Control: public, max-age=60, stale-while-revalidate=300
|
|
15
|
+
|
|
16
|
+
/changelog.json
|
|
17
|
+
Cache-Control: public, max-age=60, stale-while-revalidate=300
|
|
18
|
+
|
|
19
|
+
/tokens.json
|
|
20
|
+
Cache-Control: public, max-age=60, stale-while-revalidate=300
|
|
21
|
+
|
|
22
|
+
/*
|
|
23
|
+
Access-Control-Allow-Origin: *
|
package/dist/css/ref.css
CHANGED
|
@@ -333,8 +333,8 @@
|
|
|
333
333
|
--mr-ref-typography-size-lg: 1.25rem;
|
|
334
334
|
--mr-ref-typography-size-xl: 1.5rem;
|
|
335
335
|
--mr-ref-typography-size-h1: 1.875rem;
|
|
336
|
-
--mr-ref-typography-letter-spacing-normal:
|
|
337
|
-
--mr-ref-typography-letter-spacing-tight: -0.
|
|
336
|
+
--mr-ref-typography-letter-spacing-normal: 0em;
|
|
337
|
+
--mr-ref-typography-letter-spacing-tight: -0.01em;
|
|
338
338
|
--mr-ref-opacity-disabled: 0.4;
|
|
339
339
|
--mr-ref-opacity-muted: 0.7;
|
|
340
340
|
--mr-ref-opacity-overlay: 0.6;
|
package/dist/js/tokens.js
CHANGED
|
@@ -417,7 +417,7 @@ export const mrRefTypographySizeLg = 1.25;
|
|
|
417
417
|
export const mrRefTypographySizeXl = 1.5;
|
|
418
418
|
export const mrRefTypographySizeH1 = 1.875;
|
|
419
419
|
export const mrRefTypographyLetterSpacingNormal = 0;
|
|
420
|
-
export const mrRefTypographyLetterSpacingTight = -0.
|
|
420
|
+
export const mrRefTypographyLetterSpacingTight = -0.01;
|
|
421
421
|
export const mrRefOpacityDisabled = 0.4;
|
|
422
422
|
export const mrRefOpacityMuted = 0.7;
|
|
423
423
|
export const mrRefOpacityOverlay = 0.6;
|
|
@@ -473,7 +473,7 @@ export const mrTypographyLineHeightTight = 1.2;
|
|
|
473
473
|
export const mrTypographyLineHeightBase = 1.5;
|
|
474
474
|
export const mrTypographyLineHeightHead = 1.5;
|
|
475
475
|
export const mrTypographyLetterSpacingNormal = 0;
|
|
476
|
-
export const mrTypographyLetterSpacingTight = -0.
|
|
476
|
+
export const mrTypographyLetterSpacingTight = -0.01;
|
|
477
477
|
export const mrShapeRadiusControl = 8;
|
|
478
478
|
export const mrShapeRadiusCard = 12;
|
|
479
479
|
export const mrShapeBorderWidthControl = 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediaradar/design-tokens",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"main": "dist/js/tokens.js",
|
|
5
5
|
"types": "dist/js/tokens.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -28,14 +28,16 @@
|
|
|
28
28
|
},
|
|
29
29
|
"author": "",
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
|
-
"
|
|
31
|
+
"dependencies": {
|
|
32
32
|
"@tokens-studio/sd-transforms": "^2.0.3",
|
|
33
|
-
"@types/node": "^25.3.0",
|
|
34
|
-
"eslint": "^10.0.1",
|
|
35
33
|
"lodash": "^4.17.21",
|
|
36
34
|
"lodash-es": "^4.17.21",
|
|
37
35
|
"style-dictionary": "^5.5.0"
|
|
38
36
|
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^25.3.0",
|
|
39
|
+
"eslint": "^10.0.1"
|
|
40
|
+
},
|
|
39
41
|
"keywords": [
|
|
40
42
|
"design-tokens",
|
|
41
43
|
"mediaradar"
|