@economic/taco-tokens 3.0.5-EC-87491-test-release.0 → 3.0.5

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
@@ -54,14 +54,18 @@ packages/taco-tokens/
54
54
 
55
55
  ### Prerequisites
56
56
 
57
- 1. Create a `.env` file (see `.env.example`):
57
+ 1. Have view access to the Taco tokens Figma file, and a Figma personal access token created from that account (Figma → Settings → Security → Personal access tokens, with `file_content:read` scope). Figma returns `404 Not Found` for files your account can't see.
58
+
59
+ 2. Create a `.env` file (see `.env.example`):
58
60
 
59
61
  ```bash
60
62
  FIGMA_API_TOKEN=your_token_here
61
63
  FIGMA_FILE_ID=your_file_id_here
62
64
  ```
63
65
 
64
- 2. Currently the Figma file has tokens organized in frames/groups with TEXT nodes or color fills.
66
+ `FIGMA_FILE_ID` is only the key from the file URL, not the full URL. For `https://www.figma.com/design/<FILE_ID>/Taco-tokens?node-id=0-1`, use `<FILE_ID>`. Pasting the full URL also gives a `404`.
67
+
68
+ 3. Tokens are read from a page named exactly `Export` (case-sensitive), organized in frames/groups with TEXT nodes or color fills. If the fetch fails with `Could not find Figma page "Export"`, check the page name or that you're using the right file.
65
69
 
66
70
  ### Sync Command
67
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@economic/taco-tokens",
3
- "version": "3.0.5-EC-87491-test-release.0",
3
+ "version": "3.0.5",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,5 +35,5 @@
35
35
  "@types/node": "^22.20.5",
36
36
  "typescript": "^6.0.3"
37
37
  },
38
- "gitHead": "acb387552328902da444a79cc7ba3659f8106fa7"
38
+ "gitHead": "77bc8dbba83be92989d8c6738d2ec8085dfc37d6"
39
39
  }
package/tokens/tokens.css CHANGED
@@ -87,6 +87,8 @@
87
87
  --taco-text-sm: 0.75rem;
88
88
  --taco-text-md: 0.875rem;
89
89
  --taco-text-lg: 1rem;
90
+ --taco-heading-xxs: 0.875rem;
91
+ --taco-heading-xs: 1rem;
90
92
  --taco-heading-sm: 1.25rem;
91
93
  --taco-heading-md: 1.5rem;
92
94
  --taco-heading-lg: 1.75rem;
package/tokens/tokens.js CHANGED
@@ -99,6 +99,8 @@ export const typography = {
99
99
  tacoTextSm: '0.75rem',
100
100
  tacoTextMd: '0.875rem',
101
101
  tacoTextLg: '1rem',
102
+ tacoHeadingXxs: '0.875rem',
103
+ tacoHeadingXs: '1rem',
102
104
  tacoHeadingSm: '1.25rem',
103
105
  tacoHeadingMd: '1.5rem',
104
106
  tacoHeadingLg: '1.75rem',
package/tokens/tokens.ts CHANGED
@@ -99,6 +99,8 @@ export const typography = {
99
99
  tacoTextSm: '0.75rem',
100
100
  tacoTextMd: '0.875rem',
101
101
  tacoTextLg: '1rem',
102
+ tacoHeadingXxs: '0.875rem',
103
+ tacoHeadingXs: '1rem',
102
104
  tacoHeadingSm: '1.25rem',
103
105
  tacoHeadingMd: '1.5rem',
104
106
  tacoHeadingLg: '1.75rem',