orbital-ds 0.29.1 → 0.30.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 +14 -0
- package/components.manifest.json +117 -6
- package/dist/hooks/use-ds-messages.d.ts +9 -0
- package/dist/lib/auth-flow.d.ts +26 -2
- package/dist/lib/auth-flow.js +20 -3
- package/dist/lib/header-control.d.ts +4 -0
- package/dist/lib/header-control.js +14 -0
- package/dist/lib/i18n.d.ts +9 -0
- package/dist/lib/i18n.js +27 -0
- package/dist/ui/app-bar.d.ts +10 -0
- package/dist/ui/app-bar.js +51 -0
- package/dist/ui/attachment.js +1 -1
- package/dist/ui/auth-form.d.ts +5 -1
- package/dist/ui/auth-form.js +5 -0
- package/dist/ui/badge.js +2 -2
- package/dist/ui/button.js +1 -1
- package/dist/ui/content-card.d.ts +6 -2
- package/dist/ui/content-card.js +27 -3
- package/dist/ui/dropzone.js +1 -1
- package/dist/ui/item.js +1 -1
- package/dist/ui/legend.js +1 -1
- package/dist/ui/locale-switcher.d.ts +19 -0
- package/dist/ui/locale-switcher.js +54 -0
- package/dist/ui/menubar.js +1 -1
- package/dist/ui/message-scroller.js +1 -1
- package/dist/ui/navigation-menu.js +2 -2
- package/dist/ui/notice-review.d.ts +1 -0
- package/dist/ui/notifications.d.ts +12 -2
- package/dist/ui/notifications.js +28 -5
- package/dist/ui/sidebar.d.ts +17 -3
- package/dist/ui/sidebar.js +25 -10
- package/dist/ui/theme-toggle.d.ts +14 -0
- package/dist/ui/theme-toggle.js +112 -0
- package/dist/ui/toggle.js +2 -2
- package/dist/ui/week-strip.js +1 -1
- package/docs/CONTRACT.md +1 -1
- package/docs/designer/patrones.md +6 -0
- package/package.json +188 -187
- package/scripts/cli.mjs +452 -452
- package/dist/motion.css +0 -146
- package/dist/styles.css +0 -1656
- package/dist/themes/fractalia.css +0 -549
- package/dist/themes/fractalia.fonts.css +0 -3
- package/dist/themes/fractalia.guide.md +0 -86
- package/dist/themes/fractalia.meta.json +0 -112
- package/dist/themes/fractalia.scoped.css +0 -549
- package/dist/themes/fractalia.tokens.json +0 -39
- package/dist/themes/friendly.css +0 -367
- package/dist/themes/friendly.fonts.css +0 -2
- package/dist/themes/friendly.guide.md +0 -38
- package/dist/themes/friendly.meta.json +0 -82
- package/dist/themes/friendly.scoped.css +0 -367
- package/dist/themes/friendly.tokens.json +0 -45
- package/dist/themes/lagoon.css +0 -348
- package/dist/themes/lagoon.fonts.css +0 -2
- package/dist/themes/lagoon.guide.md +0 -47
- package/dist/themes/lagoon.meta.json +0 -85
- package/dist/themes/lagoon.scoped.css +0 -348
- package/dist/themes/lagoon.tokens.json +0 -49
- package/dist/themes/liquid.css +0 -502
- package/dist/themes/liquid.fonts.css +0 -7
- package/dist/themes/liquid.guide.md +0 -82
- package/dist/themes/liquid.meta.json +0 -134
- package/dist/themes/liquid.scoped.css +0 -502
- package/dist/themes/liquid.tokens.json +0 -47
- package/dist/themes/qratia.css +0 -260
- package/dist/themes/qratia.fonts.css +0 -2
- package/dist/themes/qratia.guide.md +0 -34
- package/dist/themes/qratia.meta.json +0 -49
- package/dist/themes/qratia.scoped.css +0 -260
- package/dist/themes/qratia.tokens.json +0 -49
- package/dist/themes/tactile.css +0 -588
- package/dist/themes/tactile.fonts.css +0 -3
- package/dist/themes/tactile.guide.md +0 -82
- package/dist/themes/tactile.meta.json +0 -182
- package/dist/themes/tactile.scoped.css +0 -588
- package/dist/themes/tactile.tokens.json +0 -42
- package/dist/themes/twitter.css +0 -357
- package/dist/themes/twitter.fonts.css +0 -6
- package/dist/themes/twitter.guide.md +0 -35
- package/dist/themes/twitter.meta.json +0 -90
- package/dist/themes/twitter.scoped.css +0 -357
- package/dist/themes/twitter.tokens.json +0 -45
- package/dist/themes/zyro.css +0 -434
- package/dist/themes/zyro.fonts.css +0 -2
- package/dist/themes/zyro.guide.md +0 -33
- package/dist/themes/zyro.meta.json +0 -74
- package/dist/themes/zyro.scoped.css +0 -434
- package/dist/themes/zyro.tokens.json +0 -46
|
@@ -1,434 +0,0 @@
|
|
|
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:where([data-theme='zyro']) {
|
|
23
|
-
/* Movimiento automático (orbital-ds/motion.css): tipo de entrada por grupo; lo describe la ficha (motion.auto) */
|
|
24
|
-
--ds-enter-surfaces: ds-auto-focus;
|
|
25
|
-
--ds-enter-notices: ds-auto-focus;
|
|
26
|
-
--ds-enter-headers: ds-auto-fade;
|
|
27
|
-
--ds-enter-rows: ds-auto-fade;
|
|
28
|
-
--radius: 18px;
|
|
29
|
-
|
|
30
|
-
/* Tipografía: Montserrat (titulares) + Roboto (cuerpo) */
|
|
31
|
-
--ds-font-sans: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
32
|
-
--ds-font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
|
|
33
|
-
--ds-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
34
|
-
|
|
35
|
-
/* Lateral: iconos, raíl, logo y separadores (cada tema fija su forma y tamaño) */
|
|
36
|
-
--ds-sidebar-icon: 1.25rem;
|
|
37
|
-
--ds-sidebar-icon-stroke: 2;
|
|
38
|
-
--ds-sidebar-rail-w: 4.5rem;
|
|
39
|
-
--ds-sidebar-rail-item: 2.75rem;
|
|
40
|
-
--ds-sidebar-logo: 2.25rem;
|
|
41
|
-
--ds-sidebar-sep-inset: 0rem;
|
|
42
|
-
--ds-heading-tracking: -0.01em;
|
|
43
|
-
|
|
44
|
-
/* Color */
|
|
45
|
-
--background: #eaeefb;
|
|
46
|
-
--foreground: rgba(14, 22, 48, 0.92);
|
|
47
|
-
|
|
48
|
-
--card: rgba(255, 255, 255, 0.98);
|
|
49
|
-
--card-foreground: rgba(14, 22, 48, 0.92);
|
|
50
|
-
--popover: #ffffff;
|
|
51
|
-
--popover-foreground: rgba(14, 22, 48, 0.92);
|
|
52
|
-
|
|
53
|
-
--primary: #0349fe;
|
|
54
|
-
--primary-foreground: #ffffff;
|
|
55
|
-
--secondary: rgba(243, 246, 253, 0.9);
|
|
56
|
-
--secondary-foreground: rgba(14, 22, 48, 0.92);
|
|
57
|
-
--muted: rgba(243, 246, 253, 0.9);
|
|
58
|
-
--muted-foreground: rgba(14, 22, 48, 0.66);
|
|
59
|
-
--accent: rgba(3, 73, 254, 0.09);
|
|
60
|
-
--accent-foreground: #0349fe;
|
|
61
|
-
--destructive: #e61919;
|
|
62
|
-
--destructive-foreground: #ffffff;
|
|
63
|
-
|
|
64
|
-
--border: rgba(168, 190, 235, 0.3);
|
|
65
|
-
--input: rgba(168, 190, 235, 0.55);
|
|
66
|
-
--ring: #0349fe;
|
|
67
|
-
|
|
68
|
-
--chart-1: #0349fe;
|
|
69
|
-
--chart-2: #14bd44;
|
|
70
|
-
--chart-3: #ffb300;
|
|
71
|
-
--chart-4: #eb1919;
|
|
72
|
-
--chart-5: #9747ff;
|
|
73
|
-
|
|
74
|
-
--sidebar: rgba(255, 255, 255, 0.58);
|
|
75
|
-
--sidebar-foreground: rgba(14, 22, 48, 0.78);
|
|
76
|
-
--sidebar-primary: #0349fe;
|
|
77
|
-
--sidebar-primary-foreground: #ffffff;
|
|
78
|
-
--sidebar-accent: rgba(3, 73, 254, 0.09);
|
|
79
|
-
--sidebar-accent-foreground: #0349fe;
|
|
80
|
-
--sidebar-border: rgba(168, 190, 235, 0.35);
|
|
81
|
-
--sidebar-ring: #0349fe;
|
|
82
|
-
|
|
83
|
-
--danger: #c21414;
|
|
84
|
-
--danger-soft: rgba(235, 25, 25, 0.1);
|
|
85
|
-
--warning: #845f00;
|
|
86
|
-
--warning-soft: rgba(255, 179, 0, 0.16);
|
|
87
|
-
--success: #0b742a;
|
|
88
|
-
--success-soft: rgba(20, 189, 68, 0.12);
|
|
89
|
-
--info: #1267a1;
|
|
90
|
-
--info-soft: rgba(42, 147, 213, 0.12);
|
|
91
|
-
--neutral: rgba(14, 22, 48, 0.63);
|
|
92
|
-
--neutral-soft: rgba(14, 22, 48, 0.06);
|
|
93
|
-
|
|
94
|
-
--link: #0349fe;
|
|
95
|
-
--link-hover: #0236c0;
|
|
96
|
-
--inset: rgba(243, 246, 253, 0.9);
|
|
97
|
-
--inset-foreground: rgba(14, 22, 48, 0.92);
|
|
98
|
-
--brand: #0349fe;
|
|
99
|
-
--brand-bright: #36b3ed;
|
|
100
|
-
|
|
101
|
-
/* Formas: la esquina crece con el tamaño del contenedor (7·10·14·18·22) */
|
|
102
|
-
--ds-radius-sm: 7px;
|
|
103
|
-
--ds-radius-md: 10px;
|
|
104
|
-
--ds-radius-lg: 14px;
|
|
105
|
-
--ds-radius-xl: 18px;
|
|
106
|
-
--ds-radius-2xl: 22px;
|
|
107
|
-
--ds-radius-control: 10px;
|
|
108
|
-
--ds-radius-overlay: 22px;
|
|
109
|
-
/* Píldoras: botones, etiquetas y conmutadores; el botón de solo icono, redondeado */
|
|
110
|
-
--ds-radius-button: var(--ds-radius-pill);
|
|
111
|
-
--ds-radius-button-icon: var(--ds-radius-xl);
|
|
112
|
-
--ds-radius-badge: var(--ds-radius-pill);
|
|
113
|
-
--ds-radius-tabs-list: var(--ds-radius-pill);
|
|
114
|
-
--ds-radius-tab: var(--ds-radius-pill);
|
|
115
|
-
|
|
116
|
-
/* Sombras de cristal: capa tenue + brillo interior en el borde superior */
|
|
117
|
-
--ds-shadow-card: 0 2px 14px rgba(28, 48, 100, 0.07);
|
|
118
|
-
--ds-shadow-card-hover: 0 6px 26px rgba(28, 48, 100, 0.1);
|
|
119
|
-
--ds-shadow-raised: 0 4px 30px rgba(28, 48, 100, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
|
|
120
|
-
--ds-shadow-overlay: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
121
|
-
--ds-shadow-popover: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
122
|
-
|
|
123
|
-
/* Medidas: controles algo más altos y holgados */
|
|
124
|
-
--ds-control-h-sm: 2.25rem;
|
|
125
|
-
--ds-control-h-md: 2.5rem;
|
|
126
|
-
--ds-control-h-lg: 2.75rem;
|
|
127
|
-
--ds-button-px-sm: 1rem;
|
|
128
|
-
--ds-button-px-md: 1.25rem;
|
|
129
|
-
--ds-button-px-lg: 1.5rem;
|
|
130
|
-
--ds-field-px: 1rem;
|
|
131
|
-
--ds-field-bg: var(--zy-field-bg); /* cristal claro (cada piel da su --zy-field-bg) */
|
|
132
|
-
|
|
133
|
-
/* Materiales: cristal en navegación y controles; tarjetas sin desenfoque */
|
|
134
|
-
--ds-sidebar-backdrop: blur(28px) saturate(180%);
|
|
135
|
-
--ds-overlay-backdrop: blur(28px) saturate(180%);
|
|
136
|
-
--ds-field-backdrop: blur(12px) saturate(160%);
|
|
137
|
-
--ds-card-backdrop: none;
|
|
138
|
-
--ds-page-backdrop:
|
|
139
|
-
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.3), transparent 70%),
|
|
140
|
-
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.16), transparent 70%),
|
|
141
|
-
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.14), transparent 70%);
|
|
142
|
-
|
|
143
|
-
/* Sidebar a ras de borde: sin separación, sin silueta; filo de 1px */
|
|
144
|
-
--ds-sidebar-pad: 0px;
|
|
145
|
-
--ds-sidebar-radius: 0px;
|
|
146
|
-
--ds-sidebar-shadow: 0 0 #0000;
|
|
147
|
-
--ds-sidebar-ring: 0px;
|
|
148
|
-
--ds-sidebar-edge: 1px solid var(--zy-glass-bs);
|
|
149
|
-
--ds-sidebar-item-radius: var(--ds-radius-lg);
|
|
150
|
-
|
|
151
|
-
/* Privadas de zyro */
|
|
152
|
-
--zy-accent-g: linear-gradient(135deg, #0349fe, #36b3ed);
|
|
153
|
-
--zy-accent-glow: rgba(3, 73, 254, 0.24);
|
|
154
|
-
--zy-glass-bt: rgba(255, 255, 255, 0.95);
|
|
155
|
-
--zy-glass-bs: rgba(168, 190, 235, 0.4);
|
|
156
|
-
--zy-card-bt: rgba(255, 255, 255, 1);
|
|
157
|
-
--zy-card-bs: rgba(168, 190, 235, 0.46);
|
|
158
|
-
--zy-field-bg: rgba(255, 255, 255, 0.72);
|
|
159
|
-
--zy-field-b: rgba(168, 190, 235, 0.55);
|
|
160
|
-
--zy-field-bt: rgba(255, 255, 255, 1);
|
|
161
|
-
--zy-pill: rgba(255, 255, 255, 0.55);
|
|
162
|
-
--zy-pill-on: rgba(255, 255, 255, 0.98);
|
|
163
|
-
--zy-conv-h: rgba(20, 40, 90, 0.04);
|
|
164
|
-
--zy-conv-a: rgba(3, 73, 254, 0.07);
|
|
165
|
-
--zy-conv-ab: rgba(3, 73, 254, 0.24);
|
|
166
|
-
--zy-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/* ── 1b. VARIABLES · PIEL OSCURA ─────────────────────────────────────────── */
|
|
170
|
-
:where(:root[data-theme='zyro']).dark {
|
|
171
|
-
--background: #0e3148;
|
|
172
|
-
--foreground: rgba(255, 255, 255, 0.94);
|
|
173
|
-
|
|
174
|
-
--card: rgba(16, 24, 54, 0.94);
|
|
175
|
-
--card-foreground: rgba(255, 255, 255, 0.94);
|
|
176
|
-
--popover: rgba(22, 32, 68, 0.97);
|
|
177
|
-
--popover-foreground: rgba(255, 255, 255, 0.94);
|
|
178
|
-
|
|
179
|
-
--primary: #36b3ed;
|
|
180
|
-
--primary-foreground: #04121c;
|
|
181
|
-
--secondary: rgba(255, 255, 255, 0.05);
|
|
182
|
-
--secondary-foreground: rgba(255, 255, 255, 0.94);
|
|
183
|
-
--muted: rgba(255, 255, 255, 0.05);
|
|
184
|
-
--muted-foreground: rgba(255, 255, 255, 0.68);
|
|
185
|
-
--accent: rgba(54, 179, 237, 0.16);
|
|
186
|
-
--accent-foreground: #36b3ed;
|
|
187
|
-
--destructive: #e61919;
|
|
188
|
-
--destructive-foreground: #ffffff;
|
|
189
|
-
|
|
190
|
-
--border: rgba(255, 255, 255, 0.07);
|
|
191
|
-
--input: rgba(255, 255, 255, 0.12);
|
|
192
|
-
--ring: #36b3ed;
|
|
193
|
-
|
|
194
|
-
--chart-1: #36b3ed;
|
|
195
|
-
--chart-2: #14bd44;
|
|
196
|
-
--chart-3: #ffb300;
|
|
197
|
-
--chart-4: #eb1919;
|
|
198
|
-
--chart-5: #9747ff;
|
|
199
|
-
|
|
200
|
-
--sidebar: rgba(255, 255, 255, 0.04);
|
|
201
|
-
--sidebar-foreground: rgba(255, 255, 255, 0.72);
|
|
202
|
-
--sidebar-primary: #36b3ed;
|
|
203
|
-
--sidebar-primary-foreground: #04121c;
|
|
204
|
-
--sidebar-accent: rgba(54, 179, 237, 0.16);
|
|
205
|
-
--sidebar-accent-foreground: #36b3ed;
|
|
206
|
-
--sidebar-border: rgba(255, 255, 255, 0.07);
|
|
207
|
-
--sidebar-ring: #36b3ed;
|
|
208
|
-
|
|
209
|
-
--danger: #ff6b6b;
|
|
210
|
-
--danger-soft: rgba(235, 25, 25, 0.2);
|
|
211
|
-
--warning: #ffb300;
|
|
212
|
-
--warning-soft: rgba(255, 179, 0, 0.18);
|
|
213
|
-
--success: #3cc864;
|
|
214
|
-
--success-soft: rgba(20, 189, 68, 0.18);
|
|
215
|
-
--info: #70b7e3;
|
|
216
|
-
--info-soft: rgba(42, 147, 213, 0.2);
|
|
217
|
-
--neutral: rgba(255, 255, 255, 0.6);
|
|
218
|
-
--neutral-soft: rgba(255, 255, 255, 0.08);
|
|
219
|
-
|
|
220
|
-
--link: #36b3ed;
|
|
221
|
-
--link-hover: #7fd0f5;
|
|
222
|
-
--inset: rgba(255, 255, 255, 0.05);
|
|
223
|
-
--inset-foreground: rgba(255, 255, 255, 0.94);
|
|
224
|
-
--brand: #36b3ed;
|
|
225
|
-
--brand-bright: #7fd0f5;
|
|
226
|
-
|
|
227
|
-
--ds-shadow-card: 0 2px 14px rgba(0, 0, 0, 0.3);
|
|
228
|
-
--ds-shadow-card-hover: 0 6px 26px rgba(0, 0, 0, 0.38);
|
|
229
|
-
--ds-shadow-raised: 0 8px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
230
|
-
--ds-shadow-overlay: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
231
|
-
--ds-shadow-popover: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
232
|
-
|
|
233
|
-
--ds-sidebar-backdrop: blur(24px) saturate(180%);
|
|
234
|
-
--ds-overlay-backdrop: blur(24px) saturate(180%);
|
|
235
|
-
--ds-page-backdrop:
|
|
236
|
-
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.26), transparent 70%),
|
|
237
|
-
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.24), transparent 70%),
|
|
238
|
-
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.2), transparent 70%);
|
|
239
|
-
|
|
240
|
-
--zy-accent-g: linear-gradient(135deg, #36b3ed, #0349fe);
|
|
241
|
-
--zy-accent-glow: rgba(54, 179, 237, 0.42);
|
|
242
|
-
--zy-glass-bt: rgba(255, 255, 255, 0.3);
|
|
243
|
-
--zy-glass-bs: rgba(255, 255, 255, 0.07);
|
|
244
|
-
--zy-card-bt: rgba(255, 255, 255, 0.11);
|
|
245
|
-
--zy-card-bs: rgba(255, 255, 255, 0.06);
|
|
246
|
-
--zy-field-bg: rgba(255, 255, 255, 0.06);
|
|
247
|
-
--zy-field-b: rgba(255, 255, 255, 0.12);
|
|
248
|
-
--zy-field-bt: rgba(255, 255, 255, 0.26);
|
|
249
|
-
--zy-pill: rgba(255, 255, 255, 0.05);
|
|
250
|
-
--zy-pill-on: rgba(255, 255, 255, 0.12);
|
|
251
|
-
--zy-conv-h: rgba(255, 255, 255, 0.05);
|
|
252
|
-
--zy-conv-a: rgba(54, 179, 237, 0.14);
|
|
253
|
-
--zy-conv-ab: rgba(54, 179, 237, 0.4);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/* ── VARIABLES DE LA PERSONALIDAD ────────────────────────────────────────────
|
|
257
|
-
* Lo que las reglas de abajo piden: cámbialo aquí (o en el brand.css de la app),
|
|
258
|
-
* nunca en las reglas. Las `--zy-*` son privadas del tema.
|
|
259
|
-
*/
|
|
260
|
-
:root:where([data-theme='zyro']) {
|
|
261
|
-
/* Movimiento: suave y largo, como el cristal; curva muy amortiguada */
|
|
262
|
-
--ds-motion-fast: 140ms;
|
|
263
|
-
--ds-motion-base: 260ms;
|
|
264
|
-
--ds-motion-slow: 380ms;
|
|
265
|
-
--ds-ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
|
|
266
|
-
--ds-ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
|
|
267
|
-
--ds-ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
|
|
268
|
-
--ds-motion-distance: 12px;
|
|
269
|
-
--ds-motion-scale: 0.97;
|
|
270
|
-
--ds-motion-blur: 6px;
|
|
271
|
-
--ds-spring-bounce: 0.1;
|
|
272
|
-
--ds-motion-stagger: 55ms;
|
|
273
|
-
--ds-motion-press-scale: 0.98;
|
|
274
|
-
--ds-rule-w: 1px;
|
|
275
|
-
--ds-shadow-button: 0 4px 16px var(--zy-accent-glow);
|
|
276
|
-
--ds-shadow-button-hover: 0 6px 22px var(--zy-accent-glow);
|
|
277
|
-
--zy-accent-ink: #ffffff; /* texto sobre el degradado de marca, en las dos pieles */
|
|
278
|
-
--zy-shadow-danger: 0 4px 16px rgba(235, 25, 25, 0.3);
|
|
279
|
-
--zy-shadow-tab-active: 0 1px 6px rgba(28, 48, 100, 0.12);
|
|
280
|
-
--zy-press-scale: 0.98;
|
|
281
|
-
--zy-hover-brightness: 1.1;
|
|
282
|
-
--zy-drift-duration: 40s;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/* La sombra lee un color que cambia de piel: se repite en .dark para que se resuelva allí. */
|
|
286
|
-
:where(:root[data-theme='zyro']).dark {
|
|
287
|
-
--ds-shadow-button: 0 4px 16px var(--zy-accent-glow);
|
|
288
|
-
--ds-shadow-button-hover: 0 6px 22px var(--zy-accent-glow);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/* ── 2. PERSONALIDAD ─────────────────────────────────────────────────────────
|
|
292
|
-
* Sin capa: gana a las utilidades de los componentes. Solo variables (lo comprueba
|
|
293
|
-
* el doctor: tema `conformance: strict`). Familias completas.
|
|
294
|
-
*/
|
|
295
|
-
:root:where([data-theme='zyro']) {
|
|
296
|
-
/* Botones: píldora. Acción primaria con degradado de marca y brillo. */
|
|
297
|
-
[data-slot='button'] {
|
|
298
|
-
transition: all var(--ds-motion-base) var(--zy-ease);
|
|
299
|
-
}
|
|
300
|
-
[data-slot='button']:active:not(:disabled) {
|
|
301
|
-
transform: scale(var(--zy-press-scale));
|
|
302
|
-
}
|
|
303
|
-
[data-slot='button'][data-variant='default'] {
|
|
304
|
-
background-color: transparent;
|
|
305
|
-
background-image: var(--zy-accent-g);
|
|
306
|
-
color: var(--zy-accent-ink);
|
|
307
|
-
border-color: transparent;
|
|
308
|
-
box-shadow: var(--ds-shadow-button);
|
|
309
|
-
}
|
|
310
|
-
[data-slot='button'][data-variant='default']:hover:not(:disabled) {
|
|
311
|
-
filter: brightness(var(--zy-hover-brightness));
|
|
312
|
-
box-shadow: var(--ds-shadow-button-hover);
|
|
313
|
-
}
|
|
314
|
-
[data-slot='button'][data-variant='destructive'] {
|
|
315
|
-
box-shadow: var(--zy-shadow-danger);
|
|
316
|
-
}
|
|
317
|
-
[data-slot='button'][data-variant='outline'],
|
|
318
|
-
[data-slot='button'][data-variant='secondary'] {
|
|
319
|
-
border: var(--ds-rule-w) solid var(--zy-field-b);
|
|
320
|
-
background: color-mix(in oklch, var(--foreground) 5%, var(--background));
|
|
321
|
-
color: var(--muted-foreground);
|
|
322
|
-
}
|
|
323
|
-
[data-slot='button'][data-variant='outline']:hover:not(:disabled),
|
|
324
|
-
[data-slot='button'][data-variant='secondary']:hover:not(:disabled) {
|
|
325
|
-
background: color-mix(in oklch, var(--foreground) 11%, var(--background));
|
|
326
|
-
color: var(--foreground);
|
|
327
|
-
}
|
|
328
|
-
[data-slot='button'][data-variant='ghost']:hover:not(:disabled) {
|
|
329
|
-
background: var(--zy-conv-h);
|
|
330
|
-
color: var(--foreground);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/* Tarjetas: contenido casi opaco con filo superior luminoso */
|
|
334
|
-
[data-slot='card'],
|
|
335
|
-
[data-slot='panel'][data-variant='default'],
|
|
336
|
-
[data-slot='stat'][data-variant='card'],
|
|
337
|
-
[data-slot='item'][data-variant='card'] {
|
|
338
|
-
border: var(--ds-rule-w) solid var(--zy-card-bs);
|
|
339
|
-
border-top-color: var(--zy-card-bt);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/* Campos (familia «field»): filo superior; el cristal claro va en --ds-field-bg */
|
|
343
|
-
[data-slot='input'],
|
|
344
|
-
[data-slot='textarea'],
|
|
345
|
-
[data-slot='select-trigger'],
|
|
346
|
-
[data-slot='native-select'],
|
|
347
|
-
[data-slot='input-group'],
|
|
348
|
-
[data-slot='input-otp-slot'] {
|
|
349
|
-
border-color: var(--zy-field-b);
|
|
350
|
-
border-top-color: var(--zy-field-bt);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
/* Capas (familias «modal» y «floating»): filo de cristal */
|
|
354
|
-
[data-slot='dialog-content'],
|
|
355
|
-
[data-slot='sheet-content'],
|
|
356
|
-
[data-slot='alert-dialog-content'],
|
|
357
|
-
[data-slot='drawer-popup'],
|
|
358
|
-
[data-slot='popover-content'],
|
|
359
|
-
[data-slot='dropdown-menu-content'],
|
|
360
|
-
[data-slot='dropdown-menu-sub-content'],
|
|
361
|
-
[data-slot='select-content'],
|
|
362
|
-
[data-slot='context-menu-content'],
|
|
363
|
-
[data-slot='context-menu-sub-content'],
|
|
364
|
-
[data-slot='menubar-content'],
|
|
365
|
-
[data-slot='menubar-sub-content'],
|
|
366
|
-
[data-slot='hover-card-content'],
|
|
367
|
-
[data-slot='combobox-content'],
|
|
368
|
-
[data-slot='navigation-menu-popup'] {
|
|
369
|
-
border: var(--ds-rule-w) solid var(--zy-glass-bs);
|
|
370
|
-
border-top-color: var(--zy-glass-bt);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
/* Conmutadores (familia «toggle»): píldora de cristal con el activo elevado */
|
|
375
|
-
[data-slot='tabs-list'] {
|
|
376
|
-
background: var(--zy-pill);
|
|
377
|
-
border: var(--ds-rule-w) solid var(--zy-card-bs);
|
|
378
|
-
}
|
|
379
|
-
[data-slot='toggle'],
|
|
380
|
-
[data-slot='toggle-group-item'] {
|
|
381
|
-
border-radius: var(--ds-radius-pill);
|
|
382
|
-
}
|
|
383
|
-
[data-slot='tabs-trigger'][data-active],
|
|
384
|
-
[data-slot='toggle'][aria-pressed='true'],
|
|
385
|
-
[data-slot='toggle-group-item'][aria-pressed='true'] {
|
|
386
|
-
background: var(--zy-pill-on);
|
|
387
|
-
box-shadow: var(--zy-shadow-tab-active);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/* Interruptor y progreso: degradado de marca */
|
|
391
|
-
[data-slot='switch'][data-checked] {
|
|
392
|
-
background-image: var(--zy-accent-g);
|
|
393
|
-
background-color: transparent;
|
|
394
|
-
}
|
|
395
|
-
[data-slot='progress-indicator'] {
|
|
396
|
-
background-image: var(--zy-accent-g);
|
|
397
|
-
background-color: transparent;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/* Sidebar: destino activo con tinte y filo, como la conversación activa de zyro */
|
|
401
|
-
[data-sidebar='menu-button'][data-active='true'] {
|
|
402
|
-
background: var(--zy-conv-a);
|
|
403
|
-
box-shadow: inset 0 0 0 var(--ds-rule-w) var(--zy-conv-ab);
|
|
404
|
-
color: var(--sidebar-accent-foreground);
|
|
405
|
-
}
|
|
406
|
-
[data-sidebar='menu-button']:hover:not([data-active='true']) {
|
|
407
|
-
background: var(--zy-conv-h);
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/* Ajustes de personalidad (vistos en el banco de pruebas) */
|
|
412
|
-
:root:where([data-theme='zyro']) {
|
|
413
|
-
/* Esqueletos: visibles sobre la tarjeta casi blanca */
|
|
414
|
-
[data-slot='skeleton'] {
|
|
415
|
-
background: color-mix(in oklch, var(--foreground) 9%, transparent);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/* Fondo vivo: los degradados derivan despacio (aproximación ligera, sin WebGL de la
|
|
420
|
-
malla original). `prefers-reduced-motion` ya detiene la animación en la estructura. */
|
|
421
|
-
:root:where([data-theme='zyro']) {
|
|
422
|
-
body {
|
|
423
|
-
background-size: 160% 160%;
|
|
424
|
-
animation: zy-drift var(--zy-drift-duration) ease-in-out infinite alternate;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
@keyframes zy-drift {
|
|
428
|
-
from {
|
|
429
|
-
background-position: 0% 0%;
|
|
430
|
-
}
|
|
431
|
-
to {
|
|
432
|
-
background-position: 100% 100%;
|
|
433
|
-
}
|
|
434
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "zyro",
|
|
3
|
-
"light": {
|
|
4
|
-
"palette": [
|
|
5
|
-
"#0349fe",
|
|
6
|
-
"#14bd44",
|
|
7
|
-
"#ffb300",
|
|
8
|
-
"#eb1919",
|
|
9
|
-
"#9747ff",
|
|
10
|
-
"#1267a1",
|
|
11
|
-
"#0b742a",
|
|
12
|
-
"#845f00",
|
|
13
|
-
"#c21414"
|
|
14
|
-
],
|
|
15
|
-
"foreground": "rgba(14, 22, 48, 0.92)",
|
|
16
|
-
"muted": "rgba(14, 22, 48, 0.66)",
|
|
17
|
-
"border": "rgba(168, 190, 235, 0.3)",
|
|
18
|
-
"surface": "#ffffff",
|
|
19
|
-
"surfaceForeground": "rgba(14, 22, 48, 0.92)",
|
|
20
|
-
"fontSans": "'Roboto', system-ui, -apple-system, sans-serif",
|
|
21
|
-
"fontDisplay": "'Montserrat', system-ui, -apple-system, sans-serif",
|
|
22
|
-
"motionBaseMs": 200,
|
|
23
|
-
"motionSlowMs": 300
|
|
24
|
-
},
|
|
25
|
-
"dark": {
|
|
26
|
-
"palette": [
|
|
27
|
-
"#36b3ed",
|
|
28
|
-
"#14bd44",
|
|
29
|
-
"#ffb300",
|
|
30
|
-
"#eb1919",
|
|
31
|
-
"#9747ff",
|
|
32
|
-
"#70b7e3",
|
|
33
|
-
"#3cc864",
|
|
34
|
-
"#ff6b6b"
|
|
35
|
-
],
|
|
36
|
-
"foreground": "rgba(255, 255, 255, 0.94)",
|
|
37
|
-
"muted": "rgba(255, 255, 255, 0.68)",
|
|
38
|
-
"border": "rgba(255, 255, 255, 0.07)",
|
|
39
|
-
"surface": "rgba(22, 32, 68, 0.97)",
|
|
40
|
-
"surfaceForeground": "rgba(255, 255, 255, 0.94)",
|
|
41
|
-
"fontSans": "'Roboto', system-ui, -apple-system, sans-serif",
|
|
42
|
-
"fontDisplay": "'Montserrat', system-ui, -apple-system, sans-serif",
|
|
43
|
-
"motionBaseMs": 200,
|
|
44
|
-
"motionSlowMs": 300
|
|
45
|
-
}
|
|
46
|
-
}
|