@economic/taco-tokens 2.2.0 → 2.2.1-alpha.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/README.md +1 -0
- package/package.json +2 -2
- package/tokens/tokens.css +6 -6
- package/tokens/tokens.ts +6 -6
package/README.md
CHANGED
|
@@ -100,6 +100,7 @@ npm run build-tokens
|
|
|
100
100
|
- Outputs:
|
|
101
101
|
- `tokens/tokens.css` - CSS custom properties
|
|
102
102
|
- `tokens/tokens.ts` - TypeScript constants with type safety
|
|
103
|
+
- Typography size tokens keep Figma source values in `tokens.json` (`px`), but `text-*` and `heading-*` are converted to `rem` in generated CSS/TS outputs (base `16px`).
|
|
103
104
|
|
|
104
105
|
---
|
|
105
106
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@economic/taco-tokens",
|
|
3
|
-
"version": "2.2.0",
|
|
3
|
+
"version": "2.2.1-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"@types/node": "^22.19.15",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "7d1542975b981693426d5a660d270164be477f86"
|
|
36
36
|
}
|
package/tokens/tokens.css
CHANGED
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
--taco-leading-md: 1.5;
|
|
78
78
|
--taco-weight-bold: 700;
|
|
79
79
|
--taco-weight-regular: 400;
|
|
80
|
-
--taco-text-sm:
|
|
81
|
-
--taco-text-md:
|
|
82
|
-
--taco-text-lg:
|
|
83
|
-
--taco-heading-sm:
|
|
84
|
-
--taco-heading-md:
|
|
85
|
-
--taco-heading-lg:
|
|
80
|
+
--taco-text-sm: 0.75rem;
|
|
81
|
+
--taco-text-md: 0.875rem;
|
|
82
|
+
--taco-text-lg: 1rem;
|
|
83
|
+
--taco-heading-sm: 1.25rem;
|
|
84
|
+
--taco-heading-md: 1.5rem;
|
|
85
|
+
--taco-heading-lg: 1.75rem;
|
|
86
86
|
|
|
87
87
|
/* Border Radius */
|
|
88
88
|
--taco-radius-full: 99999px;
|
package/tokens/tokens.ts
CHANGED
|
@@ -89,12 +89,12 @@ export const typography = {
|
|
|
89
89
|
tacoLeadingMd: '1.5',
|
|
90
90
|
tacoWeightBold: '700',
|
|
91
91
|
tacoWeightRegular: '400',
|
|
92
|
-
tacoTextSm: '
|
|
93
|
-
tacoTextMd: '
|
|
94
|
-
tacoTextLg: '
|
|
95
|
-
tacoHeadingSm: '
|
|
96
|
-
tacoHeadingMd: '
|
|
97
|
-
tacoHeadingLg: '
|
|
92
|
+
tacoTextSm: '0.75rem',
|
|
93
|
+
tacoTextMd: '0.875rem',
|
|
94
|
+
tacoTextLg: '1rem',
|
|
95
|
+
tacoHeadingSm: '1.25rem',
|
|
96
|
+
tacoHeadingMd: '1.5rem',
|
|
97
|
+
tacoHeadingLg: '1.75rem',
|
|
98
98
|
} as const;
|
|
99
99
|
|
|
100
100
|
/* Border Radius */
|