orbital-ds 0.6.2 → 0.7.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/AGENTS.md +20 -0
- package/components.manifest.json +2 -1
- package/contract.json +168 -162
- package/dist/styles.css +32 -10
- package/dist/themes/friendly.css +318 -310
- package/dist/themes/friendly.scoped.css +318 -310
- package/dist/themes/qratia.css +8 -0
- package/dist/themes/qratia.scoped.css +10 -2
- package/dist/themes/tactile.css +429 -415
- package/dist/themes/tactile.scoped.css +429 -415
- package/dist/themes/twitter.css +298 -290
- package/dist/themes/twitter.meta.json +54 -7
- package/dist/themes/twitter.scoped.css +298 -290
- package/dist/themes/zyro.css +389 -381
- package/dist/themes/zyro.scoped.css +389 -381
- package/dist/ui/sidebar.js +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/docs/CONTRACT.md +1 -1
- package/package.json +10 -10
- package/scripts/doctor.mjs +29 -0
- package/scripts/init.mjs +0 -0
package/dist/themes/friendly.css
CHANGED
|
@@ -1,310 +1,318 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* TEMA friendly — «SaaS amable con personalidad».
|
|
3
|
-
*
|
|
4
|
-
* Referencia: la interfaz de SerpWatch (v2). Se conserva lo que le da carácter y se
|
|
5
|
-
* corrigen sus defectos. Valores LEÍDOS de la referencia: lienzo #F5F6FC, tinta índigo
|
|
6
|
-
* #232450, fuente Rubik, sombras teñidas de índigo, botón en píldora en mayúsculas con
|
|
7
|
-
* brillo de color debajo, naranja #FBB232 como segundo acento, tarjetas de esquina
|
|
8
|
-
* pequeña frente a botones del todo redondos.
|
|
9
|
-
*
|
|
10
|
-
* Mejoras respecto a la referencia:
|
|
11
|
-
* - El botón primario usa un periwinkle algo más oscuro (#5F6EC9) para que el texto
|
|
12
|
-
* blanco alcance contraste AA (el original, #7987CE, queda en torno a 3:1); el
|
|
13
|
-
* original se conserva como brillo (`--brand-bright`).
|
|
14
|
-
* - Texto atenuado y de estado con contraste AA.
|
|
15
|
-
*
|
|
16
|
-
* Importar DESPUÉS de la estructura. Variables `--zf-*`: privadas de este tema.
|
|
17
|
-
* Fuentes: `friendly.fonts.css` (Rubik), lo primero del CSS de la app.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/* ── VARIABLES · PIEL CLARA ──────────────────────────────────────────────── */
|
|
21
|
-
:root {
|
|
22
|
-
--radius: 8px;
|
|
23
|
-
|
|
24
|
-
--ds-font-sans: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
25
|
-
--ds-font-display: var(--ds-font-sans);
|
|
26
|
-
--ds-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
45
|
-
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
|
|
53
|
-
--
|
|
54
|
-
--
|
|
55
|
-
--
|
|
56
|
-
|
|
57
|
-
--
|
|
58
|
-
|
|
59
|
-
--
|
|
60
|
-
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
-
--
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
75
|
-
|
|
76
|
-
--
|
|
77
|
-
--
|
|
78
|
-
|
|
79
|
-
--
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
-
--
|
|
84
|
-
--
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
--
|
|
88
|
-
--
|
|
89
|
-
--
|
|
90
|
-
--
|
|
91
|
-
--
|
|
92
|
-
--
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
--ds-
|
|
97
|
-
--ds-
|
|
98
|
-
--ds-
|
|
99
|
-
--ds-
|
|
100
|
-
--ds-
|
|
101
|
-
--ds-
|
|
102
|
-
|
|
103
|
-
/*
|
|
104
|
-
--ds-
|
|
105
|
-
--ds-
|
|
106
|
-
--ds-control
|
|
107
|
-
--ds-
|
|
108
|
-
--ds-
|
|
109
|
-
--ds-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
--ds-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
--ds-
|
|
116
|
-
--ds-
|
|
117
|
-
--ds-
|
|
118
|
-
--ds-
|
|
119
|
-
--ds-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
--ds-
|
|
124
|
-
--ds-
|
|
125
|
-
--ds-
|
|
126
|
-
--ds-sidebar-
|
|
127
|
-
--ds-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
--
|
|
132
|
-
--
|
|
133
|
-
--
|
|
134
|
-
--
|
|
135
|
-
--
|
|
136
|
-
--
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
|
|
144
|
-
--
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
--
|
|
150
|
-
--
|
|
151
|
-
|
|
152
|
-
--
|
|
153
|
-
--
|
|
154
|
-
--
|
|
155
|
-
--
|
|
156
|
-
|
|
157
|
-
--
|
|
158
|
-
--
|
|
159
|
-
|
|
160
|
-
--
|
|
161
|
-
--
|
|
162
|
-
--
|
|
163
|
-
|
|
164
|
-
--
|
|
165
|
-
--
|
|
166
|
-
--
|
|
167
|
-
|
|
168
|
-
--
|
|
169
|
-
|
|
170
|
-
--
|
|
171
|
-
|
|
172
|
-
--
|
|
173
|
-
--
|
|
174
|
-
--
|
|
175
|
-
--
|
|
176
|
-
--
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
--
|
|
180
|
-
--
|
|
181
|
-
--
|
|
182
|
-
--
|
|
183
|
-
--
|
|
184
|
-
--
|
|
185
|
-
--
|
|
186
|
-
|
|
187
|
-
--
|
|
188
|
-
--
|
|
189
|
-
|
|
190
|
-
--
|
|
191
|
-
--
|
|
192
|
-
--
|
|
193
|
-
--
|
|
194
|
-
--
|
|
195
|
-
--
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
--
|
|
199
|
-
--
|
|
200
|
-
--
|
|
201
|
-
--
|
|
202
|
-
|
|
203
|
-
--
|
|
204
|
-
|
|
205
|
-
--
|
|
206
|
-
--
|
|
207
|
-
--
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
:
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
[data-slot='button'][data-variant='
|
|
248
|
-
|
|
249
|
-
}
|
|
250
|
-
[data-slot='button'][data-variant='
|
|
251
|
-
background:
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
[data-slot='button'][data-variant='
|
|
256
|
-
background:
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
border-color: transparent;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/*
|
|
273
|
-
[data-slot='
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
font-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/*
|
|
299
|
-
[data-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* TEMA friendly — «SaaS amable con personalidad».
|
|
3
|
+
*
|
|
4
|
+
* Referencia: la interfaz de SerpWatch (v2). Se conserva lo que le da carácter y se
|
|
5
|
+
* corrigen sus defectos. Valores LEÍDOS de la referencia: lienzo #F5F6FC, tinta índigo
|
|
6
|
+
* #232450, fuente Rubik, sombras teñidas de índigo, botón en píldora en mayúsculas con
|
|
7
|
+
* brillo de color debajo, naranja #FBB232 como segundo acento, tarjetas de esquina
|
|
8
|
+
* pequeña frente a botones del todo redondos.
|
|
9
|
+
*
|
|
10
|
+
* Mejoras respecto a la referencia:
|
|
11
|
+
* - El botón primario usa un periwinkle algo más oscuro (#5F6EC9) para que el texto
|
|
12
|
+
* blanco alcance contraste AA (el original, #7987CE, queda en torno a 3:1); el
|
|
13
|
+
* original se conserva como brillo (`--brand-bright`).
|
|
14
|
+
* - Texto atenuado y de estado con contraste AA.
|
|
15
|
+
*
|
|
16
|
+
* Importar DESPUÉS de la estructura. Variables `--zf-*`: privadas de este tema.
|
|
17
|
+
* Fuentes: `friendly.fonts.css` (Rubik), lo primero del CSS de la app.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/* ── VARIABLES · PIEL CLARA ──────────────────────────────────────────────── */
|
|
21
|
+
:root {
|
|
22
|
+
--radius: 8px;
|
|
23
|
+
|
|
24
|
+
--ds-font-sans: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
25
|
+
--ds-font-display: var(--ds-font-sans);
|
|
26
|
+
--ds-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
27
|
+
|
|
28
|
+
/* Lateral: iconos, raíl, logo y separadores (cada tema fija su forma y tamaño) */
|
|
29
|
+
--ds-sidebar-icon: 1.25rem;
|
|
30
|
+
--ds-sidebar-icon-stroke: 2;
|
|
31
|
+
--ds-sidebar-rail-w: 4.5rem;
|
|
32
|
+
--ds-sidebar-rail-item: 2.75rem;
|
|
33
|
+
--ds-sidebar-logo: 2.25rem;
|
|
34
|
+
--ds-sidebar-sep-inset: 0rem;
|
|
35
|
+
--ds-heading-tracking: normal;
|
|
36
|
+
|
|
37
|
+
/* Color: lienzo azulado, tinta índigo, acento periwinkle + naranja cálido */
|
|
38
|
+
--background: #f5f6fc;
|
|
39
|
+
--foreground: #232450;
|
|
40
|
+
|
|
41
|
+
--card: #ffffff;
|
|
42
|
+
--card-foreground: #232450;
|
|
43
|
+
--popover: #ffffff;
|
|
44
|
+
--popover-foreground: #232450;
|
|
45
|
+
|
|
46
|
+
--primary: #5f6ec9;
|
|
47
|
+
--primary-foreground: #ffffff;
|
|
48
|
+
--secondary: #e8eaf8;
|
|
49
|
+
--secondary-foreground: #232450;
|
|
50
|
+
--muted: #eef0fa;
|
|
51
|
+
--muted-foreground: #6b6d96;
|
|
52
|
+
--accent: rgba(55, 132, 247, 0.14);
|
|
53
|
+
--accent-foreground: #2a64c4;
|
|
54
|
+
--destructive: #d04246;
|
|
55
|
+
--destructive-foreground: #ffffff;
|
|
56
|
+
|
|
57
|
+
--border: rgba(35, 36, 80, 0.08);
|
|
58
|
+
--input: rgba(35, 36, 80, 0.18);
|
|
59
|
+
--ring: #5f6ec9;
|
|
60
|
+
|
|
61
|
+
--chart-1: #5f6ec9;
|
|
62
|
+
--chart-2: #fbb232;
|
|
63
|
+
--chart-3: #1db87a;
|
|
64
|
+
--chart-4: #e5484d;
|
|
65
|
+
--chart-5: #3784f7;
|
|
66
|
+
|
|
67
|
+
--sidebar: #ffffff;
|
|
68
|
+
--sidebar-foreground: #3a3b6b;
|
|
69
|
+
--sidebar-primary: #5f6ec9;
|
|
70
|
+
--sidebar-primary-foreground: #ffffff;
|
|
71
|
+
--sidebar-accent: rgba(55, 132, 247, 0.16);
|
|
72
|
+
--sidebar-accent-foreground: #2a64c4;
|
|
73
|
+
--sidebar-border: rgba(35, 36, 80, 0.07);
|
|
74
|
+
--sidebar-ring: #5f6ec9;
|
|
75
|
+
|
|
76
|
+
--danger: #bb3137;
|
|
77
|
+
--danger-soft: rgba(229, 72, 77, 0.12);
|
|
78
|
+
--warning: #955800;
|
|
79
|
+
--warning-soft: rgba(251, 178, 50, 0.24);
|
|
80
|
+
--success: #097650;
|
|
81
|
+
--success-soft: rgba(29, 184, 122, 0.14);
|
|
82
|
+
--info: #2962c0;
|
|
83
|
+
--info-soft: rgba(55, 132, 247, 0.14);
|
|
84
|
+
--neutral: #616389;
|
|
85
|
+
--neutral-soft: rgba(35, 36, 80, 0.07);
|
|
86
|
+
|
|
87
|
+
--link: #2a64c4;
|
|
88
|
+
--link-hover: #1f4f9e;
|
|
89
|
+
--inset: #eef0fa;
|
|
90
|
+
--inset-foreground: #232450;
|
|
91
|
+
--brand: #5f6ec9;
|
|
92
|
+
--brand-bright: #7987ce;
|
|
93
|
+
|
|
94
|
+
/* Formas: superficies de esquina pequeña; las acciones, del todo redondas */
|
|
95
|
+
--ds-radius-sm: 4px;
|
|
96
|
+
--ds-radius-md: 6px;
|
|
97
|
+
--ds-radius-lg: 8px;
|
|
98
|
+
--ds-radius-xl: 10px;
|
|
99
|
+
--ds-radius-2xl: 14px;
|
|
100
|
+
--ds-radius-control: 10px;
|
|
101
|
+
--ds-radius-overlay: 14px;
|
|
102
|
+
|
|
103
|
+
/* Sombras suaves TEÑIDAS de índigo (nunca negras) */
|
|
104
|
+
--ds-shadow-card: 0 8px 20px rgba(0, 4, 131, 0.04);
|
|
105
|
+
--ds-shadow-card-hover: 0 10px 26px rgba(0, 4, 131, 0.09);
|
|
106
|
+
--ds-shadow-control: 0 0 #0000;
|
|
107
|
+
--ds-shadow-raised: 0 8px 20px rgba(0, 4, 131, 0.06);
|
|
108
|
+
--ds-shadow-overlay: 0 16px 40px rgba(35, 36, 80, 0.16);
|
|
109
|
+
--ds-shadow-popover: 0 16px 40px rgba(35, 36, 80, 0.16);
|
|
110
|
+
|
|
111
|
+
/* Medidas: controles de 38px, botones generosos */
|
|
112
|
+
--ds-control-h-sm: 2rem;
|
|
113
|
+
--ds-control-h-md: 2.375rem;
|
|
114
|
+
--ds-control-h-lg: 2.75rem;
|
|
115
|
+
--ds-button-px-sm: 1rem;
|
|
116
|
+
--ds-button-px-md: 1.5rem;
|
|
117
|
+
--ds-button-px-lg: 2rem;
|
|
118
|
+
--ds-field-px: 0.875rem;
|
|
119
|
+
--ds-card-spacing: 1.25rem;
|
|
120
|
+
--ds-card-spacing-sm: 1rem;
|
|
121
|
+
|
|
122
|
+
/* Sin cristal: material plano y luminoso */
|
|
123
|
+
--ds-card-backdrop: none;
|
|
124
|
+
--ds-overlay-backdrop: none;
|
|
125
|
+
--ds-field-backdrop: none;
|
|
126
|
+
--ds-sidebar-backdrop: none;
|
|
127
|
+
--ds-page-backdrop: none;
|
|
128
|
+
|
|
129
|
+
/* Sidebar a ras de borde, blanco sobre el lienzo, filas con tinte azul */
|
|
130
|
+
--ds-sidebar-pad: 0px;
|
|
131
|
+
--ds-sidebar-radius: 0px;
|
|
132
|
+
--ds-sidebar-shadow: 0 0 #0000;
|
|
133
|
+
--ds-sidebar-ring: 0px;
|
|
134
|
+
--ds-sidebar-edge: 1px solid var(--sidebar-border);
|
|
135
|
+
--ds-sidebar-item-radius: 6px;
|
|
136
|
+
--ds-sidebar-item-h: 2.75rem;
|
|
137
|
+
|
|
138
|
+
/* Privadas de friendly */
|
|
139
|
+
--zf-orange: #fbb232;
|
|
140
|
+
--zf-orange-ink: #232450;
|
|
141
|
+
--zf-glow: rgba(95, 110, 201, 0.42);
|
|
142
|
+
--zf-glow-hover: rgba(95, 110, 201, 0.55);
|
|
143
|
+
--zf-fill: rgba(35, 36, 80, 0.05);
|
|
144
|
+
--zf-fill-hover: rgba(35, 36, 80, 0.08);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* ── VARIABLES · PIEL OSCURA («noche índigo») ────────────────────────────── */
|
|
148
|
+
.dark {
|
|
149
|
+
--background: #16173b;
|
|
150
|
+
--foreground: #ecedfa;
|
|
151
|
+
|
|
152
|
+
--card: #1f2150;
|
|
153
|
+
--card-foreground: #ecedfa;
|
|
154
|
+
--popover: #25275c;
|
|
155
|
+
--popover-foreground: #ecedfa;
|
|
156
|
+
|
|
157
|
+
--primary: #8a98f0;
|
|
158
|
+
--primary-foreground: #14153a;
|
|
159
|
+
--secondary: #2a2c63;
|
|
160
|
+
--secondary-foreground: #ecedfa;
|
|
161
|
+
--muted: #232557;
|
|
162
|
+
--muted-foreground: #a3a6d4;
|
|
163
|
+
--accent: rgba(86, 156, 255, 0.18);
|
|
164
|
+
--accent-foreground: #8dbbff;
|
|
165
|
+
--destructive: #ef5d62;
|
|
166
|
+
--destructive-foreground: #14153a;
|
|
167
|
+
|
|
168
|
+
--border: rgba(255, 255, 255, 0.09);
|
|
169
|
+
--input: rgba(255, 255, 255, 0.2);
|
|
170
|
+
--ring: #8a98f0;
|
|
171
|
+
|
|
172
|
+
--chart-1: #8a98f0;
|
|
173
|
+
--chart-2: #fbb232;
|
|
174
|
+
--chart-3: #3fd397;
|
|
175
|
+
--chart-4: #ef5d62;
|
|
176
|
+
--chart-5: #569cff;
|
|
177
|
+
|
|
178
|
+
--sidebar: #1b1d47;
|
|
179
|
+
--sidebar-foreground: #c4c6ec;
|
|
180
|
+
--sidebar-primary: #8a98f0;
|
|
181
|
+
--sidebar-primary-foreground: #14153a;
|
|
182
|
+
--sidebar-accent: rgba(86, 156, 255, 0.2);
|
|
183
|
+
--sidebar-accent-foreground: #8dbbff;
|
|
184
|
+
--sidebar-border: rgba(255, 255, 255, 0.07);
|
|
185
|
+
--sidebar-ring: #8a98f0;
|
|
186
|
+
|
|
187
|
+
--danger: #ff7a7f;
|
|
188
|
+
--danger-soft: rgba(239, 93, 98, 0.2);
|
|
189
|
+
--warning: #fbb232;
|
|
190
|
+
--warning-soft: rgba(251, 178, 50, 0.18);
|
|
191
|
+
--success: #3fd397;
|
|
192
|
+
--success-soft: rgba(63, 211, 151, 0.16);
|
|
193
|
+
--info: #8dbbff;
|
|
194
|
+
--info-soft: rgba(86, 156, 255, 0.2);
|
|
195
|
+
--neutral: #a3a6d4;
|
|
196
|
+
--neutral-soft: rgba(255, 255, 255, 0.08);
|
|
197
|
+
|
|
198
|
+
--link: #8dbbff;
|
|
199
|
+
--link-hover: #b4d1ff;
|
|
200
|
+
--inset: #232557;
|
|
201
|
+
--inset-foreground: #ecedfa;
|
|
202
|
+
--brand: #8a98f0;
|
|
203
|
+
--brand-bright: #aab4f6;
|
|
204
|
+
|
|
205
|
+
--ds-shadow-card: 0 8px 20px rgba(0, 0, 20, 0.28);
|
|
206
|
+
--ds-shadow-card-hover: 0 10px 26px rgba(0, 0, 20, 0.4);
|
|
207
|
+
--ds-shadow-raised: 0 8px 20px rgba(0, 0, 20, 0.3);
|
|
208
|
+
--ds-shadow-overlay: 0 16px 40px rgba(0, 0, 20, 0.5);
|
|
209
|
+
--ds-shadow-popover: 0 16px 40px rgba(0, 0, 20, 0.5);
|
|
210
|
+
|
|
211
|
+
--zf-orange-ink: #232450;
|
|
212
|
+
--zf-glow: rgba(138, 152, 240, 0.4);
|
|
213
|
+
--zf-glow-hover: rgba(138, 152, 240, 0.55);
|
|
214
|
+
--zf-fill: rgba(255, 255, 255, 0.07);
|
|
215
|
+
--zf-fill-hover: rgba(255, 255, 255, 0.11);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* ── PERSONALIDAD ────────────────────────────────────────────────────────────
|
|
219
|
+
* Sin capa: gana a las utilidades de los componentes. Solo variables.
|
|
220
|
+
*/
|
|
221
|
+
:root {
|
|
222
|
+
/* Botones: píldora en mayúsculas con espaciado, y brillo de color debajo */
|
|
223
|
+
[data-slot='button'] {
|
|
224
|
+
border-radius: 9999px;
|
|
225
|
+
text-transform: uppercase;
|
|
226
|
+
letter-spacing: 0.05em;
|
|
227
|
+
font-weight: 500;
|
|
228
|
+
transition:
|
|
229
|
+
transform var(--ds-motion-base) ease,
|
|
230
|
+
box-shadow var(--ds-motion-base) ease,
|
|
231
|
+
background-color var(--ds-motion-base) ease;
|
|
232
|
+
}
|
|
233
|
+
[data-slot='button'][data-variant='link'] {
|
|
234
|
+
text-transform: none;
|
|
235
|
+
letter-spacing: normal;
|
|
236
|
+
}
|
|
237
|
+
[data-slot='button'][data-size^='icon'] {
|
|
238
|
+
border-radius: var(--ds-radius-xl);
|
|
239
|
+
}
|
|
240
|
+
[data-slot='button'][data-variant='default'] {
|
|
241
|
+
box-shadow: 0 8px 8px -3px var(--zf-glow);
|
|
242
|
+
}
|
|
243
|
+
[data-slot='button'][data-variant='default']:hover:not(:disabled) {
|
|
244
|
+
transform: translateY(-1px);
|
|
245
|
+
box-shadow: 0 10px 12px -3px var(--zf-glow-hover);
|
|
246
|
+
}
|
|
247
|
+
[data-slot='button'][data-variant='default']:active:not(:disabled) {
|
|
248
|
+
transform: translateY(0);
|
|
249
|
+
}
|
|
250
|
+
[data-slot='button'][data-variant='secondary'] {
|
|
251
|
+
background: var(--zf-fill);
|
|
252
|
+
color: var(--foreground);
|
|
253
|
+
}
|
|
254
|
+
[data-slot='button'][data-variant='secondary']:hover:not(:disabled),
|
|
255
|
+
[data-slot='button'][data-variant='ghost']:hover:not(:disabled) {
|
|
256
|
+
background: var(--zf-fill-hover);
|
|
257
|
+
}
|
|
258
|
+
[data-slot='button'][data-variant='outline'] {
|
|
259
|
+
background: transparent;
|
|
260
|
+
border: 1.5px solid color-mix(in oklch, var(--primary) 55%, transparent);
|
|
261
|
+
color: var(--primary);
|
|
262
|
+
}
|
|
263
|
+
[data-slot='button'][data-variant='outline']:hover:not(:disabled) {
|
|
264
|
+
background: color-mix(in oklch, var(--primary) 10%, transparent);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* Tarjetas: blancas, sin borde, solo la sombra teñida */
|
|
268
|
+
[data-slot='card'] {
|
|
269
|
+
border-color: transparent;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* Campos rellenos (sin borde), como el buscador de la referencia */
|
|
273
|
+
[data-slot='input'],
|
|
274
|
+
[data-slot='textarea'],
|
|
275
|
+
[data-slot='select-trigger'] {
|
|
276
|
+
background: var(--zf-fill);
|
|
277
|
+
border-color: transparent;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Etiquetas en píldora; la secundaria es el naranja de la marca */
|
|
281
|
+
[data-slot='badge'] {
|
|
282
|
+
border-radius: 9999px;
|
|
283
|
+
}
|
|
284
|
+
[data-slot='badge'][data-variant='secondary'] {
|
|
285
|
+
background: var(--zf-orange);
|
|
286
|
+
color: var(--zf-orange-ink);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* Tablas: cabeceras en mayúsculas pequeñas */
|
|
290
|
+
[data-slot='table-head'] {
|
|
291
|
+
text-transform: uppercase;
|
|
292
|
+
font-size: 0.75rem;
|
|
293
|
+
letter-spacing: 0.05em;
|
|
294
|
+
font-weight: 600;
|
|
295
|
+
color: var(--foreground);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* Sidebar: la fila activa con tinte azul y peso medio */
|
|
299
|
+
[data-sidebar='menu-button'][data-active='true'] {
|
|
300
|
+
font-weight: 500;
|
|
301
|
+
}
|
|
302
|
+
[data-sidebar='menu-button']:hover:not([data-active='true']) {
|
|
303
|
+
background: var(--zf-fill);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* Pestañas: píldora tintada */
|
|
307
|
+
[data-slot='tabs-list'] {
|
|
308
|
+
background: var(--zf-fill);
|
|
309
|
+
border-radius: 9999px;
|
|
310
|
+
}
|
|
311
|
+
[data-slot='tabs-trigger'] {
|
|
312
|
+
border-radius: 9999px;
|
|
313
|
+
}
|
|
314
|
+
[data-slot='tabs-trigger'][data-active] {
|
|
315
|
+
background: var(--card);
|
|
316
|
+
box-shadow: var(--ds-shadow-raised);
|
|
317
|
+
}
|
|
318
|
+
}
|