@mehdashti/tokens 0.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.
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Dark Theme - Industrial Petrol Palette
3
+ * Generated from @mehdashti/tokens
4
+ * Aligned with APISmith Enterprise Design System
5
+ */
6
+
7
+ [data-theme="dark"] {
8
+ color-scheme: dark;
9
+
10
+ /* ----------------------------------------
11
+ Dark Theme - Industrial Petrol Palette
12
+ ---------------------------------------- */
13
+ --background: 221 39% 11%; /* #111827 */
14
+ --foreground: 220 14% 96%; /* #F3F4F6 */
15
+
16
+ --card: 217 33% 17%; /* #1F2937 */
17
+ --card-foreground: 220 14% 96%;
18
+
19
+ --popover: 217 33% 17%;
20
+ --popover-foreground: 220 14% 96%;
21
+
22
+ /* Primary - آبی سربی مات (بدون خیرگی) */
23
+ --primary: 195 45% 38%; /* #35778C */
24
+ --primary-foreground: 0 0% 100%;
25
+
26
+ --secondary: 217 33% 17%;
27
+ --secondary-foreground: 220 14% 96%;
28
+
29
+ --muted: 221 39% 11%; /* Same as background */
30
+ --muted-foreground: 218 11% 65%; /* #9CA3AF */
31
+
32
+ --accent: 195 30% 20%;
33
+ --accent-foreground: 195 45% 60%;
34
+
35
+ --destructive: 0 94% 82%; /* #FCA5A5 - text color for dark mode */
36
+ --destructive-foreground: 0 0% 100%;
37
+
38
+ --border: 217 19% 27%; /* #374151 */
39
+ --input: 217 19% 27%;
40
+ --ring: 195 45% 38%;
41
+
42
+ /* Semantic colors - Dark */
43
+ --success: 156 72% 67%; /* #6EE7B7 - text */
44
+ --success-foreground: 156 72% 67%;
45
+ --success-bg: 166 91% 16%; /* #064E3B */
46
+ --success-border: 163 94% 20%; /* #065F46 */
47
+
48
+ --warning: 43 96% 65%; /* #FCD34D - text */
49
+ --warning-foreground: 43 96% 65%;
50
+ --warning-bg: 22 92% 14%; /* #451A03 */
51
+ --warning-border: 26 79% 26%; /* #78350F */
52
+
53
+ --info: 213 93% 78%; /* #93C5FD - text */
54
+ --info-foreground: 213 93% 78%;
55
+ --info-bg: 214 52% 24%; /* #1E3A5F */
56
+ --info-border: 224 76% 40%; /* #1E40AF */
57
+
58
+ --destructive-bg: 0 77% 15%; /* #450A0A */
59
+ --destructive-border: 0 63% 31%; /* #7F1D1D */
60
+
61
+ /* Error alias (same as destructive) */
62
+ --error: 0 94% 82%; /* #FCA5A5 */
63
+ --error-bg: 0 77% 15%; /* #450A0A */
64
+ --error-border: 0 63% 31%; /* #7F1D1D */
65
+
66
+ /* Sidebar - Darker petrol */
67
+ --sidebar: 215 55% 8%; /* #0B131E */
68
+ --sidebar-foreground: 0 0% 100%;
69
+ --sidebar-accent: 195 45% 38%;
70
+
71
+ /* Table */
72
+ --table-stripe: 221 39% 9%;
73
+ --table-header: 217 33% 15%;
74
+ }
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Light Theme - Industrial Petrol Palette
3
+ * Generated from @mehdashti/tokens
4
+ * Aligned with APISmith Enterprise Design System
5
+ */
6
+
7
+ :root {
8
+ color-scheme: light;
9
+
10
+ /* ----------------------------------------
11
+ Light Theme - Industrial Petrol Palette
12
+ ---------------------------------------- */
13
+ --background: 220 14% 96%; /* #F3F4F6 */
14
+ --foreground: 221 39% 11%; /* #1F2937 */
15
+
16
+ --card: 0 0% 100%; /* #FFFFFF */
17
+ --card-foreground: 221 39% 11%;
18
+
19
+ --popover: 0 0% 100%;
20
+ --popover-foreground: 221 39% 11%;
21
+
22
+ /* Primary - آبی نفتی صنعتی */
23
+ --primary: 195 100% 28%; /* #006D8F - آبی نفتی */
24
+ --primary-foreground: 0 0% 100%;
25
+
26
+ --secondary: 220 14% 96%;
27
+ --secondary-foreground: 221 39% 11%;
28
+
29
+ --muted: 220 14% 96%; /* #F3F4F6 */
30
+ --muted-foreground: 220 9% 46%; /* #6B7280 */
31
+
32
+ --accent: 195 40% 94%;
33
+ --accent-foreground: 195 100% 28%;
34
+
35
+ --destructive: 0 74% 35%; /* #991B1B - text color for error */
36
+ --destructive-foreground: 0 0% 100%;
37
+
38
+ --border: 220 13% 91%; /* #E5E7EB */
39
+ --input: 220 13% 91%;
40
+ --ring: 195 100% 28%;
41
+
42
+ --radius: 3px;
43
+
44
+ /* Semantic colors - Light */
45
+ --success: 142 64% 24%; /* #166534 - text */
46
+ --success-foreground: 0 0% 100%;
47
+ --success-bg: 142 72% 94%; /* #DCFCE7 */
48
+ --success-border: 142 77% 73%; /* #86EFAC */
49
+
50
+ --warning: 26 83% 31%; /* #92400E - text */
51
+ --warning-foreground: 26 83% 31%;
52
+ --warning-bg: 48 96% 89%; /* #FEF3C7 */
53
+ --warning-border: 43 96% 65%; /* #FCD34D */
54
+
55
+ --info: 224 76% 40%; /* #1E40AF - text */
56
+ --info-foreground: 224 76% 40%;
57
+ --info-bg: 214 95% 93%; /* #DBEAFE */
58
+ --info-border: 213 93% 78%; /* #93C5FD */
59
+
60
+ --destructive-bg: 0 93% 94%; /* #FEE2E2 */
61
+ --destructive-border: 0 94% 82%; /* #FCA5A5 */
62
+
63
+ /* Error alias (same as destructive) */
64
+ --error: 0 74% 35%; /* #991B1B */
65
+ --error-bg: 0 93% 94%; /* #FEE2E2 */
66
+ --error-border: 0 94% 82%; /* #FCA5A5 */
67
+
68
+ /* Sidebar - Deep petrol */
69
+ --sidebar: 197 100% 20%; /* #004E64 */
70
+ --sidebar-foreground: 0 0% 100%;
71
+ --sidebar-accent: 195 100% 28%;
72
+
73
+ /* Table */
74
+ --table-stripe: 220 14% 97%;
75
+ --table-header: 220 14% 95%;
76
+
77
+ /* Layout */
78
+ --header-height: 56px;
79
+ --sidebar-width: 240px;
80
+ --sidebar-collapsed: 64px;
81
+ }
@@ -0,0 +1,230 @@
1
+ /**
2
+ * Base Design Tokens
3
+ * Generated from @mehdashti/tokens
4
+ */
5
+
6
+ :root {
7
+ /* Spacing */
8
+ --spacing-0: 0;
9
+ --spacing-1: 0.25rem;
10
+ --spacing-2: 0.5rem;
11
+ --spacing-3: 0.75rem;
12
+ --spacing-4: 1rem;
13
+ --spacing-5: 1.25rem;
14
+ --spacing-6: 1.5rem;
15
+ --spacing-7: 1.75rem;
16
+ --spacing-8: 2rem;
17
+ --spacing-9: 2.25rem;
18
+ --spacing-10: 2.5rem;
19
+ --spacing-12: 3rem;
20
+ --spacing-14: 3.5rem;
21
+ --spacing-16: 4rem;
22
+ --spacing-20: 5rem;
23
+ --spacing-24: 6rem;
24
+ --spacing-28: 7rem;
25
+ --spacing-32: 8rem;
26
+ --spacing-px: 1px;
27
+ --spacing-0-5: 0.125rem;
28
+ --spacing-1-5: 0.375rem;
29
+ --spacing-2-5: 0.625rem;
30
+ --spacing-3-5: 0.875rem;
31
+
32
+ /* Font Size */
33
+ --font-size-xs: 0.75rem;
34
+ --font-size-sm: 0.875rem;
35
+ --font-size-base: 1rem;
36
+ --font-size-lg: 1.125rem;
37
+ --font-size-xl: 1.25rem;
38
+ --font-size-2xl: 1.5rem;
39
+ --font-size-3xl: 1.875rem;
40
+ --font-size-4xl: 2.25rem;
41
+
42
+ /* Border Radius */
43
+ --radius-none: 0;
44
+ --radius-sm: 0.125rem;
45
+ --radius-base: 0.25rem;
46
+ --radius-md: 0.375rem;
47
+ --radius-lg: 0.5rem;
48
+ --radius-xl: 0.75rem;
49
+ --radius-2xl: 1rem;
50
+ --radius-full: 9999px;
51
+
52
+ /* Shadows */
53
+ --shadow-none: none;
54
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
55
+ --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
56
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
57
+ --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
58
+ --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
59
+
60
+ /* Font Family */
61
+ --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
62
+ --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
63
+
64
+ /* Z-Index */
65
+ --z-dropdown: 1000;
66
+ --z-sticky: 1100;
67
+ --z-fixed: 1200;
68
+ --z-overlay: 1300;
69
+ --z-modal: 1400;
70
+ --z-popover: 1500;
71
+ --z-tooltip: 1600;
72
+ --z-toast: 1700;
73
+ }
74
+
75
+ /**
76
+ * Light Theme - Industrial Petrol Palette
77
+ * Generated from @mehdashti/tokens
78
+ * Aligned with APISmith Enterprise Design System
79
+ */
80
+
81
+ :root {
82
+ color-scheme: light;
83
+
84
+ /* ----------------------------------------
85
+ Light Theme - Industrial Petrol Palette
86
+ ---------------------------------------- */
87
+ --background: 220 14% 96%; /* #F3F4F6 */
88
+ --foreground: 221 39% 11%; /* #1F2937 */
89
+
90
+ --card: 0 0% 100%; /* #FFFFFF */
91
+ --card-foreground: 221 39% 11%;
92
+
93
+ --popover: 0 0% 100%;
94
+ --popover-foreground: 221 39% 11%;
95
+
96
+ /* Primary - آبی نفتی صنعتی */
97
+ --primary: 195 100% 28%; /* #006D8F - آبی نفتی */
98
+ --primary-foreground: 0 0% 100%;
99
+
100
+ --secondary: 220 14% 96%;
101
+ --secondary-foreground: 221 39% 11%;
102
+
103
+ --muted: 220 14% 96%; /* #F3F4F6 */
104
+ --muted-foreground: 220 9% 46%; /* #6B7280 */
105
+
106
+ --accent: 195 40% 94%;
107
+ --accent-foreground: 195 100% 28%;
108
+
109
+ --destructive: 0 74% 35%; /* #991B1B - text color for error */
110
+ --destructive-foreground: 0 0% 100%;
111
+
112
+ --border: 220 13% 91%; /* #E5E7EB */
113
+ --input: 220 13% 91%;
114
+ --ring: 195 100% 28%;
115
+
116
+ --radius: 3px;
117
+
118
+ /* Semantic colors - Light */
119
+ --success: 142 64% 24%; /* #166534 - text */
120
+ --success-foreground: 0 0% 100%;
121
+ --success-bg: 142 72% 94%; /* #DCFCE7 */
122
+ --success-border: 142 77% 73%; /* #86EFAC */
123
+
124
+ --warning: 26 83% 31%; /* #92400E - text */
125
+ --warning-foreground: 26 83% 31%;
126
+ --warning-bg: 48 96% 89%; /* #FEF3C7 */
127
+ --warning-border: 43 96% 65%; /* #FCD34D */
128
+
129
+ --info: 224 76% 40%; /* #1E40AF - text */
130
+ --info-foreground: 224 76% 40%;
131
+ --info-bg: 214 95% 93%; /* #DBEAFE */
132
+ --info-border: 213 93% 78%; /* #93C5FD */
133
+
134
+ --destructive-bg: 0 93% 94%; /* #FEE2E2 */
135
+ --destructive-border: 0 94% 82%; /* #FCA5A5 */
136
+
137
+ /* Error alias (same as destructive) */
138
+ --error: 0 74% 35%; /* #991B1B */
139
+ --error-bg: 0 93% 94%; /* #FEE2E2 */
140
+ --error-border: 0 94% 82%; /* #FCA5A5 */
141
+
142
+ /* Sidebar - Deep petrol */
143
+ --sidebar: 197 100% 20%; /* #004E64 */
144
+ --sidebar-foreground: 0 0% 100%;
145
+ --sidebar-accent: 195 100% 28%;
146
+
147
+ /* Table */
148
+ --table-stripe: 220 14% 97%;
149
+ --table-header: 220 14% 95%;
150
+
151
+ /* Layout */
152
+ --header-height: 56px;
153
+ --sidebar-width: 240px;
154
+ --sidebar-collapsed: 64px;
155
+ }
156
+
157
+ /**
158
+ * Dark Theme - Industrial Petrol Palette
159
+ * Generated from @mehdashti/tokens
160
+ * Aligned with APISmith Enterprise Design System
161
+ */
162
+
163
+ [data-theme="dark"] {
164
+ color-scheme: dark;
165
+
166
+ /* ----------------------------------------
167
+ Dark Theme - Industrial Petrol Palette
168
+ ---------------------------------------- */
169
+ --background: 221 39% 11%; /* #111827 */
170
+ --foreground: 220 14% 96%; /* #F3F4F6 */
171
+
172
+ --card: 217 33% 17%; /* #1F2937 */
173
+ --card-foreground: 220 14% 96%;
174
+
175
+ --popover: 217 33% 17%;
176
+ --popover-foreground: 220 14% 96%;
177
+
178
+ /* Primary - آبی سربی مات (بدون خیرگی) */
179
+ --primary: 195 45% 38%; /* #35778C */
180
+ --primary-foreground: 0 0% 100%;
181
+
182
+ --secondary: 217 33% 17%;
183
+ --secondary-foreground: 220 14% 96%;
184
+
185
+ --muted: 221 39% 11%; /* Same as background */
186
+ --muted-foreground: 218 11% 65%; /* #9CA3AF */
187
+
188
+ --accent: 195 30% 20%;
189
+ --accent-foreground: 195 45% 60%;
190
+
191
+ --destructive: 0 94% 82%; /* #FCA5A5 - text color for dark mode */
192
+ --destructive-foreground: 0 0% 100%;
193
+
194
+ --border: 217 19% 27%; /* #374151 */
195
+ --input: 217 19% 27%;
196
+ --ring: 195 45% 38%;
197
+
198
+ /* Semantic colors - Dark */
199
+ --success: 156 72% 67%; /* #6EE7B7 - text */
200
+ --success-foreground: 156 72% 67%;
201
+ --success-bg: 166 91% 16%; /* #064E3B */
202
+ --success-border: 163 94% 20%; /* #065F46 */
203
+
204
+ --warning: 43 96% 65%; /* #FCD34D - text */
205
+ --warning-foreground: 43 96% 65%;
206
+ --warning-bg: 22 92% 14%; /* #451A03 */
207
+ --warning-border: 26 79% 26%; /* #78350F */
208
+
209
+ --info: 213 93% 78%; /* #93C5FD - text */
210
+ --info-foreground: 213 93% 78%;
211
+ --info-bg: 214 52% 24%; /* #1E3A5F */
212
+ --info-border: 224 76% 40%; /* #1E40AF */
213
+
214
+ --destructive-bg: 0 77% 15%; /* #450A0A */
215
+ --destructive-border: 0 63% 31%; /* #7F1D1D */
216
+
217
+ /* Error alias (same as destructive) */
218
+ --error: 0 94% 82%; /* #FCA5A5 */
219
+ --error-bg: 0 77% 15%; /* #450A0A */
220
+ --error-border: 0 63% 31%; /* #7F1D1D */
221
+
222
+ /* Sidebar - Darker petrol */
223
+ --sidebar: 215 55% 8%; /* #0B131E */
224
+ --sidebar-foreground: 0 0% 100%;
225
+ --sidebar-accent: 195 45% 38%;
226
+
227
+ /* Table */
228
+ --table-stripe: 221 39% 9%;
229
+ --table-header: 217 33% 15%;
230
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @mehdashti/tokens
3
+ *
4
+ * Design tokens for Smart Platform
5
+ * - Colors (light/dark themes)
6
+ * - Spacing scale
7
+ * - Typography scale
8
+ * - Border radius
9
+ * - Shadows
10
+ * - Z-index layers
11
+ */
12
+ export * from "./colors.js";
13
+ export * from "./spacing.js";
14
+ export * from "./typography.js";
15
+ export * from "./borders.js";
16
+ export * from "./shadows.js";
17
+ export * from "./zIndex.js";
18
+ export * from "./breakpoints.js";
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @mehdashti/tokens
3
+ *
4
+ * Design tokens for Smart Platform
5
+ * - Colors (light/dark themes)
6
+ * - Spacing scale
7
+ * - Typography scale
8
+ * - Border radius
9
+ * - Shadows
10
+ * - Z-index layers
11
+ */
12
+ export * from "./colors.js";
13
+ export * from "./spacing.js";
14
+ export * from "./typography.js";
15
+ export * from "./borders.js";
16
+ export * from "./shadows.js";
17
+ export * from "./zIndex.js";
18
+ export * from "./breakpoints.js";
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Shadow Tokens
3
+ *
4
+ * Box shadows for elevation
5
+ */
6
+ export declare const boxShadow: {
7
+ readonly none: "none";
8
+ readonly sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
9
+ readonly base: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
10
+ readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
11
+ readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
12
+ readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
13
+ readonly "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)";
14
+ readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
15
+ };
16
+ //# sourceMappingURL=shadows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../src/shadows.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,SAAS;;;;;;;;;CASZ,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Shadow Tokens
3
+ *
4
+ * Box shadows for elevation
5
+ */
6
+ export const boxShadow = {
7
+ none: "none",
8
+ sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
9
+ base: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
10
+ md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
11
+ lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
12
+ xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
13
+ "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
14
+ inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
15
+ };
16
+ //# sourceMappingURL=shadows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.js","sourceRoot":"","sources":["../src/shadows.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,+BAA+B;IACnC,IAAI,EAAE,+DAA+D;IACrE,EAAE,EAAE,kEAAkE;IACtE,EAAE,EAAE,oEAAoE;IACxE,EAAE,EAAE,qEAAqE;IACzE,KAAK,EAAE,qCAAqC;IAC5C,KAAK,EAAE,qCAAqC;CACpC,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Spacing Tokens
3
+ *
4
+ * 8px base scale (4px for fine-tuning)
5
+ */
6
+ export declare const spacing: {
7
+ readonly 0: "0";
8
+ readonly px: "1px";
9
+ readonly "0-5": "0.125rem";
10
+ readonly 1: "0.25rem";
11
+ readonly "1-5": "0.375rem";
12
+ readonly 2: "0.5rem";
13
+ readonly "2-5": "0.625rem";
14
+ readonly 3: "0.75rem";
15
+ readonly "3-5": "0.875rem";
16
+ readonly 4: "1rem";
17
+ readonly 5: "1.25rem";
18
+ readonly 6: "1.5rem";
19
+ readonly 7: "1.75rem";
20
+ readonly 8: "2rem";
21
+ readonly 9: "2.25rem";
22
+ readonly 10: "2.5rem";
23
+ readonly 11: "2.75rem";
24
+ readonly 12: "3rem";
25
+ readonly 14: "3.5rem";
26
+ readonly 16: "4rem";
27
+ readonly 20: "5rem";
28
+ readonly 24: "6rem";
29
+ readonly 28: "7rem";
30
+ readonly 32: "8rem";
31
+ readonly 36: "9rem";
32
+ readonly 40: "10rem";
33
+ readonly 44: "11rem";
34
+ readonly 48: "12rem";
35
+ readonly 52: "13rem";
36
+ readonly 56: "14rem";
37
+ readonly 60: "15rem";
38
+ readonly 64: "16rem";
39
+ readonly 72: "18rem";
40
+ readonly 80: "20rem";
41
+ readonly 96: "24rem";
42
+ };
43
+ export type SpacingKey = keyof typeof spacing;
44
+ //# sourceMappingURL=spacing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../src/spacing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCV,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Spacing Tokens
3
+ *
4
+ * 8px base scale (4px for fine-tuning)
5
+ */
6
+ export const spacing = {
7
+ 0: "0",
8
+ px: "1px",
9
+ "0-5": "0.125rem", // 2px
10
+ 1: "0.25rem", // 4px
11
+ "1-5": "0.375rem", // 6px
12
+ 2: "0.5rem", // 8px
13
+ "2-5": "0.625rem", // 10px
14
+ 3: "0.75rem", // 12px
15
+ "3-5": "0.875rem", // 14px
16
+ 4: "1rem", // 16px
17
+ 5: "1.25rem", // 20px
18
+ 6: "1.5rem", // 24px
19
+ 7: "1.75rem", // 28px
20
+ 8: "2rem", // 32px
21
+ 9: "2.25rem", // 36px
22
+ 10: "2.5rem", // 40px
23
+ 11: "2.75rem", // 44px
24
+ 12: "3rem", // 48px
25
+ 14: "3.5rem", // 56px
26
+ 16: "4rem", // 64px
27
+ 20: "5rem", // 80px
28
+ 24: "6rem", // 96px
29
+ 28: "7rem", // 112px
30
+ 32: "8rem", // 128px
31
+ 36: "9rem", // 144px
32
+ 40: "10rem", // 160px
33
+ 44: "11rem", // 176px
34
+ 48: "12rem", // 192px
35
+ 52: "13rem", // 208px
36
+ 56: "14rem", // 224px
37
+ 60: "15rem", // 240px
38
+ 64: "16rem", // 256px
39
+ 72: "18rem", // 288px
40
+ 80: "20rem", // 320px
41
+ 96: "24rem", // 384px
42
+ };
43
+ //# sourceMappingURL=spacing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spacing.js","sourceRoot":"","sources":["../src/spacing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,KAAK;IACT,KAAK,EAAE,UAAU,EAAE,MAAM;IACzB,CAAC,EAAE,SAAS,EAAE,MAAM;IACpB,KAAK,EAAE,UAAU,EAAE,MAAM;IACzB,CAAC,EAAE,QAAQ,EAAE,MAAM;IACnB,KAAK,EAAE,UAAU,EAAE,OAAO;IAC1B,CAAC,EAAE,SAAS,EAAE,OAAO;IACrB,KAAK,EAAE,UAAU,EAAE,OAAO;IAC1B,CAAC,EAAE,MAAM,EAAE,OAAO;IAClB,CAAC,EAAE,SAAS,EAAE,OAAO;IACrB,CAAC,EAAE,QAAQ,EAAE,OAAO;IACpB,CAAC,EAAE,SAAS,EAAE,OAAO;IACrB,CAAC,EAAE,MAAM,EAAE,OAAO;IAClB,CAAC,EAAE,SAAS,EAAE,OAAO;IACrB,EAAE,EAAE,QAAQ,EAAE,OAAO;IACrB,EAAE,EAAE,SAAS,EAAE,OAAO;IACtB,EAAE,EAAE,MAAM,EAAE,OAAO;IACnB,EAAE,EAAE,QAAQ,EAAE,OAAO;IACrB,EAAE,EAAE,MAAM,EAAE,OAAO;IACnB,EAAE,EAAE,MAAM,EAAE,OAAO;IACnB,EAAE,EAAE,MAAM,EAAE,OAAO;IACnB,EAAE,EAAE,MAAM,EAAE,QAAQ;IACpB,EAAE,EAAE,MAAM,EAAE,QAAQ;IACpB,EAAE,EAAE,MAAM,EAAE,QAAQ;IACpB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;IACrB,EAAE,EAAE,OAAO,EAAE,QAAQ;CACb,CAAC"}
@@ -0,0 +1,78 @@
1
+ /**
2
+ * Typography Tokens
3
+ *
4
+ * Font families, sizes, weights, and line heights
5
+ */
6
+ export declare const fontFamily: {
7
+ readonly sans: string;
8
+ readonly mono: string;
9
+ };
10
+ export declare const fontSize: {
11
+ readonly xs: readonly ["0.75rem", {
12
+ readonly lineHeight: "1rem";
13
+ }];
14
+ readonly sm: readonly ["0.875rem", {
15
+ readonly lineHeight: "1.25rem";
16
+ }];
17
+ readonly base: readonly ["1rem", {
18
+ readonly lineHeight: "1.5rem";
19
+ }];
20
+ readonly lg: readonly ["1.125rem", {
21
+ readonly lineHeight: "1.75rem";
22
+ }];
23
+ readonly xl: readonly ["1.25rem", {
24
+ readonly lineHeight: "1.75rem";
25
+ }];
26
+ readonly "2xl": readonly ["1.5rem", {
27
+ readonly lineHeight: "2rem";
28
+ }];
29
+ readonly "3xl": readonly ["1.875rem", {
30
+ readonly lineHeight: "2.25rem";
31
+ }];
32
+ readonly "4xl": readonly ["2.25rem", {
33
+ readonly lineHeight: "2.5rem";
34
+ }];
35
+ readonly "5xl": readonly ["3rem", {
36
+ readonly lineHeight: "1";
37
+ }];
38
+ readonly "6xl": readonly ["3.75rem", {
39
+ readonly lineHeight: "1";
40
+ }];
41
+ readonly "7xl": readonly ["4.5rem", {
42
+ readonly lineHeight: "1";
43
+ }];
44
+ readonly "8xl": readonly ["6rem", {
45
+ readonly lineHeight: "1";
46
+ }];
47
+ readonly "9xl": readonly ["8rem", {
48
+ readonly lineHeight: "1";
49
+ }];
50
+ };
51
+ export declare const fontWeight: {
52
+ readonly thin: "100";
53
+ readonly extralight: "200";
54
+ readonly light: "300";
55
+ readonly normal: "400";
56
+ readonly medium: "500";
57
+ readonly semibold: "600";
58
+ readonly bold: "700";
59
+ readonly extrabold: "800";
60
+ readonly black: "900";
61
+ };
62
+ export declare const lineHeight: {
63
+ readonly none: "1";
64
+ readonly tight: "1.25";
65
+ readonly snug: "1.375";
66
+ readonly normal: "1.5";
67
+ readonly relaxed: "1.625";
68
+ readonly loose: "2";
69
+ };
70
+ export declare const letterSpacing: {
71
+ readonly tighter: "-0.05em";
72
+ readonly tight: "-0.025em";
73
+ readonly normal: "0em";
74
+ readonly wide: "0.025em";
75
+ readonly wider: "0.05em";
76
+ readonly widest: "0.1em";
77
+ };
78
+ //# sourceMappingURL=typography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../src/typography.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,eAAO,MAAM,UAAU;;;CAkBb,CAAC;AAMX,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcX,CAAC;AAMX,eAAO,MAAM,UAAU;;;;;;;;;;CAUb,CAAC;AAMX,eAAO,MAAM,UAAU;;;;;;;CAOb,CAAC;AAMX,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC"}