@economic/taco-tokens 1.4.1 → 2.1.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
@@ -1,30 +1,302 @@
1
- # @economic/taco-vis
1
+ # @economic/taco-tokens
2
2
 
3
- The `@economic/taco-vis` package is a separate library to the main taco design system, but still depends on it being available. You should ensure `@economic/taco` is installed and configured in your application before using charts.
3
+ This is the design tokens package for Taco and other consumers of the economic brand.
4
+ Taco-tokens fetches tokens from Figma and converts them to CSS variables and TypeScript constants.
4
5
 
5
- ## Install
6
+ ---
6
7
 
7
- `npm install --save @economic/taco-vis`
8
+ ## Overview
8
9
 
9
- ## Setup
10
+ This package provides design tokens in multiple formats:
10
11
 
11
- ### Tailwind
12
+ - **CSS Variables** - for use in stylesheets
13
+ - **TypeScript Constants** - for use in JavaScript/TypeScript and config files
14
+
15
+ **Note:** This is a standalone package that can be consumed directly, but most consumers will likely use `@economic/taco` which already includes and re-exports these tokens.
16
+
17
+ ---
18
+
19
+ ## Installation & Usage
20
+
21
+ ### For consumers not using Taco
22
+
23
+ **Recommended:** Import directly from `@economic/taco-tokens`:
24
+
25
+ ```typescript
26
+ // CSS variables
27
+ import '@economic/taco-tokens/tokens.css';
28
+
29
+ // TypeScript constants
30
+ import { primaryColors, borderRadius, spacing } from '@economic/taco-tokens';
31
+ ```
32
+
33
+ ---
34
+
35
+ ## Package Structure
36
+
37
+ ```
38
+ packages/taco-tokens/
39
+ ├── scripts/
40
+ │ ├── fetch-tokens.ts # Fetches tokens from Figma API (omitted)
41
+ │ └── build-tokens.ts # Converts JSON to CSS/TS (omitted)
42
+ ├── tokens/
43
+ │ ├── tokens.json # Source data (omitted)
44
+ │ ├── tokens.css # CSS variables (generated & committed)
45
+ │ └── tokens.ts # TypeScript constants (generated & committed)
46
+ ├── .env.example # Required: FIGMA_API_TOKEN, FIGMA_FILE_ID
47
+ └── package.json
48
+ ```
49
+
50
+ ---
51
+
52
+ ## Syncing Tokens from Figma
53
+
54
+ ### Prerequisites
55
+
56
+ 1. Create a `.env` file (see `.env.example`):
57
+
58
+ ```bash
59
+ FIGMA_API_TOKEN=your_token_here
60
+ FIGMA_FILE_ID=your_file_id_here
61
+ ```
62
+
63
+ 2. Currently the Figma file has tokens organized in frames/groups with TEXT nodes or color fills.
64
+
65
+ ### Sync Command
66
+
67
+ Fetch from Figma and build all outputs:
68
+
69
+ ```bash
70
+ cd packages/taco-tokens
71
+ npm run sync-tokens
72
+ ```
73
+
74
+ This runs:
12
75
 
