orbital-ds 0.6.0 → 0.6.2
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/components.manifest.json +1 -1
- package/dist/styles.css +2 -0
- package/dist/themes/friendly.css +310 -310
- package/dist/themes/friendly.scoped.css +310 -310
- package/dist/themes/tactile.css +415 -399
- package/dist/themes/tactile.scoped.css +415 -399
- package/dist/themes/twitter.css +290 -290
- package/dist/themes/twitter.scoped.css +290 -290
- package/dist/themes/zyro.css +381 -381
- package/dist/themes/zyro.scoped.css +381 -381
- package/dist/ui/sidebar.js +2 -2
- package/docs/CONTRACT.md +2 -1
- package/package.json +142 -142
- package/scripts/doctor.mjs +64 -0
package/dist/themes/zyro.css
CHANGED
|
@@ -1,381 +1,381 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* TEMA zyro — «liquid glass» (traducido de faro-orbital-zyro-ui).
|
|
3
|
-
*
|
|
4
|
-
* Personalidad: lavanda claro / azul muy oscuro, acento azul profundo (claro) y
|
|
5
|
-
* cian (oscuro). El cristal vive en la capa de NAVEGACIÓN y CONTROLES (sidebar,
|
|
6
|
-
* campos, menús); el CONTENIDO (tarjetas) se mantiene casi opaco, como indican
|
|
7
|
-
* las guías de cristal. Sidebar a ras de borde, sin silueta flotante. Acción
|
|
8
|
-
* primaria = píldora con degradado de marca y brillo.
|
|
9
|
-
*
|
|
10
|
-
* Estructura del fichero:
|
|
11
|
-
* 1. Variables claras (:root) y oscuras (.dark) — el CONTRATO del tema.
|
|
12
|
-
* 2. Capa de PERSONALIDAD — reglas sobre los ganchos del DOM (`data-slot`,
|
|
13
|
-
* `data-variant`…) escritas solo con variables. Va SIN capa para ganar a las
|
|
14
|
-
* utilidades de los componentes, así que define también los estados
|
|
15
|
-
* (hover, active). Es lo que da forma propia a los elementos.
|
|
16
|
-
*
|
|
17
|
-
* Variables `--zy-*`: privadas de este tema (no son contrato).
|
|
18
|
-
* Importar DESPUÉS de la estructura. Fuentes: `zyro.fonts.css`, lo primero del CSS.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/* ── 1. VARIABLES · PIEL CLARA ───────────────────────────────────────────── */
|
|
22
|
-
:root {
|
|
23
|
-
--radius: 18px;
|
|
24
|
-
|
|
25
|
-
/* Tipografía: Montserrat (titulares) + Roboto (cuerpo) */
|
|
26
|
-
--ds-font-sans: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
27
|
-
--ds-font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
|
|
28
|
-
--ds-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
29
|
-
--ds-heading-tracking: -0.01em;
|
|
30
|
-
|
|
31
|
-
/* Color */
|
|
32
|
-
--background: #eaeefb;
|
|
33
|
-
--foreground: rgba(14, 22, 48, 0.92);
|
|
34
|
-
|
|
35
|
-
--card: rgba(255, 255, 255, 0.98);
|
|
36
|
-
--card-foreground: rgba(14, 22, 48, 0.92);
|
|
37
|
-
--popover: #ffffff;
|
|
38
|
-
--popover-foreground: rgba(14, 22, 48, 0.92);
|
|
39
|
-
|
|
40
|
-
--primary: #0349fe;
|
|
41
|
-
--primary-foreground: #ffffff;
|
|
42
|
-
--secondary: rgba(243, 246, 253, 0.9);
|
|
43
|
-
--secondary-foreground: rgba(14, 22, 48, 0.92);
|
|
44
|
-
--muted: rgba(243, 246, 253, 0.9);
|
|
45
|
-
--muted-foreground: rgba(14, 22, 48, 0.66);
|
|
46
|
-
--accent: rgba(3, 73, 254, 0.09);
|
|
47
|
-
--accent-foreground: #0349fe;
|
|
48
|
-
--destructive: #eb1919;
|
|
49
|
-
--destructive-foreground: #ffffff;
|
|
50
|
-
|
|
51
|
-
--border: rgba(168, 190, 235, 0.3);
|
|
52
|
-
--input: rgba(168, 190, 235, 0.55);
|
|
53
|
-
--ring: #0349fe;
|
|
54
|
-
|
|
55
|
-
--chart-1: #0349fe;
|
|
56
|
-
--chart-2: #14bd44;
|
|
57
|
-
--chart-3: #ffb300;
|
|
58
|
-
--chart-4: #eb1919;
|
|
59
|
-
--chart-5: #9747ff;
|
|
60
|
-
|
|
61
|
-
--sidebar: rgba(255, 255, 255, 0.58);
|
|
62
|
-
--sidebar-foreground: rgba(14, 22, 48, 0.78);
|
|
63
|
-
--sidebar-primary: #0349fe;
|
|
64
|
-
--sidebar-primary-foreground: #ffffff;
|
|
65
|
-
--sidebar-accent: rgba(3, 73, 254, 0.09);
|
|
66
|
-
--sidebar-accent-foreground: #0349fe;
|
|
67
|
-
--sidebar-border: rgba(168, 190, 235, 0.35);
|
|
68
|
-
--sidebar-ring: #0349fe;
|
|
69
|
-
|
|
70
|
-
--danger: #c21414;
|
|
71
|
-
--danger-soft: rgba(235, 25, 25, 0.1);
|
|
72
|
-
--warning: #
|
|
73
|
-
--warning-soft: rgba(255, 179, 0, 0.16);
|
|
74
|
-
--success: #
|
|
75
|
-
--success-soft: rgba(20, 189, 68, 0.12);
|
|
76
|
-
--info: #
|
|
77
|
-
--info-soft: rgba(42, 147, 213, 0.12);
|
|
78
|
-
--neutral: rgba(14, 22, 48, 0.
|
|
79
|
-
--neutral-soft: rgba(14, 22, 48, 0.06);
|
|
80
|
-
|
|
81
|
-
--link: #0349fe;
|
|
82
|
-
--link-hover: #0236c0;
|
|
83
|
-
--inset: rgba(243, 246, 253, 0.9);
|
|
84
|
-
--inset-foreground: rgba(14, 22, 48, 0.92);
|
|
85
|
-
--brand: #0349fe;
|
|
86
|
-
--brand-bright: #36b3ed;
|
|
87
|
-
|
|
88
|
-
/* Formas: la esquina crece con el tamaño del contenedor (7·10·14·18·22) */
|
|
89
|
-
--ds-radius-sm: 7px;
|
|
90
|
-
--ds-radius-md: 10px;
|
|
91
|
-
--ds-radius-lg: 14px;
|
|
92
|
-
--ds-radius-xl: 18px;
|
|
93
|
-
--ds-radius-2xl: 22px;
|
|
94
|
-
--ds-radius-control: 10px;
|
|
95
|
-
--ds-radius-overlay: 22px;
|
|
96
|
-
|
|
97
|
-
/* Sombras de cristal: capa tenue + brillo interior en el borde superior */
|
|
98
|
-
--ds-shadow-card: 0 2px 14px rgba(28, 48, 100, 0.07);
|
|
99
|
-
--ds-shadow-card-hover: 0 6px 26px rgba(28, 48, 100, 0.1);
|
|
100
|
-
--ds-shadow-raised: 0 4px 30px rgba(28, 48, 100, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
|
|
101
|
-
--ds-shadow-overlay: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
102
|
-
--ds-shadow-popover: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
103
|
-
|
|
104
|
-
/* Medidas: controles algo más altos y holgados */
|
|
105
|
-
--ds-control-h-sm: 2.25rem;
|
|
106
|
-
--ds-control-h-md: 2.5rem;
|
|
107
|
-
--ds-control-h-lg: 2.75rem;
|
|
108
|
-
--ds-button-px-sm: 1rem;
|
|
109
|
-
--ds-button-px-md: 1.25rem;
|
|
110
|
-
--ds-button-px-lg: 1.5rem;
|
|
111
|
-
--ds-field-px: 1rem;
|
|
112
|
-
|
|
113
|
-
/* Materiales: cristal en navegación y controles; tarjetas sin desenfoque */
|
|
114
|
-
--ds-sidebar-backdrop: blur(28px) saturate(180%);
|
|
115
|
-
--ds-overlay-backdrop: blur(28px) saturate(180%);
|
|
116
|
-
--ds-field-backdrop: blur(12px) saturate(160%);
|
|
117
|
-
--ds-card-backdrop: none;
|
|
118
|
-
--ds-page-backdrop:
|
|
119
|
-
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.3), transparent 70%),
|
|
120
|
-
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.16), transparent 70%),
|
|
121
|
-
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.14), transparent 70%);
|
|
122
|
-
|
|
123
|
-
/* Sidebar a ras de borde: sin separación, sin silueta; filo de 1px */
|
|
124
|
-
--ds-sidebar-pad: 0px;
|
|
125
|
-
--ds-sidebar-radius: 0px;
|
|
126
|
-
--ds-sidebar-shadow: 0 0 #0000;
|
|
127
|
-
--ds-sidebar-ring: 0px;
|
|
128
|
-
--ds-sidebar-edge: 1px solid var(--zy-glass-bs);
|
|
129
|
-
--ds-sidebar-item-radius: var(--ds-radius-lg);
|
|
130
|
-
|
|
131
|
-
/* Privadas de zyro */
|
|
132
|
-
--zy-accent-g: linear-gradient(135deg, #0349fe, #36b3ed);
|
|
133
|
-
--zy-accent-glow: rgba(3, 73, 254, 0.24);
|
|
134
|
-
--zy-glass-bt: rgba(255, 255, 255, 0.95);
|
|
135
|
-
--zy-glass-bs: rgba(168, 190, 235, 0.4);
|
|
136
|
-
--zy-card-bt: rgba(255, 255, 255, 1);
|
|
137
|
-
--zy-card-bs: rgba(168, 190, 235, 0.46);
|
|
138
|
-
--zy-field-bg: rgba(255, 255, 255, 0.72);
|
|
139
|
-
--zy-field-b: rgba(168, 190, 235, 0.55);
|
|
140
|
-
--zy-field-bt: rgba(255, 255, 255, 1);
|
|
141
|
-
--zy-pill: rgba(255, 255, 255, 0.55);
|
|
142
|
-
--zy-pill-on: rgba(255, 255, 255, 0.98);
|
|
143
|
-
--zy-conv-h: rgba(20, 40, 90, 0.04);
|
|
144
|
-
--zy-conv-a: rgba(3, 73, 254, 0.07);
|
|
145
|
-
--zy-conv-ab: rgba(3, 73, 254, 0.24);
|
|
146
|
-
--zy-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/* ── 1b. VARIABLES · PIEL OSCURA ─────────────────────────────────────────── */
|
|
150
|
-
.dark {
|
|
151
|
-
--background: #0e3148;
|
|
152
|
-
--foreground: rgba(255, 255, 255, 0.94);
|
|
153
|
-
|
|
154
|
-
--card: rgba(16, 24, 54, 0.94);
|
|
155
|
-
--card-foreground: rgba(255, 255, 255, 0.94);
|
|
156
|
-
--popover: rgba(22, 32, 68, 0.97);
|
|
157
|
-
--popover-foreground: rgba(255, 255, 255, 0.94);
|
|
158
|
-
|
|
159
|
-
--primary: #36b3ed;
|
|
160
|
-
--primary-foreground: #04121c;
|
|
161
|
-
--secondary: rgba(255, 255, 255, 0.05);
|
|
162
|
-
--secondary-foreground: rgba(255, 255, 255, 0.94);
|
|
163
|
-
--muted: rgba(255, 255, 255, 0.05);
|
|
164
|
-
--muted-foreground: rgba(255, 255, 255, 0.68);
|
|
165
|
-
--accent: rgba(54, 179, 237, 0.16);
|
|
166
|
-
--accent-foreground: #36b3ed;
|
|
167
|
-
--destructive: #eb1919;
|
|
168
|
-
--destructive-foreground: #ffffff;
|
|
169
|
-
|
|
170
|
-
--border: rgba(255, 255, 255, 0.07);
|
|
171
|
-
--input: rgba(255, 255, 255, 0.12);
|
|
172
|
-
--ring: #36b3ed;
|
|
173
|
-
|
|
174
|
-
--chart-1: #36b3ed;
|
|
175
|
-
--chart-2: #14bd44;
|
|
176
|
-
--chart-3: #ffb300;
|
|
177
|
-
--chart-4: #eb1919;
|
|
178
|
-
--chart-5: #9747ff;
|
|
179
|
-
|
|
180
|
-
--sidebar: rgba(255, 255, 255, 0.04);
|
|
181
|
-
--sidebar-foreground: rgba(255, 255, 255, 0.72);
|
|
182
|
-
--sidebar-primary: #36b3ed;
|
|
183
|
-
--sidebar-primary-foreground: #04121c;
|
|
184
|
-
--sidebar-accent: rgba(54, 179, 237, 0.16);
|
|
185
|
-
--sidebar-accent-foreground: #36b3ed;
|
|
186
|
-
--sidebar-border: rgba(255, 255, 255, 0.07);
|
|
187
|
-
--sidebar-ring: #36b3ed;
|
|
188
|
-
|
|
189
|
-
--danger: #ff6b6b;
|
|
190
|
-
--danger-soft: rgba(235, 25, 25, 0.2);
|
|
191
|
-
--warning: #ffb300;
|
|
192
|
-
--warning-soft: rgba(255, 179, 0, 0.18);
|
|
193
|
-
--success: #
|
|
194
|
-
--success-soft: rgba(20, 189, 68, 0.18);
|
|
195
|
-
--info: #
|
|
196
|
-
--info-soft: rgba(42, 147, 213, 0.2);
|
|
197
|
-
--neutral: rgba(255, 255, 255, 0.6);
|
|
198
|
-
--neutral-soft: rgba(255, 255, 255, 0.08);
|
|
199
|
-
|
|
200
|
-
--link: #36b3ed;
|
|
201
|
-
--link-hover: #7fd0f5;
|
|
202
|
-
--inset: rgba(255, 255, 255, 0.05);
|
|
203
|
-
--inset-foreground: rgba(255, 255, 255, 0.94);
|
|
204
|
-
--brand: #36b3ed;
|
|
205
|
-
--brand-bright: #7fd0f5;
|
|
206
|
-
|
|
207
|
-
--ds-shadow-card: 0 2px 14px rgba(0, 0, 0, 0.3);
|
|
208
|
-
--ds-shadow-card-hover: 0 6px 26px rgba(0, 0, 0, 0.38);
|
|
209
|
-
--ds-shadow-raised: 0 8px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
210
|
-
--ds-shadow-overlay: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
211
|
-
--ds-shadow-popover: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
212
|
-
|
|
213
|
-
--ds-sidebar-backdrop: blur(24px) saturate(180%);
|
|
214
|
-
--ds-overlay-backdrop: blur(24px) saturate(180%);
|
|
215
|
-
--ds-page-backdrop:
|
|
216
|
-
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.26), transparent 70%),
|
|
217
|
-
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.24), transparent 70%),
|
|
218
|
-
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.2), transparent 70%);
|
|
219
|
-
|
|
220
|
-
--zy-accent-g: linear-gradient(135deg, #36b3ed, #0349fe);
|
|
221
|
-
--zy-accent-glow: rgba(54, 179, 237, 0.42);
|
|
222
|
-
--zy-glass-bt: rgba(255, 255, 255, 0.3);
|
|
223
|
-
--zy-glass-bs: rgba(255, 255, 255, 0.07);
|
|
224
|
-
--zy-card-bt: rgba(255, 255, 255, 0.11);
|
|
225
|
-
--zy-card-bs: rgba(255, 255, 255, 0.06);
|
|
226
|
-
--zy-field-bg: rgba(255, 255, 255, 0.06);
|
|
227
|
-
--zy-field-b: rgba(255, 255, 255, 0.12);
|
|
228
|
-
--zy-field-bt: rgba(255, 255, 255, 0.26);
|
|
229
|
-
--zy-pill: rgba(255, 255, 255, 0.05);
|
|
230
|
-
--zy-pill-on: rgba(255, 255, 255, 0.12);
|
|
231
|
-
--zy-conv-h: rgba(255, 255, 255, 0.05);
|
|
232
|
-
--zy-conv-a: rgba(54, 179, 237, 0.14);
|
|
233
|
-
--zy-conv-ab: rgba(54, 179, 237, 0.4);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* ── 2. PERSONALIDAD ─────────────────────────────────────────────────────────
|
|
237
|
-
* Sin capa: gana a las utilidades de los componentes. Solo variables.
|
|
238
|
-
*/
|
|
239
|
-
:root {
|
|
240
|
-
/* Botones: píldora. Acción primaria con degradado de marca y brillo. */
|
|
241
|
-
[data-slot='button'] {
|
|
242
|
-
border-radius: 9999px;
|
|
243
|
-
transition: all var(--ds-motion-base) var(--zy-ease);
|
|
244
|
-
}
|
|
245
|
-
[data-slot='button'][data-size^='icon'] {
|
|
246
|
-
border-radius: var(--ds-radius-xl);
|
|
247
|
-
}
|
|
248
|
-
[data-slot='button']:active:not(:disabled) {
|
|
249
|
-
transform: scale(0.98);
|
|
250
|
-
}
|
|
251
|
-
[data-slot='button'][data-variant='default'] {
|
|
252
|
-
background-color: transparent;
|
|
253
|
-
background-image: var(--zy-accent-g);
|
|
254
|
-
color: #ffffff;
|
|
255
|
-
border-color: transparent;
|
|
256
|
-
box-shadow: 0 4px 16px var(--zy-accent-glow);
|
|
257
|
-
}
|
|
258
|
-
[data-slot='button'][data-variant='default']:hover:not(:disabled) {
|
|
259
|
-
filter: brightness(1.1);
|
|
260
|
-
box-shadow: 0 6px 22px var(--zy-accent-glow);
|
|
261
|
-
}
|
|
262
|
-
[data-slot='button'][data-variant='destructive'] {
|
|
263
|
-
box-shadow: 0 4px 16px rgba(235, 25, 25, 0.3);
|
|
264
|
-
}
|
|
265
|
-
[data-slot='button'][data-variant='outline'],
|
|
266
|
-
[data-slot='button'][data-variant='secondary'] {
|
|
267
|
-
border: 1px solid var(--zy-field-b);
|
|
268
|
-
background: color-mix(in oklch, var(--foreground) 5%, var(--background));
|
|
269
|
-
color: var(--muted-foreground);
|
|
270
|
-
}
|
|
271
|
-
[data-slot='button'][data-variant='outline']:hover:not(:disabled),
|
|
272
|
-
[data-slot='button'][data-variant='secondary']:hover:not(:disabled) {
|
|
273
|
-
background: color-mix(in oklch, var(--foreground) 11%, var(--background));
|
|
274
|
-
color: var(--foreground);
|
|
275
|
-
}
|
|
276
|
-
[data-slot='button'][data-variant='ghost']:hover:not(:disabled) {
|
|
277
|
-
background: var(--zy-conv-h);
|
|
278
|
-
color: var(--foreground);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/* Tarjetas: contenido casi opaco con filo superior luminoso */
|
|
282
|
-
[data-slot='card'] {
|
|
283
|
-
border: 1px solid var(--zy-card-bs);
|
|
284
|
-
border-top-color: var(--zy-card-bt);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
/* Campos: cristal claro con filo superior */
|
|
288
|
-
[data-slot='input'],
|
|
289
|
-
[data-slot='textarea'],
|
|
290
|
-
[data-slot='select-trigger'] {
|
|
291
|
-
background-color: var(--zy-field-bg);
|
|
292
|
-
border-color: var(--zy-field-b);
|
|
293
|
-
border-top-color: var(--zy-field-bt);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/* Capas flotantes: filo de cristal */
|
|
297
|
-
[data-slot='dialog-content'],
|
|
298
|
-
[data-slot='popover-content'],
|
|
299
|
-
[data-slot='dropdown-menu-content'],
|
|
300
|
-
[data-slot='select-content'] {
|
|
301
|
-
border: 1px solid var(--zy-glass-bs);
|
|
302
|
-
border-top-color: var(--zy-glass-bt);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/* Etiquetas en píldora */
|
|
306
|
-
[data-slot='badge'] {
|
|
307
|
-
border-radius: 9999px;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
/* Pestañas: píldora de cristal con la activa elevada */
|
|
311
|
-
[data-slot='tabs-list'] {
|
|
312
|
-
background: var(--zy-pill);
|
|
313
|
-
border: 1px solid var(--zy-card-bs);
|
|
314
|
-
border-radius: 9999px;
|
|
315
|
-
}
|
|
316
|
-
[data-slot='tabs-trigger'] {
|
|
317
|
-
border-radius: 9999px;
|
|
318
|
-
}
|
|
319
|
-
[data-slot='tabs-trigger'][data-active] {
|
|
320
|
-
background: var(--zy-pill-on);
|
|
321
|
-
box-shadow: 0 1px 6px rgba(28, 48, 100, 0.12);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/* Interruptor y progreso: degradado de marca */
|
|
325
|
-
[data-slot='switch'][data-checked] {
|
|
326
|
-
background-image: var(--zy-accent-g);
|
|
327
|
-
background-color: transparent;
|
|
328
|
-
}
|
|
329
|
-
[data-slot='progress-indicator'] {
|
|
330
|
-
background-image: var(--zy-accent-g);
|
|
331
|
-
background-color: transparent;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
/* Sidebar: destino activo con tinte y filo, como la conversación activa de zyro */
|
|
335
|
-
[data-sidebar='menu-button'][data-active='true'] {
|
|
336
|
-
background: var(--zy-conv-a);
|
|
337
|
-
box-shadow: inset 0 0 0 1px var(--zy-conv-ab);
|
|
338
|
-
color: var(--sidebar-accent-foreground);
|
|
339
|
-
}
|
|
340
|
-
[data-sidebar='menu-button']:hover:not([data-active='true']) {
|
|
341
|
-
background: var(--zy-conv-h);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/* Ajustes de personalidad (vistos en el banco de pruebas) */
|
|
346
|
-
:root {
|
|
347
|
-
/* Grupos de botones: píldora solo en los extremos, el interior recto */
|
|
348
|
-
[data-slot='button-group'] [data-slot='button'] {
|
|
349
|
-
border-radius: 0;
|
|
350
|
-
}
|
|
351
|
-
[data-slot='button-group'] [data-slot='button']:first-child {
|
|
352
|
-
border-start-start-radius: 9999px;
|
|
353
|
-
border-end-start-radius: 9999px;
|
|
354
|
-
}
|
|
355
|
-
[data-slot='button-group'] [data-slot='button']:last-child {
|
|
356
|
-
border-start-end-radius: 9999px;
|
|
357
|
-
border-end-end-radius: 9999px;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/* Esqueletos: visibles sobre la tarjeta casi blanca */
|
|
361
|
-
[data-slot='skeleton'] {
|
|
362
|
-
background: color-mix(in oklch, var(--foreground) 9%, transparent);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/* Fondo vivo: los degradados derivan despacio (aproximación ligera, sin WebGL de la
|
|
367
|
-
malla original). `prefers-reduced-motion` ya detiene la animación en la estructura. */
|
|
368
|
-
:root {
|
|
369
|
-
body {
|
|
370
|
-
background-size: 160% 160%;
|
|
371
|
-
animation: zy-drift 40s ease-in-out infinite alternate;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
@keyframes zy-drift {
|
|
375
|
-
from {
|
|
376
|
-
background-position: 0% 0%;
|
|
377
|
-
}
|
|
378
|
-
to {
|
|
379
|
-
background-position: 100% 100%;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* TEMA zyro — «liquid glass» (traducido de faro-orbital-zyro-ui).
|
|
3
|
+
*
|
|
4
|
+
* Personalidad: lavanda claro / azul muy oscuro, acento azul profundo (claro) y
|
|
5
|
+
* cian (oscuro). El cristal vive en la capa de NAVEGACIÓN y CONTROLES (sidebar,
|
|
6
|
+
* campos, menús); el CONTENIDO (tarjetas) se mantiene casi opaco, como indican
|
|
7
|
+
* las guías de cristal. Sidebar a ras de borde, sin silueta flotante. Acción
|
|
8
|
+
* primaria = píldora con degradado de marca y brillo.
|
|
9
|
+
*
|
|
10
|
+
* Estructura del fichero:
|
|
11
|
+
* 1. Variables claras (:root) y oscuras (.dark) — el CONTRATO del tema.
|
|
12
|
+
* 2. Capa de PERSONALIDAD — reglas sobre los ganchos del DOM (`data-slot`,
|
|
13
|
+
* `data-variant`…) escritas solo con variables. Va SIN capa para ganar a las
|
|
14
|
+
* utilidades de los componentes, así que define también los estados
|
|
15
|
+
* (hover, active). Es lo que da forma propia a los elementos.
|
|
16
|
+
*
|
|
17
|
+
* Variables `--zy-*`: privadas de este tema (no son contrato).
|
|
18
|
+
* Importar DESPUÉS de la estructura. Fuentes: `zyro.fonts.css`, lo primero del CSS.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/* ── 1. VARIABLES · PIEL CLARA ───────────────────────────────────────────── */
|
|
22
|
+
:root {
|
|
23
|
+
--radius: 18px;
|
|
24
|
+
|
|
25
|
+
/* Tipografía: Montserrat (titulares) + Roboto (cuerpo) */
|
|
26
|
+
--ds-font-sans: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
27
|
+
--ds-font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
|
|
28
|
+
--ds-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
29
|
+
--ds-heading-tracking: -0.01em;
|
|
30
|
+
|
|
31
|
+
/* Color */
|
|
32
|
+
--background: #eaeefb;
|
|
33
|
+
--foreground: rgba(14, 22, 48, 0.92);
|
|
34
|
+
|
|
35
|
+
--card: rgba(255, 255, 255, 0.98);
|
|
36
|
+
--card-foreground: rgba(14, 22, 48, 0.92);
|
|
37
|
+
--popover: #ffffff;
|
|
38
|
+
--popover-foreground: rgba(14, 22, 48, 0.92);
|
|
39
|
+
|
|
40
|
+
--primary: #0349fe;
|
|
41
|
+
--primary-foreground: #ffffff;
|
|
42
|
+
--secondary: rgba(243, 246, 253, 0.9);
|
|
43
|
+
--secondary-foreground: rgba(14, 22, 48, 0.92);
|
|
44
|
+
--muted: rgba(243, 246, 253, 0.9);
|
|
45
|
+
--muted-foreground: rgba(14, 22, 48, 0.66);
|
|
46
|
+
--accent: rgba(3, 73, 254, 0.09);
|
|
47
|
+
--accent-foreground: #0349fe;
|
|
48
|
+
--destructive: #eb1919;
|
|
49
|
+
--destructive-foreground: #ffffff;
|
|
50
|
+
|
|
51
|
+
--border: rgba(168, 190, 235, 0.3);
|
|
52
|
+
--input: rgba(168, 190, 235, 0.55);
|
|
53
|
+
--ring: #0349fe;
|
|
54
|
+
|
|
55
|
+
--chart-1: #0349fe;
|
|
56
|
+
--chart-2: #14bd44;
|
|
57
|
+
--chart-3: #ffb300;
|
|
58
|
+
--chart-4: #eb1919;
|
|
59
|
+
--chart-5: #9747ff;
|
|
60
|
+
|
|
61
|
+
--sidebar: rgba(255, 255, 255, 0.58);
|
|
62
|
+
--sidebar-foreground: rgba(14, 22, 48, 0.78);
|
|
63
|
+
--sidebar-primary: #0349fe;
|
|
64
|
+
--sidebar-primary-foreground: #ffffff;
|
|
65
|
+
--sidebar-accent: rgba(3, 73, 254, 0.09);
|
|
66
|
+
--sidebar-accent-foreground: #0349fe;
|
|
67
|
+
--sidebar-border: rgba(168, 190, 235, 0.35);
|
|
68
|
+
--sidebar-ring: #0349fe;
|
|
69
|
+
|
|
70
|
+
--danger: #c21414;
|
|
71
|
+
--danger-soft: rgba(235, 25, 25, 0.1);
|
|
72
|
+
--warning: #845f00;
|
|
73
|
+
--warning-soft: rgba(255, 179, 0, 0.16);
|
|
74
|
+
--success: #0b742a;
|
|
75
|
+
--success-soft: rgba(20, 189, 68, 0.12);
|
|
76
|
+
--info: #1267a1;
|
|
77
|
+
--info-soft: rgba(42, 147, 213, 0.12);
|
|
78
|
+
--neutral: rgba(14, 22, 48, 0.63);
|
|
79
|
+
--neutral-soft: rgba(14, 22, 48, 0.06);
|
|
80
|
+
|
|
81
|
+
--link: #0349fe;
|
|
82
|
+
--link-hover: #0236c0;
|
|
83
|
+
--inset: rgba(243, 246, 253, 0.9);
|
|
84
|
+
--inset-foreground: rgba(14, 22, 48, 0.92);
|
|
85
|
+
--brand: #0349fe;
|
|
86
|
+
--brand-bright: #36b3ed;
|
|
87
|
+
|
|
88
|
+
/* Formas: la esquina crece con el tamaño del contenedor (7·10·14·18·22) */
|
|
89
|
+
--ds-radius-sm: 7px;
|
|
90
|
+
--ds-radius-md: 10px;
|
|
91
|
+
--ds-radius-lg: 14px;
|
|
92
|
+
--ds-radius-xl: 18px;
|
|
93
|
+
--ds-radius-2xl: 22px;
|
|
94
|
+
--ds-radius-control: 10px;
|
|
95
|
+
--ds-radius-overlay: 22px;
|
|
96
|
+
|
|
97
|
+
/* Sombras de cristal: capa tenue + brillo interior en el borde superior */
|
|
98
|
+
--ds-shadow-card: 0 2px 14px rgba(28, 48, 100, 0.07);
|
|
99
|
+
--ds-shadow-card-hover: 0 6px 26px rgba(28, 48, 100, 0.1);
|
|
100
|
+
--ds-shadow-raised: 0 4px 30px rgba(28, 48, 100, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
|
|
101
|
+
--ds-shadow-overlay: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
102
|
+
--ds-shadow-popover: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
103
|
+
|
|
104
|
+
/* Medidas: controles algo más altos y holgados */
|
|
105
|
+
--ds-control-h-sm: 2.25rem;
|
|
106
|
+
--ds-control-h-md: 2.5rem;
|
|
107
|
+
--ds-control-h-lg: 2.75rem;
|
|
108
|
+
--ds-button-px-sm: 1rem;
|
|
109
|
+
--ds-button-px-md: 1.25rem;
|
|
110
|
+
--ds-button-px-lg: 1.5rem;
|
|
111
|
+
--ds-field-px: 1rem;
|
|
112
|
+
|
|
113
|
+
/* Materiales: cristal en navegación y controles; tarjetas sin desenfoque */
|
|
114
|
+
--ds-sidebar-backdrop: blur(28px) saturate(180%);
|
|
115
|
+
--ds-overlay-backdrop: blur(28px) saturate(180%);
|
|
116
|
+
--ds-field-backdrop: blur(12px) saturate(160%);
|
|
117
|
+
--ds-card-backdrop: none;
|
|
118
|
+
--ds-page-backdrop:
|
|
119
|
+
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.3), transparent 70%),
|
|
120
|
+
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.16), transparent 70%),
|
|
121
|
+
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.14), transparent 70%);
|
|
122
|
+
|
|
123
|
+
/* Sidebar a ras de borde: sin separación, sin silueta; filo de 1px */
|
|
124
|
+
--ds-sidebar-pad: 0px;
|
|
125
|
+
--ds-sidebar-radius: 0px;
|
|
126
|
+
--ds-sidebar-shadow: 0 0 #0000;
|
|
127
|
+
--ds-sidebar-ring: 0px;
|
|
128
|
+
--ds-sidebar-edge: 1px solid var(--zy-glass-bs);
|
|
129
|
+
--ds-sidebar-item-radius: var(--ds-radius-lg);
|
|
130
|
+
|
|
131
|
+
/* Privadas de zyro */
|
|
132
|
+
--zy-accent-g: linear-gradient(135deg, #0349fe, #36b3ed);
|
|
133
|
+
--zy-accent-glow: rgba(3, 73, 254, 0.24);
|
|
134
|
+
--zy-glass-bt: rgba(255, 255, 255, 0.95);
|
|
135
|
+
--zy-glass-bs: rgba(168, 190, 235, 0.4);
|
|
136
|
+
--zy-card-bt: rgba(255, 255, 255, 1);
|
|
137
|
+
--zy-card-bs: rgba(168, 190, 235, 0.46);
|
|
138
|
+
--zy-field-bg: rgba(255, 255, 255, 0.72);
|
|
139
|
+
--zy-field-b: rgba(168, 190, 235, 0.55);
|
|
140
|
+
--zy-field-bt: rgba(255, 255, 255, 1);
|
|
141
|
+
--zy-pill: rgba(255, 255, 255, 0.55);
|
|
142
|
+
--zy-pill-on: rgba(255, 255, 255, 0.98);
|
|
143
|
+
--zy-conv-h: rgba(20, 40, 90, 0.04);
|
|
144
|
+
--zy-conv-a: rgba(3, 73, 254, 0.07);
|
|
145
|
+
--zy-conv-ab: rgba(3, 73, 254, 0.24);
|
|
146
|
+
--zy-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* ── 1b. VARIABLES · PIEL OSCURA ─────────────────────────────────────────── */
|
|
150
|
+
.dark {
|
|
151
|
+
--background: #0e3148;
|
|
152
|
+
--foreground: rgba(255, 255, 255, 0.94);
|
|
153
|
+
|
|
154
|
+
--card: rgba(16, 24, 54, 0.94);
|
|
155
|
+
--card-foreground: rgba(255, 255, 255, 0.94);
|
|
156
|
+
--popover: rgba(22, 32, 68, 0.97);
|
|
157
|
+
--popover-foreground: rgba(255, 255, 255, 0.94);
|
|
158
|
+
|
|
159
|
+
--primary: #36b3ed;
|
|
160
|
+
--primary-foreground: #04121c;
|
|
161
|
+
--secondary: rgba(255, 255, 255, 0.05);
|
|
162
|
+
--secondary-foreground: rgba(255, 255, 255, 0.94);
|
|
163
|
+
--muted: rgba(255, 255, 255, 0.05);
|
|
164
|
+
--muted-foreground: rgba(255, 255, 255, 0.68);
|
|
165
|
+
--accent: rgba(54, 179, 237, 0.16);
|
|
166
|
+
--accent-foreground: #36b3ed;
|
|
167
|
+
--destructive: #eb1919;
|
|
168
|
+
--destructive-foreground: #ffffff;
|
|
169
|
+
|
|
170
|
+
--border: rgba(255, 255, 255, 0.07);
|
|
171
|
+
--input: rgba(255, 255, 255, 0.12);
|
|
172
|
+
--ring: #36b3ed;
|
|
173
|
+
|
|
174
|
+
--chart-1: #36b3ed;
|
|
175
|
+
--chart-2: #14bd44;
|
|
176
|
+
--chart-3: #ffb300;
|
|
177
|
+
--chart-4: #eb1919;
|
|
178
|
+
--chart-5: #9747ff;
|
|
179
|
+
|
|
180
|
+
--sidebar: rgba(255, 255, 255, 0.04);
|
|
181
|
+
--sidebar-foreground: rgba(255, 255, 255, 0.72);
|
|
182
|
+
--sidebar-primary: #36b3ed;
|
|
183
|
+
--sidebar-primary-foreground: #04121c;
|
|
184
|
+
--sidebar-accent: rgba(54, 179, 237, 0.16);
|
|
185
|
+
--sidebar-accent-foreground: #36b3ed;
|
|
186
|
+
--sidebar-border: rgba(255, 255, 255, 0.07);
|
|
187
|
+
--sidebar-ring: #36b3ed;
|
|
188
|
+
|
|
189
|
+
--danger: #ff6b6b;
|
|
190
|
+
--danger-soft: rgba(235, 25, 25, 0.2);
|
|
191
|
+
--warning: #ffb300;
|
|
192
|
+
--warning-soft: rgba(255, 179, 0, 0.18);
|
|
193
|
+
--success: #3cc864;
|
|
194
|
+
--success-soft: rgba(20, 189, 68, 0.18);
|
|
195
|
+
--info: #70b7e3;
|
|
196
|
+
--info-soft: rgba(42, 147, 213, 0.2);
|
|
197
|
+
--neutral: rgba(255, 255, 255, 0.6);
|
|
198
|
+
--neutral-soft: rgba(255, 255, 255, 0.08);
|
|
199
|
+
|
|
200
|
+
--link: #36b3ed;
|
|
201
|
+
--link-hover: #7fd0f5;
|
|
202
|
+
--inset: rgba(255, 255, 255, 0.05);
|
|
203
|
+
--inset-foreground: rgba(255, 255, 255, 0.94);
|
|
204
|
+
--brand: #36b3ed;
|
|
205
|
+
--brand-bright: #7fd0f5;
|
|
206
|
+
|
|
207
|
+
--ds-shadow-card: 0 2px 14px rgba(0, 0, 0, 0.3);
|
|
208
|
+
--ds-shadow-card-hover: 0 6px 26px rgba(0, 0, 0, 0.38);
|
|
209
|
+
--ds-shadow-raised: 0 8px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
210
|
+
--ds-shadow-overlay: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
211
|
+
--ds-shadow-popover: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
212
|
+
|
|
213
|
+
--ds-sidebar-backdrop: blur(24px) saturate(180%);
|
|
214
|
+
--ds-overlay-backdrop: blur(24px) saturate(180%);
|
|
215
|
+
--ds-page-backdrop:
|
|
216
|
+
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.26), transparent 70%),
|
|
217
|
+
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.24), transparent 70%),
|
|
218
|
+
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.2), transparent 70%);
|
|
219
|
+
|
|
220
|
+
--zy-accent-g: linear-gradient(135deg, #36b3ed, #0349fe);
|
|
221
|
+
--zy-accent-glow: rgba(54, 179, 237, 0.42);
|
|
222
|
+
--zy-glass-bt: rgba(255, 255, 255, 0.3);
|
|
223
|
+
--zy-glass-bs: rgba(255, 255, 255, 0.07);
|
|
224
|
+
--zy-card-bt: rgba(255, 255, 255, 0.11);
|
|
225
|
+
--zy-card-bs: rgba(255, 255, 255, 0.06);
|
|
226
|
+
--zy-field-bg: rgba(255, 255, 255, 0.06);
|
|
227
|
+
--zy-field-b: rgba(255, 255, 255, 0.12);
|
|
228
|
+
--zy-field-bt: rgba(255, 255, 255, 0.26);
|
|
229
|
+
--zy-pill: rgba(255, 255, 255, 0.05);
|
|
230
|
+
--zy-pill-on: rgba(255, 255, 255, 0.12);
|
|
231
|
+
--zy-conv-h: rgba(255, 255, 255, 0.05);
|
|
232
|
+
--zy-conv-a: rgba(54, 179, 237, 0.14);
|
|
233
|
+
--zy-conv-ab: rgba(54, 179, 237, 0.4);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/* ── 2. PERSONALIDAD ─────────────────────────────────────────────────────────
|
|
237
|
+
* Sin capa: gana a las utilidades de los componentes. Solo variables.
|
|
238
|
+
*/
|
|
239
|
+
:root {
|
|
240
|
+
/* Botones: píldora. Acción primaria con degradado de marca y brillo. */
|
|
241
|
+
[data-slot='button'] {
|
|
242
|
+
border-radius: 9999px;
|
|
243
|
+
transition: all var(--ds-motion-base) var(--zy-ease);
|
|
244
|
+
}
|
|
245
|
+
[data-slot='button'][data-size^='icon'] {
|
|
246
|
+
border-radius: var(--ds-radius-xl);
|
|
247
|
+
}
|
|
248
|
+
[data-slot='button']:active:not(:disabled) {
|
|
249
|
+
transform: scale(0.98);
|
|
250
|
+
}
|
|
251
|
+
[data-slot='button'][data-variant='default'] {
|
|
252
|
+
background-color: transparent;
|
|
253
|
+
background-image: var(--zy-accent-g);
|
|
254
|
+
color: #ffffff;
|
|
255
|
+
border-color: transparent;
|
|
256
|
+
box-shadow: 0 4px 16px var(--zy-accent-glow);
|
|
257
|
+
}
|
|
258
|
+
[data-slot='button'][data-variant='default']:hover:not(:disabled) {
|
|
259
|
+
filter: brightness(1.1);
|
|
260
|
+
box-shadow: 0 6px 22px var(--zy-accent-glow);
|
|
261
|
+
}
|
|
262
|
+
[data-slot='button'][data-variant='destructive'] {
|
|
263
|
+
box-shadow: 0 4px 16px rgba(235, 25, 25, 0.3);
|
|
264
|
+
}
|
|
265
|
+
[data-slot='button'][data-variant='outline'],
|
|
266
|
+
[data-slot='button'][data-variant='secondary'] {
|
|
267
|
+
border: 1px solid var(--zy-field-b);
|
|
268
|
+
background: color-mix(in oklch, var(--foreground) 5%, var(--background));
|
|
269
|
+
color: var(--muted-foreground);
|
|
270
|
+
}
|
|
271
|
+
[data-slot='button'][data-variant='outline']:hover:not(:disabled),
|
|
272
|
+
[data-slot='button'][data-variant='secondary']:hover:not(:disabled) {
|
|
273
|
+
background: color-mix(in oklch, var(--foreground) 11%, var(--background));
|
|
274
|
+
color: var(--foreground);
|
|
275
|
+
}
|
|
276
|
+
[data-slot='button'][data-variant='ghost']:hover:not(:disabled) {
|
|
277
|
+
background: var(--zy-conv-h);
|
|
278
|
+
color: var(--foreground);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* Tarjetas: contenido casi opaco con filo superior luminoso */
|
|
282
|
+
[data-slot='card'] {
|
|
283
|
+
border: 1px solid var(--zy-card-bs);
|
|
284
|
+
border-top-color: var(--zy-card-bt);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Campos: cristal claro con filo superior */
|
|
288
|
+
[data-slot='input'],
|
|
289
|
+
[data-slot='textarea'],
|
|
290
|
+
[data-slot='select-trigger'] {
|
|
291
|
+
background-color: var(--zy-field-bg);
|
|
292
|
+
border-color: var(--zy-field-b);
|
|
293
|
+
border-top-color: var(--zy-field-bt);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/* Capas flotantes: filo de cristal */
|
|
297
|
+
[data-slot='dialog-content'],
|
|
298
|
+
[data-slot='popover-content'],
|
|
299
|
+
[data-slot='dropdown-menu-content'],
|
|
300
|
+
[data-slot='select-content'] {
|
|
301
|
+
border: 1px solid var(--zy-glass-bs);
|
|
302
|
+
border-top-color: var(--zy-glass-bt);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* Etiquetas en píldora */
|
|
306
|
+
[data-slot='badge'] {
|
|
307
|
+
border-radius: 9999px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/* Pestañas: píldora de cristal con la activa elevada */
|
|
311
|
+
[data-slot='tabs-list'] {
|
|
312
|
+
background: var(--zy-pill);
|
|
313
|
+
border: 1px solid var(--zy-card-bs);
|
|
314
|
+
border-radius: 9999px;
|
|
315
|
+
}
|
|
316
|
+
[data-slot='tabs-trigger'] {
|
|
317
|
+
border-radius: 9999px;
|
|
318
|
+
}
|
|
319
|
+
[data-slot='tabs-trigger'][data-active] {
|
|
320
|
+
background: var(--zy-pill-on);
|
|
321
|
+
box-shadow: 0 1px 6px rgba(28, 48, 100, 0.12);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/* Interruptor y progreso: degradado de marca */
|
|
325
|
+
[data-slot='switch'][data-checked] {
|
|
326
|
+
background-image: var(--zy-accent-g);
|
|
327
|
+
background-color: transparent;
|
|
328
|
+
}
|
|
329
|
+
[data-slot='progress-indicator'] {
|
|
330
|
+
background-image: var(--zy-accent-g);
|
|
331
|
+
background-color: transparent;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/* Sidebar: destino activo con tinte y filo, como la conversación activa de zyro */
|
|
335
|
+
[data-sidebar='menu-button'][data-active='true'] {
|
|
336
|
+
background: var(--zy-conv-a);
|
|
337
|
+
box-shadow: inset 0 0 0 1px var(--zy-conv-ab);
|
|
338
|
+
color: var(--sidebar-accent-foreground);
|
|
339
|
+
}
|
|
340
|
+
[data-sidebar='menu-button']:hover:not([data-active='true']) {
|
|
341
|
+
background: var(--zy-conv-h);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* Ajustes de personalidad (vistos en el banco de pruebas) */
|
|
346
|
+
:root {
|
|
347
|
+
/* Grupos de botones: píldora solo en los extremos, el interior recto */
|
|
348
|
+
[data-slot='button-group'] [data-slot='button'] {
|
|
349
|
+
border-radius: 0;
|
|
350
|
+
}
|
|
351
|
+
[data-slot='button-group'] [data-slot='button']:first-child {
|
|
352
|
+
border-start-start-radius: 9999px;
|
|
353
|
+
border-end-start-radius: 9999px;
|
|
354
|
+
}
|
|
355
|
+
[data-slot='button-group'] [data-slot='button']:last-child {
|
|
356
|
+
border-start-end-radius: 9999px;
|
|
357
|
+
border-end-end-radius: 9999px;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* Esqueletos: visibles sobre la tarjeta casi blanca */
|
|
361
|
+
[data-slot='skeleton'] {
|
|
362
|
+
background: color-mix(in oklch, var(--foreground) 9%, transparent);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/* Fondo vivo: los degradados derivan despacio (aproximación ligera, sin WebGL de la
|
|
367
|
+
malla original). `prefers-reduced-motion` ya detiene la animación en la estructura. */
|
|
368
|
+
:root {
|
|
369
|
+
body {
|
|
370
|
+
background-size: 160% 160%;
|
|
371
|
+
animation: zy-drift 40s ease-in-out infinite alternate;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
@keyframes zy-drift {
|
|
375
|
+
from {
|
|
376
|
+
background-position: 0% 0%;
|
|
377
|
+
}
|
|
378
|
+
to {
|
|
379
|
+
background-position: 100% 100%;
|
|
380
|
+
}
|
|
381
|
+
}
|