@economic/taco-tokens 2.2.0-trusted.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 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-trusted.0",
3
+ "version": "2.2.1-alpha.0",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -29,8 +29,8 @@
29
29
  "dotenv": "^16.6.1"
30
30
  },
31
31
  "devDependencies": {
32
- "@types/node": "^22.19.13",
32
+ "@types/node": "^22.19.15",
33
33
  "typescript": "^5.9.3"
34
34
  },
35
- "gitHead": "e2637f5cd1b3434ce3e778af927487b02f4fc6b8"
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: 12px;
81
- --taco-text-md: 14px;
82
- --taco-text-lg: 16px;
83
- --taco-heading-sm: 20px;
84
- --taco-heading-md: 24px;
85
- --taco-heading-lg: 28px;
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: '12px',
93
- tacoTextMd: '14px',
94
- tacoTextLg: '16px',
95
- tacoHeadingSm: '20px',
96
- tacoHeadingMd: '24px',
97
- tacoHeadingLg: '28px',
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 */