13
- You should ensure the taco library is added to tailwind's `content` configuration, so that tailwind classes are not purged.
76
+ 1. `fetch-tokens` - Pulls from Figma `tokens/tokens.json`
77
+ 2. `build-tokens` - Converts JSON → `tokens/tokens.css` + `tokens/tokens.ts`
78
+
79
+ ### Individual Scripts
80
+
81
+ **Fetch only:**
82
+
83
+ ```bash
84
+ npm run fetch-tokens
85
+ ```
86
+
87
+ - Reads Figma file via API (you'll need access to a token and the file)
88
+ - Extracts token values from TEXT nodes or fills
89
+ - Groups by frame name (e.g., "Primary Colors", "Spacing")
90
+ - Sorts by category order (see `CATEGORY_ORDER` in script)
91
+ - Outputs: `tokens/tokens.json`
92
+
93
+ **Build only:**
94
+
95
+ ```bash
96
+ npm run build-tokens
97
+ ```
98
+
99
+ - Reads: `tokens/tokens.json`
100
+ - Outputs:
101
+ - `tokens/tokens.css` - CSS custom properties
102
+ - `tokens/tokens.ts` - TypeScript constants with type safety
103
+
104
+ ---
105
+
106
+ ## Token Categories
107
+
108
+ Generated tokens are grouped by category:
109
+
110
+ - **Primary Colors** - `tacoBlue`, `tacoGray`
111
+ - **Secondary Colors** - `tacoRed`, `tacoYellow`, `tacoGreen`
112
+ - **Tertiary Colors** - `tacoPink`, `tacoPurple`
113
+ - **Brand Colors** - `tacoBrandMorning`, `tacoBrandNoon`, `tacoBrandSunset`, `tacoBrandMidnight`
114
+ - **Spacing** - `tacoSpacing0` through `tacoSpacing12`
115
+ - **Typography** - `tacoWeightBold`, `tacoTextSm`, `tacoHeadingLg`, etc.
116
+ - **Border Radius** - `tacoRadius0` through `tacoRadiusFull`
117
+ - **Border Width** - `tacoBorderWidth0` through `tacoBorderWidth2`
118
+
119
+ ---
120
+
121
+ ## Integration with Taco
122
+
123
+ ### How Taco Consumes Tokens
124
+
125
+ **In `packages/taco/src/index.tsx`:**
126
+
127
+ ```typescript
128
+ // Import CSS
129
+ import '@economic/taco-tokens/tokens.css';
130
+
131
+ // Re-export TypeScript constants
132
+ export * from '@economic/taco-tokens/tokens';
133
+ ```
134
+
135
+ This means:
136
+
137
+ - ✅ CSS variables are automatically included in `taco.css`
138
+ - ✅ TypeScript constants are re-exported from `@economic/taco`
139
+ - ✅ Consumers get everything through a single package
140
+
141
+ ### Tailwind Integration
142
+
143
+ The Taco Tailwind config imports and uses the TypeScript token constants directly:
14
144
 
15
145
  ```js
146
+ // packages/taco/tailwind.config.js
147
+ import { borderRadius } from '@economic/taco-tokens/tokens';
148
+
16
149
  module.exports = {
17
- ...
18
- content: [
19
- ...
20
- './node_modules/@economic/taco-vis/dist/taco-vis.js',
21
- ...
22
- ],
150
+ theme: {
151
+ extend: {
152
+ borderRadius: {
153
+ DEFAULT: borderRadius.tacoRadius4,
154
+ none: borderRadius.tacoRadius0,
155
+ sm: borderRadius.tacoRadius2,
156
+ lg: borderRadius.tacoRadius8,
157
+ xl: borderRadius.tacoRadius12,
158
+ full: borderRadius.tacoRadiusFull,
159
+ },
160
+ },
161
+ },
23
162
  };
24
163
  ```
25
164
 
26
- taco-vis also has its own stylesheet which should be imported alongside the main taco stylesheet:
165
+ This compiles the actual values (e.g., `4px`, `8px`) directly into the CSS at build time for better performance.
166
+
167
+ ---
168
+
169
+ ## Publishing
170
+
171
+ This package is published separately from `@economic/taco`:
172
+
173
+ ```bash
174
+ # From packages/taco-tokens
175
+ npm publish
176
+ ```
177
+
178
+ **Version strategy:**
179
+
180
+ - `@economic/taco-tokens` has independent versioning
181
+ - `@economic/taco` specifies which version to consume
182
+
183
+ **Access control:**
184
+
185
+ - `"private": false` - package can be published
186
+ - Scoped package `@economic/...` - restricted to organization by default
187
+
188
+ ---
189
+
190
+ ## Package Exports
191
+
192
+ ```json
193
+ {
194
+ "main": "./tokens/tokens.ts",
195
+ "module": "./tokens/tokens.ts",
196
+ "types": "./tokens/tokens.ts",
197
+ "exports": {
198
+ ".": {
199
+ "import": "./tokens/tokens.ts",
200
+ "types": "./tokens/tokens.ts"
201
+ },
202
+ "./tokens": "./tokens/tokens.ts",
203
+ "./tokens.css": "./tokens/tokens.css"
204
+ }
205
+ }
206
+ ```
207
+
208
+ **Available imports:**
209
+
210
+ ```typescript
211
+ // Main export (using default "." export)
212
+ import { tokens, primaryColors, spacing } from '@economic/taco-tokens';
213
+
214
+ // Explicit tokens path
215
+ import { tokens, primaryColors, spacing } from '@economic/taco-tokens/tokens';
216
+
217
+ // CSS
218
+ import '@economic/taco-tokens/tokens.css';
219
+ ```
220
+
221
+ ---
222
+
223
+ ## Consumer Examples
224
+
225
+ ### CSS Only
226
+
227
+ ```css
228
+ /* In your stylesheet */
229
+ .my-component {
230
+ color: var(--taco-blue-500);
231
+ padding: var(--taco-spacing-4);
232
+ border-radius: var(--taco-radius-8);
233
+ }
234
+ ```
235
+
236
+ ### TypeScript/JavaScript
237
+
238
+ ```typescript
239
+ import { primaryColors, spacing } from '@economic/taco';
240
+
241
+ const styles = {
242
+ color: primaryColors.tacoBlue500,
243
+ padding: spacing.tacoSpacing4,
244
+ };
245
+ ```
246
+
247
+ ### Tailwind
248
+
249
+ ```jsx
250
+ // Maps to tailwind utility classes via. the tailwind.config
251
+ <div className="rounded-lg text-blue-500">Content</div>
252
+ ```
253
+
254
+ ---
255
+
256
+ ## Token Naming Convention
257
+
258
+ **Pattern:** `taco[Category][Scale]`
259
+
260
+ - **Primary colors:** `tacoBlue100`, `tacoBlue500`, `tacoBlue900`
261
+ - **Spacing:** `tacoSpacing0`, `tacoSpacing1`, ..., `tacoSpacing12`
262
+ - **Typography:** `tacoTextSm`, `tacoTextMd`, `tacoHeadingLg`
263
+ - **Border radius:** `tacoRadius0`, `tacoRadius4`, `tacoRadiusFull`
264
+
265
+ **CSS variables:** Kebab-case with `--` prefix
27
266
 
28
267
  ```css
29
- ... @import '@economic/taco-vis/dist/taco-vis.css';
268
+ --taco-blue-500
269
+ --taco-spacing-4
270
+ --taco-radius-8
30
271
  ```
272
+
273
+ **TypeScript:** camelCase
274
+
275
+ ```typescript
276
+ tacoBlue500;
277
+ tacoSpacing4;
278
+ tacoRadius8;
279
+ ```
280
+
281
+ ---
282
+
283
+ ## Troubleshooting
284
+
285
+ **CSS variables not working?**
286
+
287
+ - Ensure `@economic/taco/taco.css` is imported before usage
288
+ - Check browser DevTools → Elements → Computed → look for CSS variables
289
+
290
+ **TypeScript imports failing?**
291
+
292
+ - Run `npm install` from root to ensure workspace links are created
293
+ - Check `node_modules/@economic/taco-tokens` exists
294
+
295
+ **Figma fetch failing?**
296
+
297
+ - Verify `.env` has correct `FIGMA_API_TOKEN` and `FIGMA_FILE_ID`
298
+ - Check token has access to the Figma file
299
+ - Ensure Figma file structure matches expected format
300
+ - Ensure you're not hitting a rate limit
301
+
302
+ ---
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
1
  {
2
2
  "name": "@economic/taco-tokens",
3
- "version": "1.4.1",
4
- "source": "src/index.ts",
5
- "main": "dist/taco-tokens.js",
6
- "module": "dist/taco-tokens.esm.js",
7
- "scripts": {
8
- "watch": "parcel watch",
9
- "build": "parcel build"
3
+ "version": "2.1.0",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "./tokens/tokens.ts",
8
+ "module": "./tokens/tokens.ts",
9
+ "types": "./tokens/tokens.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./tokens/tokens.ts",
13
+ "types": "./tokens/tokens.ts"
14
+ },
15
+ "./tokens": "./tokens/tokens.ts",
16
+ "./tokens.css": "./tokens/tokens.css"
10
17
  },
11
18
  "files": [
12
- "dist",
19
+ "tokens",
13
20
  "README.md"
14
21
  ],
15
- "targets": {
16
- "main": {
17
- "optimize": true
18
- }
22
+ "scripts": {
23
+ "fetch-tokens": "node scripts/fetch-tokens.ts",
24
+ "build-tokens": "node scripts/build-tokens.ts",
25
+ "sync-tokens": "npm run fetch-tokens && npm run build-tokens",
26
+ "typecheck": "tsc --noEmit"
19
27
  },
20
- "devDependencies": {
21
- "@parcel/packager-ts": "^2.7.0",
22
- "@parcel/transformer-typescript-types": "^2.7.0",
23
- "parcel": "^2.7.0",
24
- "typescript": "^4.9.5"
28
+ "dependencies": {
29
+ "dotenv": "^16.4.0"
25
30
  },
26
- "browserslist": {
27
- "development": [
28
- "last 2 versions"
29
- ],
30
- "production": [
31
- ">1%",
32
- "last 5 versions"
33
- ]
31
+ "devDependencies": {
32
+ "@types/node": "^22.13.10",
33
+ "typescript": "^5.9.3"
34
34
  },
35
- "gitHead": "d4c2d49bda2a1531e9cbb3714bfb850b9310ac7e"
35
+ "gitHead": "dafe2042fbedda861b088b89cb837ffb40be6af7"
36
36
  }
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Taco Design Tokens
3
+ * Auto-generated from tokens.json - do not edit manually
4
+ */
5
+
6
+ :root {
7
+ /* Primary Colors */
8
+ --taco-blue-100: #d7e2f6;
9
+ --taco-blue-200: #a6beec;
10
+ --taco-blue-300: #7c9ee0;
11
+ --taco-blue-500: #2f5dbd;
12
+ --taco-blue-700: #1e3e81;
13
+ --taco-blue-900: #1a2c51;
14
+ --taco-gray-100: #e1e1e1;
15
+ --taco-gray-200: #bebebe;
16
+ --taco-gray-300: #9e9e9e;
17
+ --taco-gray-500: #636363;
18
+ --taco-gray-700: #424242;
19
+ --taco-gray-900: #2e2e2e;
20
+
21
+ /* Secondary Colors */
22
+ --taco-red-100: #fed7d1;
23
+ --taco-red-200: #f2a89e;
24
+ --taco-red-300: #e8796c;
25
+ --taco-red-500: #a23e35;
26
+ --taco-red-700: #682e28;
27
+ --taco-red-900: #3c2825;
28
+ --taco-yellow-100: #f6e191;
29
+ --taco-yellow-200: #ddbc28;
30
+ --taco-yellow-300: #ba9c14;
31
+ --taco-yellow-500: #756208;
32
+ --taco-yellow-700: #4f4100;
33
+ --taco-yellow-900: #362d07;
34
+ --taco-green-100: #c5ecdd;
35
+ --taco-green-200: #90cdb7;
36
+ --taco-green-300: #79ab99;
37
+ --taco-green-500: #23735c;
38
+ --taco-green-700: #234b3e;
39
+ --taco-green-900: #17342a;
40
+
41
+ /* Tertiary Colors */
42
+ --taco-pink-100: #fdd5e0;
43
+ --taco-pink-200: #e3acbc;
44
+ --taco-pink-300: #d2849c;
45
+ --taco-pink-500: #9c3e60;
46
+ --taco-pink-700: #642e41;
47
+ --taco-pink-900: #42232d;
48
+ --taco-purple-100: #e2dcff;
49
+ --taco-purple-200: #c0b6e7;
50
+ --taco-purple-300: #a193d4;
51
+ --taco-purple-500: #6951a5;
52
+ --taco-purple-700: #473279;
53
+ --taco-purple-900: #30254f;
54
+
55
+ /* Brand Colors */
56
+ --taco-brand-morning: #fff5e5;
57
+ --taco-brand-noon: #f5f7f9;
58
+ --taco-brand-sunset: #e89c2e;
59
+ --taco-brand-midnight: #29283e;
60
+
61
+ /* Spacing */
62
+ --taco-spacing-12: 48px;
63
+ --taco-spacing-8: 32px;
64
+ --taco-spacing-6: 24px;
65
+ --taco-spacing-4: 16px;
66
+ --taco-spacing-3: 12px;
67
+ --taco-spacing-2: 8px;
68
+ --taco-spacing-1: 4px;
69
+ --taco-spacing-0: 0px;
70
+
71
+ /* Typography */
72
+ --taco-weight-bold: 700;
73
+ --taco-weight-regular: 400;
74
+ --taco-text-sm: 12px;
75
+ --taco-text-md: 14px;
76
+ --taco-text-lg: 16px;
77
+ --taco-heading-sm: 20px;
78
+ --taco-heading-md: 24px;
79
+ --taco-heading-lg: 28px;
80
+
81
+ /* Border Radius */
82
+ --taco-radius-full: 99999px;
83
+ --taco-radius-12: 12px;
84
+ --taco-radius-8: 8px;
85
+ --taco-radius-4: 4px;
86
+ --taco-radius-2: 2px;
87
+ --taco-radius-0: 0px;
88
+
89
+ /* Border Width */
90
+ --taco-border-width-2: 2px;
91
+ --taco-border-width-1: 1px;
92
+ --taco-border-width-0: 0px;
93
+ }
@@ -0,0 +1,122 @@
1
+ /**
2
+ * Taco Design Tokens
3
+ * Auto-generated from tokens.json - do not edit manually
4
+ */
5
+
6
+ /* Primary Colors */
7
+ export const primaryColors = {
8
+ tacoBlue100: '#d7e2f6',
9
+ tacoBlue200: '#a6beec',
10
+ tacoBlue300: '#7c9ee0',
11
+ tacoBlue500: '#2f5dbd',
12
+ tacoBlue700: '#1e3e81',
13
+ tacoBlue900: '#1a2c51',
14
+ tacoGray100: '#e1e1e1',
15
+ tacoGray200: '#bebebe',
16
+ tacoGray300: '#9e9e9e',
17
+ tacoGray500: '#636363',
18
+ tacoGray700: '#424242',
19
+ tacoGray900: '#2e2e2e',
20
+ } as const;
21
+
22
+ /* Secondary Colors */
23
+ export const secondaryColors = {
24
+ tacoRed100: '#fed7d1',
25
+ tacoRed200: '#f2a89e',
26
+ tacoRed300: '#e8796c',
27
+ tacoRed500: '#a23e35',
28
+ tacoRed700: '#682e28',
29
+ tacoRed900: '#3c2825',
30
+ tacoYellow100: '#f6e191',
31
+ tacoYellow200: '#ddbc28',
32
+ tacoYellow300: '#ba9c14',
33
+ tacoYellow500: '#756208',
34
+ tacoYellow700: '#4f4100',
35
+ tacoYellow900: '#362d07',
36
+ tacoGreen100: '#c5ecdd',
37
+ tacoGreen200: '#90cdb7',
38
+ tacoGreen300: '#79ab99',
39
+ tacoGreen500: '#23735c',
40
+ tacoGreen700: '#234b3e',
41
+ tacoGreen900: '#17342a',
42
+ } as const;
43
+
44
+ /* Tertiary Colors */
45
+ export const tertiaryColors = {
46
+ tacoPink100: '#fdd5e0',
47
+ tacoPink200: '#e3acbc',
48
+ tacoPink300: '#d2849c',
49
+ tacoPink500: '#9c3e60',
50
+ tacoPink700: '#642e41',
51
+ tacoPink900: '#42232d',
52
+ tacoPurple100: '#e2dcff',
53
+ tacoPurple200: '#c0b6e7',
54
+ tacoPurple300: '#a193d4',
55
+ tacoPurple500: '#6951a5',
56
+ tacoPurple700: '#473279',
57
+ tacoPurple900: '#30254f',
58
+ } as const;
59
+
60
+ /* Brand Colors */
61
+ export const brandColors = {
62
+ tacoBrandMorning: '#fff5e5',
63
+ tacoBrandNoon: '#f5f7f9',
64
+ tacoBrandSunset: '#e89c2e',
65
+ tacoBrandMidnight: '#29283e',
66
+ } as const;
67
+
68
+ /* Spacing */
69
+ export const spacing = {
70
+ tacoSpacing12: '48px',
71
+ tacoSpacing8: '32px',
72
+ tacoSpacing6: '24px',
73
+ tacoSpacing4: '16px',
74
+ tacoSpacing3: '12px',
75
+ tacoSpacing2: '8px',
76
+ tacoSpacing1: '4px',
77
+ tacoSpacing0: '0px',
78
+ } as const;
79
+
80
+ /* Typography */
81
+ export const typography = {
82
+ tacoWeightBold: '700',
83
+ tacoWeightRegular: '400',
84
+ tacoTextSm: '12px',
85
+ tacoTextMd: '14px',
86
+ tacoTextLg: '16px',
87
+ tacoHeadingSm: '20px',
88
+ tacoHeadingMd: '24px',
89
+ tacoHeadingLg: '28px',
90
+ } as const;
91
+
92
+ /* Border Radius */
93
+ export const borderRadius = {
94
+ tacoRadiusFull: '99999px',
95
+ tacoRadius12: '12px',
96
+ tacoRadius8: '8px',
97
+ tacoRadius4: '4px',
98
+ tacoRadius2: '2px',
99
+ tacoRadius0: '0px',
100
+ } as const;
101
+
102
+ /* Border Width */
103
+ export const borderWidth = {
104
+ tacoBorderWidth2: '2px',
105
+ tacoBorderWidth1: '1px',
106
+ tacoBorderWidth0: '0px',
107
+ } as const;
108
+
109
+ /* All tokens combined */
110
+ export const tokens = {
111
+ primaryColors,
112
+ secondaryColors,
113
+ tertiaryColors,
114
+ brandColors,
115
+ spacing,
116
+ typography,
117
+ borderRadius,
118
+ borderWidth,
119
+ } as const;
120
+
121
+ /* Types */
122
+ export type TokenCategory = keyof typeof tokens;
@@ -1,123 +0,0 @@
1
- var $a8ae476446035e41$export$2e2bcd8739ae039 = {
2
- colors: {
3
- transparent: "transparent",
4
- current: "currentColor",
5
- white: "#fff",
6
- black: "#1c1c1c",
7
- brand: {
8
- vismaRed: "#E70641",
9
- paleOrange: "#FFF5E5",
10
- sunsetOrange: "#E89C2E",
11
- midnightBlue: "#29283E",
12
- coolBlue: "#F5F7F9"
13
- },
14
- grey: {
15
- lightest: "#fafafa",
16
- light: "#F6F6F6",
17
- DEFAULT: "#EBEBEB",
18
- dark: "#DDDDDD",
19
- darker: "#ACACAC",
20
- darkest: "#595959",
21
- darkNew: "#a5a6a9",
22
- 50: "#fafafa",
23
- 100: "#F6F6F6",
24
- 200: "#EBEBEB",
25
- 300: "#DDDDDD",
26
- 500: "#ACACAC",
27
- 700: "#595959",
28
- 900: "#303030"
29
- },
30
- purple: {
31
- lightest: "#585c74",
32
- light: "#4b4f64",
33
- DEFAULT: "#3d4153",
34
- dark: "#353a48",
35
- darker: "#29283e",
36
- darkest: "#212032",
37
- darkNew_1: "#373647",
38
- darkNew_2: "#414050",
39
- 100: "#EEE5FF",
40
- 200: "#ddd1ff",
41
- 300: "#CBBCFE",
42
- 500: "#9270FA",
43
- 700: "#6542D1",
44
- 900: "#412970"
45
- },
46
- blue: {
47
- lightest: "#DEEBFF",
48
- light: "#75A0F5",
49
- DEFAULT: "#4573D2",
50
- dark: "#2B57B4",
51
- 100: "#DEEBFF",
52
- 200: "#AACCFF",
53
- 300: "#75A0F5",
54
- 500: "#4573D2",
55
- 700: "#2B57B4",
56
- 900: "#29283E"
57
- },
58
- red: {
59
- lightest: "#FFDAD2",
60
- light: "#E66568",
61
- DEFAULT: "#CE3F42",
62
- dark: "#950027",
63
- 100: "#FFDAD2",
64
- 200: "#f3a09d",
65
- 300: "#E66568",
66
- 500: "#CE3F42",
67
- 700: "#950027",
68
- 900: "#64001B"
69
- },
70
- green: {
71
- lightest: "#cdf0e7",
72
- light: "#52C7AB",
73
- DEFAULT: "#08AE87",
74
- dark: "#028465",
75
- 100: "#cdf0e7",
76
- 200: "#9be1ce",
77
- 300: "#52C7AB",
78
- 500: "#08AE87",
79
- 700: "#028465",
80
- 900: "#14493A"
81
- },
82
- yellow: {
83
- lightest: "#FFF1C3",
84
- light: "#FFD665",
85
- DEFAULT: "#FFBD3B",
86
- dark: "#e89c2e",
87
- 100: "#FFF1C3",
88
- 200: "#ffe494",
89
- 300: "#FFD665",
90
- 500: "#FFBD3B",
91
- 700: "#e89c2e",
92
- 900: "#733700"
93
- },
94
- pink: {
95
- 100: "#FFE3F7",
96
- 200: "#fcb9e9",
97
- 300: "#F98EDB",
98
- 500: "#E165BF",
99
- 700: "#CF49AA",
100
- 900: "#870062"
101
- },
102
- brown: {
103
- 100: "#EEE0DA",
104
- 200: "#DFCCC2",
105
- 300: "#C4AB9E",
106
- 500: "#93715D",
107
- 700: "#73503B",
108
- 900: "#45291F"
109
- },
110
- orange: {
111
- 100: "#FFE3BB",
112
- 200: "#FCCB80",
113
- 300: "#FAB64D",
114
- 500: "#F99702",
115
- 700: "#EF7D00",
116
- 900: "#4A2811"
117
- }
118
- }
119
- };
120
-
121
-
122
- export {$a8ae476446035e41$export$2e2bcd8739ae039 as default};
123
- //# sourceMappingURL=taco-tokens.esm.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,IAAA,2CAAe;IACX,QAAQ;QACJ,aAAa;QACb,SAAS;QACT,OAAO;QACP,OAAO;QACP,OAAO;YACH,UAAU;YACV,YAAY;YACZ,cAAc;YACd,cAAc;YACd,UAAU;QACd;QACA,MAAM;YACF,UAAU;YACV,OAAO;YACP,SAAS;YACT,MAAM;YACN,QAAQ;YACR,SAAS;YACT,SAAS;YACT,IAAI;YACJ,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,QAAQ;YACJ,UAAU;YACV,OAAO;YACP,SAAS;YACT,MAAM;YACN,QAAQ;YACR,SAAS;YACT,WAAW;YACX,WAAW;YACX,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,MAAM;YACF,UAAU;YACV,OAAO;YACP,SAAS;YACT,MAAM;YACN,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,KAAK;YACD,UAAU;YACV,OAAO;YACP,SAAS;YACT,MAAM;YACN,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,OAAO;YACH,UAAU;YACV,OAAO;YACP,SAAS;YACT,MAAM;YACN,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,QAAQ;YACJ,UAAU;YACV,OAAO;YACP,SAAS;YACT,MAAM;YACN,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,MAAM;YACF,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,OAAO;YACH,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;QACA,QAAQ;YACJ,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;YACL,KAAK;QACT;IACJ;AACJ","sources":["packages/taco-tokens/src/index.ts"],"sourcesContent":["export default {\n colors: {\n transparent: 'transparent',\n current: 'currentColor',\n white: '#fff',\n black: '#1c1c1c',\n brand: {\n vismaRed: '#E70641',\n paleOrange: '#FFF5E5',\n sunsetOrange: '#E89C2E',\n midnightBlue: '#29283E',\n coolBlue: '#F5F7F9',\n },\n grey: {\n lightest: '#fafafa',\n light: '#F6F6F6',\n DEFAULT: '#EBEBEB',\n dark: '#DDDDDD',\n darker: '#ACACAC',\n darkest: '#595959',\n darkNew: '#a5a6a9',\n 50: '#fafafa',\n 100: '#F6F6F6',\n 200: '#EBEBEB',\n 300: '#DDDDDD',\n 500: '#ACACAC',\n 700: '#595959',\n 900: '#303030',\n },\n purple: {\n lightest: '#585c74',\n light: '#4b4f64',\n DEFAULT: '#3d4153',\n dark: '#353a48',\n darker: '#29283e',\n darkest: '#212032',\n darkNew_1: '#373647',\n darkNew_2: '#414050',\n 100: '#EEE5FF',\n 200: '#ddd1ff',\n 300: '#CBBCFE',\n 500: '#9270FA',\n 700: '#6542D1',\n 900: '#412970',\n },\n blue: {\n lightest: '#DEEBFF',\n light: '#75A0F5',\n DEFAULT: '#4573D2',\n dark: '#2B57B4',\n 100: '#DEEBFF',\n 200: '#AACCFF',\n 300: '#75A0F5',\n 500: '#4573D2',\n 700: '#2B57B4',\n 900: '#29283E',\n },\n red: {\n lightest: '#FFDAD2',\n light: '#E66568',\n DEFAULT: '#CE3F42',\n dark: '#950027',\n 100: '#FFDAD2',\n 200: '#f3a09d',\n 300: '#E66568',\n 500: '#CE3F42',\n 700: '#950027',\n 900: '#64001B',\n },\n green: {\n lightest: '#cdf0e7',\n light: '#52C7AB',\n DEFAULT: '#08AE87',\n dark: '#028465',\n 100: '#cdf0e7',\n 200: '#9be1ce',\n 300: '#52C7AB',\n 500: '#08AE87',\n 700: '#028465',\n 900: '#14493A',\n },\n yellow: {\n lightest: '#FFF1C3',\n light: '#FFD665',\n DEFAULT: '#FFBD3B',\n dark: '#e89c2e',\n 100: '#FFF1C3',\n 200: '#ffe494',\n 300: '#FFD665',\n 500: '#FFBD3B',\n 700: '#e89c2e',\n 900: '#733700',\n },\n pink: {\n 100: '#FFE3F7',\n 200: '#fcb9e9',\n 300: '#F98EDB',\n 500: '#E165BF',\n 700: '#CF49AA',\n 900: '#870062',\n },\n brown: {\n 100: '#EEE0DA',\n 200: '#DFCCC2',\n 300: '#C4AB9E',\n 500: '#93715D',\n 700: '#73503B',\n 900: '#45291F',\n },\n orange: {\n 100: '#FFE3BB',\n 200: '#FCCB80',\n 300: '#FAB64D',\n 500: '#F99702',\n 700: '#EF7D00',\n 900: '#4A2811',\n },\n },\n};\n"],"names":[],"version":3,"file":"taco-tokens.esm.js.map"}
@@ -1,2 +0,0 @@
1
- var e,F,r,a,E;e=module.exports,Object.defineProperty(e,"__esModule",{value:!0,configurable:!0}),F=module.exports,r="default",a=function(){return t},Object.defineProperty(F,r,{get:a,set:E,enumerable:!0,configurable:!0});var t={colors:{transparent:"transparent",current:"currentColor",white:"#fff",black:"#1c1c1c",brand:{vismaRed:"#E70641",paleOrange:"#FFF5E5",sunsetOrange:"#E89C2E",midnightBlue:"#29283E",coolBlue:"#F5F7F9"},grey:{lightest:"#fafafa",light:"#F6F6F6",DEFAULT:"#EBEBEB",dark:"#DDDDDD",darker:"#ACACAC",darkest:"#595959",darkNew:"#a5a6a9",50:"#fafafa",100:"#F6F6F6",200:"#EBEBEB",300:"#DDDDDD",500:"#ACACAC",700:"#595959",900:"#303030"},purple:{lightest:"#585c74",light:"#4b4f64",DEFAULT:"#3d4153",dark:"#353a48",darker:"#29283e",darkest:"#212032",darkNew_1:"#373647",darkNew_2:"#414050",100:"#EEE5FF",200:"#ddd1ff",300:"#CBBCFE",500:"#9270FA",700:"#6542D1",900:"#412970"},blue:{lightest:"#DEEBFF",light:"#75A0F5",DEFAULT:"#4573D2",dark:"#2B57B4",100:"#DEEBFF",200:"#AACCFF",300:"#75A0F5",500:"#4573D2",700:"#2B57B4",900:"#29283E"},red:{lightest:"#FFDAD2",light:"#E66568",DEFAULT:"#CE3F42",dark:"#950027",100:"#FFDAD2",200:"#f3a09d",300:"#E66568",500:"#CE3F42",700:"#950027",900:"#64001B"},green:{lightest:"#cdf0e7",light:"#52C7AB",DEFAULT:"#08AE87",dark:"#028465",100:"#cdf0e7",200:"#9be1ce",300:"#52C7AB",500:"#08AE87",700:"#028465",900:"#14493A"},yellow:{lightest:"#FFF1C3",light:"#FFD665",DEFAULT:"#FFBD3B",dark:"#e89c2e",100:"#FFF1C3",200:"#ffe494",300:"#FFD665",500:"#FFBD3B",700:"#e89c2e",900:"#733700"},pink:{100:"#FFE3F7",200:"#fcb9e9",300:"#F98EDB",500:"#E165BF",700:"#CF49AA",900:"#870062"},brown:{100:"#EEE0DA",200:"#DFCCC2",300:"#C4AB9E",500:"#93715D",700:"#73503B",900:"#45291F"},orange:{100:"#FFE3BB",200:"#FCCB80",300:"#FAB64D",500:"#F99702",700:"#EF7D00",900:"#4A2811"}}};
2
- //# sourceMappingURL=taco-tokens.js.map
@@ -1 +0,0 @@
1
- {"mappings":"2NAAA,IAAAA,EAAe,CACXC,OAAQ,CACJC,YAAa,cACbC,QAAS,eACTC,MAAO,OACPC,MAAO,UACPC,MAAO,CACHC,SAAU,UACVC,WAAY,UACZC,aAAc,UACdC,aAAc,UACdC,SAAU,WAEdC,KAAM,CACFC,SAAU,UACVC,MAAO,UACPC,QAAS,UACTC,KAAM,UACNC,OAAQ,UACRC,QAAS,UACTC,QAAS,UACT,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETC,OAAQ,CACJP,SAAU,UACVC,MAAO,UACPC,QAAS,UACTC,KAAM,UACNC,OAAQ,UACRC,QAAS,UACTG,UAAW,UACXC,UAAW,UACX,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETC,KAAM,CACFV,SAAU,UACVC,MAAO,UACPC,QAAS,UACTC,KAAM,UACN,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETQ,IAAK,CACDX,SAAU,UACVC,MAAO,UACPC,QAAS,UACTC,KAAM,UACN,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETS,MAAO,CACHZ,SAAU,UACVC,MAAO,UACPC,QAAS,UACTC,KAAM,UACN,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETU,OAAQ,CACJb,SAAU,UACVC,MAAO,UACPC,QAAS,UACTC,KAAM,UACN,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETW,KAAM,CACF,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETC,MAAO,CACH,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,WAETC,OAAQ,CACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK","sources":["packages/taco-tokens/src/index.ts"],"sourcesContent":["export default {\n colors: {\n transparent: 'transparent',\n current: 'currentColor',\n white: '#fff',\n black: '#1c1c1c',\n brand: {\n vismaRed: '#E70641',\n paleOrange: '#FFF5E5',\n sunsetOrange: '#E89C2E',\n midnightBlue: '#29283E',\n coolBlue: '#F5F7F9',\n },\n grey: {\n lightest: '#fafafa',\n light: '#F6F6F6',\n DEFAULT: '#EBEBEB',\n dark: '#DDDDDD',\n darker: '#ACACAC',\n darkest: '#595959',\n darkNew: '#a5a6a9',\n 50: '#fafafa',\n 100: '#F6F6F6',\n 200: '#EBEBEB',\n 300: '#DDDDDD',\n 500: '#ACACAC',\n 700: '#595959',\n 900: '#303030',\n },\n purple: {\n lightest: '#585c74',\n light: '#4b4f64',\n DEFAULT: '#3d4153',\n dark: '#353a48',\n darker: '#29283e',\n darkest: '#212032',\n darkNew_1: '#373647',\n darkNew_2: '#414050',\n 100: '#EEE5FF',\n 200: '#ddd1ff',\n 300: '#CBBCFE',\n 500: '#9270FA',\n 700: '#6542D1',\n 900: '#412970',\n },\n blue: {\n lightest: '#DEEBFF',\n light: '#75A0F5',\n DEFAULT: '#4573D2',\n dark: '#2B57B4',\n 100: '#DEEBFF',\n 200: '#AACCFF',\n 300: '#75A0F5',\n 500: '#4573D2',\n 700: '#2B57B4',\n 900: '#29283E',\n },\n red: {\n lightest: '#FFDAD2',\n light: '#E66568',\n DEFAULT: '#CE3F42',\n dark: '#950027',\n 100: '#FFDAD2',\n 200: '#f3a09d',\n 300: '#E66568',\n 500: '#CE3F42',\n 700: '#950027',\n 900: '#64001B',\n },\n green: {\n lightest: '#cdf0e7',\n light: '#52C7AB',\n DEFAULT: '#08AE87',\n dark: '#028465',\n 100: '#cdf0e7',\n 200: '#9be1ce',\n 300: '#52C7AB',\n 500: '#08AE87',\n 700: '#028465',\n 900: '#14493A',\n },\n yellow: {\n lightest: '#FFF1C3',\n light: '#FFD665',\n DEFAULT: '#FFBD3B',\n dark: '#e89c2e',\n 100: '#FFF1C3',\n 200: '#ffe494',\n 300: '#FFD665',\n 500: '#FFBD3B',\n 700: '#e89c2e',\n 900: '#733700',\n },\n pink: {\n 100: '#FFE3F7',\n 200: '#fcb9e9',\n 300: '#F98EDB',\n 500: '#E165BF',\n 700: '#CF49AA',\n 900: '#870062',\n },\n brown: {\n 100: '#EEE0DA',\n 200: '#DFCCC2',\n 300: '#C4AB9E',\n 500: '#93715D',\n 700: '#73503B',\n 900: '#45291F',\n },\n orange: {\n 100: '#FFE3BB',\n 200: '#FCCB80',\n 300: '#FAB64D',\n 500: '#F99702',\n 700: '#EF7D00',\n 900: '#4A2811',\n },\n },\n};\n"],"names":["$5f5890da2b1031bb$export$2e2bcd8739ae039","colors","transparent","current","white","black","brand","vismaRed","paleOrange","sunsetOrange","midnightBlue","coolBlue","grey","lightest","light","DEFAULT","dark","darker","darkest","darkNew","purple","darkNew_1","darkNew_2","blue","red","green","yellow","pink","brown","orange"],"version":3,"file":"taco-tokens.js.map"}