@yuva-devlab/tokens 1.2.0 → 1.3.1
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 +97 -4
- package/dist/index.cjs +41 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +41 -5
- package/dist/index.js.map +1 -1
- package/dist/preset.css +40 -0
- package/dist/styles.css +1 -0
- package/dist/themes/finai.css +57 -0
- package/dist/themes/logs.css +84 -0
- package/dist/themes/orchestrai.css +26 -0
- package/dist/themes/portal.css +57 -0
- package/dist/themes/vitalai.css +248 -0
- package/package.json +25 -5
- package/styles/preset.css +40 -0
- package/styles/styles.css +1 -0
- package/styles/themes/finai.css +57 -0
- package/styles/themes/logs.css +84 -0
- package/styles/themes/orchestrai.css +26 -0
- package/styles/themes/portal.css +57 -0
- package/styles/themes/vitalai.css +248 -0
package/styles/themes/portal.css
CHANGED
|
@@ -106,6 +106,20 @@
|
|
|
106
106
|
--section-gap: var(--space-5);
|
|
107
107
|
--table-row-padding-x: var(--space-4);
|
|
108
108
|
--table-row-padding-y: var(--space-3);
|
|
109
|
+
|
|
110
|
+
/* ── DevLab Portal Typography Tokens ─────────────────────────────────── */
|
|
111
|
+
--theme-font-sans:
|
|
112
|
+
"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
113
|
+
--theme-font-display:
|
|
114
|
+
"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
115
|
+
--theme-font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
116
|
+
--font-sans: var(--theme-font-sans);
|
|
117
|
+
--font-display: var(--theme-font-display);
|
|
118
|
+
--font-mono: var(--theme-font-mono);
|
|
119
|
+
|
|
120
|
+
/* ── IAM Control Plane Scaling ───────────────────────────────────────── */
|
|
121
|
+
--theme-font-size-root: 15.5px;
|
|
122
|
+
--theme-spacing: 0.24rem;
|
|
109
123
|
}
|
|
110
124
|
|
|
111
125
|
/* ── DevLab Portal Theme — Dark Mode ─────────────────────────────────── */
|
|
@@ -189,4 +203,47 @@
|
|
|
189
203
|
--chart-3: oklch(78% 0.14 75);
|
|
190
204
|
--chart-4: oklch(73% 0.15 15);
|
|
191
205
|
--chart-5: oklch(74% 0.11 190);
|
|
206
|
+
|
|
207
|
+
/* ── Sizing, Spacing & Layout Tokens ─────────────────────────────────── */
|
|
208
|
+
--control-height-xs: 1.75rem;
|
|
209
|
+
--control-height-sm: 2rem;
|
|
210
|
+
--control-height-md: 2.25rem;
|
|
211
|
+
--control-height-lg: 2.5rem;
|
|
212
|
+
--control-height-xl: 3rem;
|
|
213
|
+
|
|
214
|
+
--icon-xs: 0.875rem;
|
|
215
|
+
--icon-sm: 1rem;
|
|
216
|
+
--icon-md: 1.25rem;
|
|
217
|
+
--icon-lg: 1.5rem;
|
|
218
|
+
--icon-xl: 2rem;
|
|
219
|
+
|
|
220
|
+
--space-1: 0.25rem;
|
|
221
|
+
--space-2: 0.5rem;
|
|
222
|
+
--space-3: 0.75rem;
|
|
223
|
+
--space-4: 1rem;
|
|
224
|
+
--space-5: 1.25rem;
|
|
225
|
+
--space-6: 1.5rem;
|
|
226
|
+
--space-8: 2rem;
|
|
227
|
+
--space-10: 2.5rem;
|
|
228
|
+
|
|
229
|
+
--card-padding: var(--space-4);
|
|
230
|
+
--dialog-padding: var(--space-5);
|
|
231
|
+
--form-field-gap: var(--space-3);
|
|
232
|
+
--section-gap: var(--space-5);
|
|
233
|
+
--table-row-padding-x: var(--space-4);
|
|
234
|
+
--table-row-padding-y: var(--space-3);
|
|
235
|
+
|
|
236
|
+
/* ── DevLab Portal Typography Tokens ─────────────────────────────────── */
|
|
237
|
+
--theme-font-sans:
|
|
238
|
+
"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
239
|
+
--theme-font-display:
|
|
240
|
+
"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
241
|
+
--theme-font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
242
|
+
--font-sans: var(--theme-font-sans);
|
|
243
|
+
--font-display: var(--theme-font-display);
|
|
244
|
+
--font-mono: var(--theme-font-mono);
|
|
245
|
+
|
|
246
|
+
/* ── IAM Control Plane Scaling ───────────────────────────────────────── */
|
|
247
|
+
--theme-font-size-root: 15.5px;
|
|
248
|
+
--theme-spacing: 0.24rem;
|
|
192
249
|
}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VitalAI Theme Preset — High-Performance Athletic & Kinetic Palette
|
|
3
|
+
* Modern OKLCH color spaces optimized for bodybuilding, calisthenics, and AI fitness coaching.
|
|
4
|
+
* High-specificity scoped tokens for VitalAI applications.
|
|
5
|
+
*/
|
|
6
|
+
/* ── VitalAI Theme — Light Mode ─────────────────────────────────────────── */
|
|
7
|
+
[data-brand="vitalai"],
|
|
8
|
+
[data-theme="vitalai"],
|
|
9
|
+
[data-theme="vitalai-light"],
|
|
10
|
+
:root[data-brand="vitalai"],
|
|
11
|
+
:root[data-theme="vitalai"],
|
|
12
|
+
:root[data-theme="vitalai-light"] {
|
|
13
|
+
--radius: 1rem;
|
|
14
|
+
/* Surfaces */
|
|
15
|
+
--background: oklch(0.98 0.005 265);
|
|
16
|
+
--foreground: oklch(0.14 0.02 265);
|
|
17
|
+
--card: oklch(1 0 0 / 85%);
|
|
18
|
+
--card-foreground: oklch(0.14 0.02 265);
|
|
19
|
+
--popover: oklch(0.99 0.003 265);
|
|
20
|
+
--popover-foreground: oklch(0.14 0.02 265);
|
|
21
|
+
|
|
22
|
+
/* Brand Action — Athletic Volt Accent */
|
|
23
|
+
--primary: oklch(0.72 0.22 128);
|
|
24
|
+
--primary-foreground: oklch(0.12 0.02 128);
|
|
25
|
+
--secondary: oklch(0.93 0.015 265);
|
|
26
|
+
--secondary-foreground: oklch(0.2 0.03 265);
|
|
27
|
+
|
|
28
|
+
/* Muted / Accent */
|
|
29
|
+
--muted: oklch(0.94 0.01 265);
|
|
30
|
+
--muted-foreground: oklch(0.48 0.025 265);
|
|
31
|
+
--accent: oklch(0.92 0.025 265);
|
|
32
|
+
--accent-foreground: oklch(0.2 0.03 265);
|
|
33
|
+
|
|
34
|
+
/* Status & Clinical Feedback */
|
|
35
|
+
--destructive: oklch(0.58 0.2 25);
|
|
36
|
+
--destructive-foreground: oklch(0.99 0 0);
|
|
37
|
+
--warning: oklch(0.72 0.16 70);
|
|
38
|
+
--warning-foreground: oklch(0.2 0.02 70);
|
|
39
|
+
--success: oklch(0.65 0.2 140);
|
|
40
|
+
--success-foreground: oklch(0.99 0 0);
|
|
41
|
+
--info: oklch(0.62 0.15 210);
|
|
42
|
+
--info-foreground: oklch(0.99 0 0);
|
|
43
|
+
|
|
44
|
+
/* Form & Interactive */
|
|
45
|
+
--border: oklch(0.14 0.02 265 / 10%);
|
|
46
|
+
--input: oklch(0.14 0.02 265 / 12%);
|
|
47
|
+
--ring: oklch(0.72 0.22 128);
|
|
48
|
+
|
|
49
|
+
/* Glassmorphism & Ambient Glow */
|
|
50
|
+
--glass: oklch(1 0 0 / 70%);
|
|
51
|
+
--glass-border: oklch(0.14 0.02 265 / 8%);
|
|
52
|
+
--glow: oklch(0.72 0.22 128 / 25%);
|
|
53
|
+
--glow-2: oklch(0.68 0.16 200 / 18%);
|
|
54
|
+
--shadow-glass:
|
|
55
|
+
0 1px 0 0 oklch(1 0 0 / 80%) inset,
|
|
56
|
+
0 10px 40px -12px oklch(0.14 0.02 265 / 12%);
|
|
57
|
+
--surface: oklch(1 0 0 / 75%);
|
|
58
|
+
--surface-2: oklch(0.96 0.008 265);
|
|
59
|
+
--overlay: oklch(0.98 0.005 265 / 80%);
|
|
60
|
+
|
|
61
|
+
/* Navigation & Sidebar */
|
|
62
|
+
--sidebar: oklch(0.99 0.003 265 / 80%);
|
|
63
|
+
--sidebar-foreground: oklch(0.2 0.02 265);
|
|
64
|
+
--sidebar-primary: oklch(0.72 0.22 128);
|
|
65
|
+
--sidebar-primary-foreground: oklch(0.12 0.02 128);
|
|
66
|
+
--sidebar-accent: oklch(0.93 0.02 265);
|
|
67
|
+
--sidebar-accent-foreground: oklch(0.2 0.03 265);
|
|
68
|
+
--sidebar-border: oklch(0.14 0.02 265 / 8%);
|
|
69
|
+
--sidebar-ring: oklch(0.72 0.22 128);
|
|
70
|
+
|
|
71
|
+
/* ── VitalAI Kinetic Athletic Tokens ─────────────────────────────────── */
|
|
72
|
+
--volt: oklch(0.72 0.22 128);
|
|
73
|
+
--cyan: oklch(0.68 0.16 200);
|
|
74
|
+
--ember: oklch(0.65 0.21 40);
|
|
75
|
+
--slate-muscle: oklch(0.3 0.02 265);
|
|
76
|
+
|
|
77
|
+
/* Visual Data Charts */
|
|
78
|
+
--chart-1: var(--volt);
|
|
79
|
+
--chart-2: var(--cyan);
|
|
80
|
+
--chart-3: var(--ember);
|
|
81
|
+
--chart-4: oklch(0.65 0.18 290);
|
|
82
|
+
--chart-5: oklch(0.72 0.16 75);
|
|
83
|
+
|
|
84
|
+
/* ── VitalAI Typography Tokens ───────────────────────────────────────── */
|
|
85
|
+
--theme-font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
86
|
+
--theme-font-display: "Barlow Condensed", "Inter", sans-serif;
|
|
87
|
+
--theme-font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
88
|
+
--font-sans: var(--theme-font-sans);
|
|
89
|
+
--font-display: var(--theme-font-display);
|
|
90
|
+
--font-mono: var(--theme-font-mono);
|
|
91
|
+
|
|
92
|
+
/* ── Athletic Density & Scaling ──────────────────────────────────────── */
|
|
93
|
+
--theme-font-size-root: 16px;
|
|
94
|
+
--theme-spacing: 0.25rem;
|
|
95
|
+
|
|
96
|
+
/* ── Sizing, Spacing & Layout Tokens ─────────────────────────────────── */
|
|
97
|
+
--control-height-xs: 2rem;
|
|
98
|
+
--control-height-sm: 2.25rem;
|
|
99
|
+
--control-height-md: 2.625rem;
|
|
100
|
+
--control-height-lg: 3rem;
|
|
101
|
+
--control-height-xl: 3.5rem;
|
|
102
|
+
|
|
103
|
+
--icon-xs: 0.875rem;
|
|
104
|
+
--icon-sm: 1rem;
|
|
105
|
+
--icon-md: 1.25rem;
|
|
106
|
+
--icon-lg: 1.5rem;
|
|
107
|
+
--icon-xl: 2rem;
|
|
108
|
+
|
|
109
|
+
--space-1: 0.25rem;
|
|
110
|
+
--space-2: 0.5rem;
|
|
111
|
+
--space-3: 0.875rem;
|
|
112
|
+
--space-4: 1.125rem;
|
|
113
|
+
--space-5: 1.5rem;
|
|
114
|
+
--space-6: 1.875rem;
|
|
115
|
+
--space-8: 2.5rem;
|
|
116
|
+
--space-10: 3rem;
|
|
117
|
+
--card-padding: var(--space-5);
|
|
118
|
+
--dialog-padding: var(--space-6);
|
|
119
|
+
--form-field-gap: var(--space-4);
|
|
120
|
+
--section-gap: var(--space-6);
|
|
121
|
+
--table-row-padding-x: var(--space-5);
|
|
122
|
+
--table-row-padding-y: var(--space-4);
|
|
123
|
+
}
|
|
124
|
+
/* ── VitalAI Theme — Dark Mode (Signature Muscle Monster Aesthetic) ───── */
|
|
125
|
+
[data-theme="vitalai-dark"],
|
|
126
|
+
[data-brand="vitalai"][data-theme="dark"],
|
|
127
|
+
[data-brand="vitalai"][data-theme="vitalai-dark"],
|
|
128
|
+
[data-brand="vitalai"].dark,
|
|
129
|
+
[data-brand="vitalai"] .dark,
|
|
130
|
+
[data-theme="vitalai"] .dark,
|
|
131
|
+
.dark [data-brand="vitalai"],
|
|
132
|
+
.dark [data-theme="vitalai"],
|
|
133
|
+
:root[data-theme="vitalai-dark"],
|
|
134
|
+
:root[data-brand="vitalai"].dark,
|
|
135
|
+
:root[data-brand="vitalai"][data-theme="dark"],
|
|
136
|
+
:root[data-brand="vitalai"][data-theme="vitalai-dark"],
|
|
137
|
+
:root.dark[data-brand="vitalai"],
|
|
138
|
+
:root.dark[data-theme="vitalai"] {
|
|
139
|
+
--radius: 1rem;
|
|
140
|
+
/* Surfaces — Obsidian Carbon */
|
|
141
|
+
--background: oklch(0.12 0.006 265);
|
|
142
|
+
--foreground: oklch(0.97 0.005 265);
|
|
143
|
+
--card: oklch(0.16 0.01 265 / 75%);
|
|
144
|
+
--card-foreground: oklch(0.97 0.005 265);
|
|
145
|
+
--popover: oklch(0.17 0.01 265);
|
|
146
|
+
--popover-foreground: oklch(0.97 0.005 265);
|
|
147
|
+
|
|
148
|
+
/* Brand Action — High-Voltage Neon Volt Green */
|
|
149
|
+
--primary: oklch(0.93 0.23 125);
|
|
150
|
+
--primary-foreground: oklch(0.14 0.02 125);
|
|
151
|
+
--secondary: oklch(0.22 0.012 265);
|
|
152
|
+
--secondary-foreground: oklch(0.92 0.008 265);
|
|
153
|
+
|
|
154
|
+
/* Muted / Accent */
|
|
155
|
+
--muted: oklch(0.2 0.01 265);
|
|
156
|
+
--muted-foreground: oklch(0.65 0.015 265);
|
|
157
|
+
--accent: oklch(0.24 0.018 265);
|
|
158
|
+
--accent-foreground: oklch(0.93 0.23 125);
|
|
159
|
+
|
|
160
|
+
/* Status & Clinical Feedback */
|
|
161
|
+
--destructive: oklch(0.68 0.2 25);
|
|
162
|
+
--destructive-foreground: oklch(0.99 0 0);
|
|
163
|
+
--warning: oklch(0.8 0.16 75);
|
|
164
|
+
--warning-foreground: oklch(0.15 0.02 75);
|
|
165
|
+
--success: oklch(0.88 0.22 135);
|
|
166
|
+
--success-foreground: oklch(0.14 0.02 125);
|
|
167
|
+
--info: oklch(0.82 0.15 205);
|
|
168
|
+
--info-foreground: oklch(0.15 0.02 230);
|
|
169
|
+
|
|
170
|
+
/* Form & Interactive */
|
|
171
|
+
--border: oklch(1 0 0 / 8%);
|
|
172
|
+
--input: oklch(1 0 0 / 12%);
|
|
173
|
+
--ring: oklch(0.93 0.23 125);
|
|
174
|
+
|
|
175
|
+
/* Glassmorphism & Ambient Glow */
|
|
176
|
+
--glass: oklch(0.16 0.01 265 / 75%);
|
|
177
|
+
--glass-border: oklch(1 0 0 / 8%);
|
|
178
|
+
--glow: oklch(0.93 0.23 125 / 25%);
|
|
179
|
+
--glow-2: oklch(0.87 0.15 200 / 20%);
|
|
180
|
+
--shadow-glass:
|
|
181
|
+
0 1px 0 0 oklch(1 0 0 / 8%) inset, 0 20px 50px -20px oklch(0 0 0 / 80%);
|
|
182
|
+
--surface: oklch(0.16 0.01 265);
|
|
183
|
+
--surface-2: oklch(0.2 0.012 265);
|
|
184
|
+
--overlay: oklch(0.1 0.006 265 / 85%);
|
|
185
|
+
|
|
186
|
+
/* Navigation & Sidebar */
|
|
187
|
+
--sidebar: oklch(0.14 0.008 265 / 80%);
|
|
188
|
+
--sidebar-foreground: oklch(0.9 0.005 265);
|
|
189
|
+
--sidebar-primary: oklch(0.93 0.23 125);
|
|
190
|
+
--sidebar-primary-foreground: oklch(0.14 0.02 125);
|
|
191
|
+
--sidebar-accent: oklch(0.22 0.015 265);
|
|
192
|
+
--sidebar-accent-foreground: oklch(0.93 0.23 125);
|
|
193
|
+
--sidebar-border: oklch(1 0 0 / 7%);
|
|
194
|
+
--sidebar-ring: oklch(0.93 0.23 125);
|
|
195
|
+
|
|
196
|
+
/* ── VitalAI Kinetic Athletic Tokens ─────────────────────────────────── */
|
|
197
|
+
--volt: oklch(0.93 0.23 125);
|
|
198
|
+
--cyan: oklch(0.87 0.15 200);
|
|
199
|
+
--ember: oklch(0.7 0.21 45);
|
|
200
|
+
--slate-muscle: oklch(0.27 0.015 265);
|
|
201
|
+
|
|
202
|
+
/* Visual Data Charts */
|
|
203
|
+
--chart-1: var(--volt);
|
|
204
|
+
--chart-2: var(--cyan);
|
|
205
|
+
--chart-3: var(--ember);
|
|
206
|
+
--chart-4: oklch(0.75 0.18 290);
|
|
207
|
+
--chart-5: oklch(0.85 0.15 85);
|
|
208
|
+
|
|
209
|
+
/* ── VitalAI Typography Tokens ───────────────────────────────────────── */
|
|
210
|
+
--theme-font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
211
|
+
--theme-font-display: "Barlow Condensed", "Inter", sans-serif;
|
|
212
|
+
--theme-font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
213
|
+
--font-sans: var(--theme-font-sans);
|
|
214
|
+
--font-display: var(--theme-font-display);
|
|
215
|
+
--font-mono: var(--theme-font-mono);
|
|
216
|
+
|
|
217
|
+
/* ── Athletic Density & Scaling ──────────────────────────────────────── */
|
|
218
|
+
--theme-font-size-root: 16px;
|
|
219
|
+
--theme-spacing: 0.25rem;
|
|
220
|
+
|
|
221
|
+
/* ── Sizing, Spacing & Layout Tokens ─────────────────────────────────── */
|
|
222
|
+
--control-height-xs: 2rem;
|
|
223
|
+
--control-height-sm: 2.25rem;
|
|
224
|
+
--control-height-md: 2.625rem;
|
|
225
|
+
--control-height-lg: 3rem;
|
|
226
|
+
--control-height-xl: 3.5rem;
|
|
227
|
+
|
|
228
|
+
--icon-xs: 0.875rem;
|
|
229
|
+
--icon-sm: 1rem;
|
|
230
|
+
--icon-md: 1.25rem;
|
|
231
|
+
--icon-lg: 1.5rem;
|
|
232
|
+
--icon-xl: 2rem;
|
|
233
|
+
|
|
234
|
+
--space-1: 0.25rem;
|
|
235
|
+
--space-2: 0.5rem;
|
|
236
|
+
--space-3: 0.875rem;
|
|
237
|
+
--space-4: 1.125rem;
|
|
238
|
+
--space-5: 1.5rem;
|
|
239
|
+
--space-6: 1.875rem;
|
|
240
|
+
--space-8: 2.5rem;
|
|
241
|
+
--space-10: 3rem;
|
|
242
|
+
--card-padding: var(--space-5);
|
|
243
|
+
--dialog-padding: var(--space-6);
|
|
244
|
+
--form-field-gap: var(--space-4);
|
|
245
|
+
--section-gap: var(--space-6);
|
|
246
|
+
--table-row-padding-x: var(--space-5);
|
|
247
|
+
--table-row-padding-y: var(--space-4);
|
|
248
|
+
}
|