orbital-ds 0.48.0 → 0.50.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 +13 -4
- package/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/components.manifest.json +383 -37
- package/dist/auth-form-B1hgbXkI.d.ts +144 -0
- package/dist/hooks/use-ds-messages.d.ts +598 -0
- package/dist/hooks/use-ds-motion.d.ts +17 -0
- package/dist/hooks/use-esc-close-stack.d.ts +3 -0
- package/dist/hooks/use-in-view.d.ts +9 -0
- package/dist/hooks/use-mobile.d.ts +3 -0
- package/dist/hooks/use-simulated-progress.d.ts +11 -0
- package/dist/lib/a2ui-catalog.d.ts +42 -0
- package/dist/lib/a2ui.d.ts +289 -0
- package/dist/lib/ai-events.d.ts +15 -0
- package/dist/lib/auth-better-auth.d.ts +29 -0
- package/dist/lib/auth-flow.d.ts +85 -0
- package/dist/lib/auth-providers.d.ts +194 -0
- package/dist/lib/auth.d.ts +68 -0
- package/dist/lib/brand-allowlist.d.ts +3 -0
- package/dist/lib/brand-allowlist.js +16 -0
- package/dist/lib/brand-runtime.d.ts +52 -0
- package/dist/lib/echarts-presets.d.ts +307 -0
- package/dist/lib/echarts-server.d.ts +15 -0
- package/dist/lib/echarts-setup.d.ts +8 -0
- package/dist/lib/echarts-theme.d.ts +36 -0
- package/dist/lib/format.d.ts +57 -0
- package/dist/lib/header-control.d.ts +4 -0
- package/dist/lib/i18n.d.ts +611 -0
- package/dist/lib/i18n.js +162 -3
- package/dist/lib/image-upload.d.ts +41 -0
- package/dist/lib/locales/de.d.ts +7 -0
- package/dist/lib/locales/de.js +54 -1
- package/dist/lib/locales/fr.d.ts +7 -0
- package/dist/lib/locales/fr.js +54 -1
- package/dist/lib/locales/he.d.ts +7 -0
- package/dist/lib/locales/he.js +54 -1
- package/dist/lib/locales/it.d.ts +7 -0
- package/dist/lib/locales/it.js +54 -1
- package/dist/lib/motion.d.ts +74 -0
- package/dist/lib/presets.d.ts +8 -0
- package/dist/lib/template-syntax.d.ts +22 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/motion.css +146 -0
- package/dist/styles.css +1819 -0
- package/dist/themes/chocolate.css +259 -0
- package/dist/themes/chocolate.fonts.css +2 -0
- package/dist/themes/chocolate.guide.md +30 -0
- package/dist/themes/chocolate.meta.json +61 -0
- package/dist/themes/chocolate.scoped.css +259 -0
- package/dist/themes/chocolate.tokens.json +49 -0
- package/dist/themes/fractalia.css +556 -0
- package/dist/themes/fractalia.fonts.css +3 -0
- package/dist/themes/fractalia.guide.md +86 -0
- package/dist/themes/fractalia.meta.json +112 -0
- package/dist/themes/fractalia.scoped.css +556 -0
- package/dist/themes/fractalia.tokens.json +39 -0
- package/dist/themes/friendly.css +375 -0
- package/dist/themes/friendly.fonts.css +2 -0
- package/dist/themes/friendly.guide.md +38 -0
- package/dist/themes/friendly.meta.json +82 -0
- package/dist/themes/friendly.scoped.css +375 -0
- package/dist/themes/friendly.tokens.json +45 -0
- package/dist/themes/lagoon.css +362 -0
- package/dist/themes/lagoon.fonts.css +2 -0
- package/dist/themes/lagoon.guide.md +47 -0
- package/dist/themes/lagoon.meta.json +85 -0
- package/dist/themes/lagoon.scoped.css +362 -0
- package/dist/themes/lagoon.tokens.json +49 -0
- package/dist/themes/liquid.css +510 -0
- package/dist/themes/liquid.fonts.css +7 -0
- package/dist/themes/liquid.guide.md +82 -0
- package/dist/themes/liquid.meta.json +134 -0
- package/dist/themes/liquid.scoped.css +510 -0
- package/dist/themes/liquid.tokens.json +47 -0
- package/dist/themes/matcha.css +259 -0
- package/dist/themes/matcha.fonts.css +2 -0
- package/dist/themes/matcha.guide.md +30 -0
- package/dist/themes/matcha.meta.json +61 -0
- package/dist/themes/matcha.scoped.css +259 -0
- package/dist/themes/matcha.tokens.json +49 -0
- package/dist/themes/qratia.css +264 -0
- package/dist/themes/qratia.fonts.css +2 -0
- package/dist/themes/qratia.guide.md +34 -0
- package/dist/themes/qratia.meta.json +49 -0
- package/dist/themes/qratia.scoped.css +264 -0
- package/dist/themes/qratia.tokens.json +49 -0
- package/dist/themes/stone.css +263 -0
- package/dist/themes/stone.fonts.css +2 -0
- package/dist/themes/stone.guide.md +30 -0
- package/dist/themes/stone.meta.json +47 -0
- package/dist/themes/stone.scoped.css +263 -0
- package/dist/themes/stone.tokens.json +49 -0
- package/dist/themes/tactile.css +591 -0
- package/dist/themes/tactile.fonts.css +3 -0
- package/dist/themes/tactile.guide.md +82 -0
- package/dist/themes/tactile.meta.json +182 -0
- package/dist/themes/tactile.scoped.css +591 -0
- package/dist/themes/tactile.tokens.json +42 -0
- package/dist/themes/twitter.css +364 -0
- package/dist/themes/twitter.fonts.css +6 -0
- package/dist/themes/twitter.guide.md +35 -0
- package/dist/themes/twitter.meta.json +90 -0
- package/dist/themes/twitter.scoped.css +364 -0
- package/dist/themes/twitter.tokens.json +45 -0
- package/dist/themes/y2k.css +259 -0
- package/dist/themes/y2k.fonts.css +2 -0
- package/dist/themes/y2k.guide.md +30 -0
- package/dist/themes/y2k.meta.json +59 -0
- package/dist/themes/y2k.scoped.css +259 -0
- package/dist/themes/y2k.tokens.json +49 -0
- package/dist/themes/zyro.css +442 -0
- package/dist/themes/zyro.fonts.css +2 -0
- package/dist/themes/zyro.guide.md +33 -0
- package/dist/themes/zyro.meta.json +74 -0
- package/dist/themes/zyro.scoped.css +442 -0
- package/dist/themes/zyro.tokens.json +46 -0
- package/dist/ui/a2ui-renderer.d.ts +44 -0
- package/dist/ui/accordion.d.ts +9 -0
- package/dist/ui/agent-events.d.ts +49 -0
- package/dist/ui/ai-tag.d.ts +24 -0
- package/dist/ui/alert-dialog.d.ts +60 -0
- package/dist/ui/alert.d.ts +13 -0
- package/dist/ui/animated-number.d.ts +20 -0
- package/dist/ui/api-key-list.d.ts +40 -0
- package/dist/ui/api-key-list.js +89 -0
- package/dist/ui/app-bar.d.ts +32 -0
- package/dist/ui/aspect-ratio.d.ts +7 -0
- package/dist/ui/attachment.d.ts +26 -0
- package/dist/ui/audit-log.d.ts +53 -0
- package/dist/ui/audit-log.js +102 -0
- package/dist/ui/auth-backdrop.d.ts +37 -0
- package/dist/ui/auth-form.d.ts +4 -0
- package/dist/ui/auth-layout.d.ts +110 -0
- package/dist/ui/auth-parts.d.ts +43 -0
- package/dist/ui/auth-status.d.ts +23 -0
- package/dist/ui/avatar.d.ts +43 -0
- package/dist/ui/ayuda.d.ts +22 -0
- package/dist/ui/badge.d.ts +15 -0
- package/dist/ui/banner.d.ts +14 -0
- package/dist/ui/bottom-nav.d.ts +37 -0
- package/dist/ui/breadcrumb.d.ts +34 -0
- package/dist/ui/bubble.d.ts +19 -0
- package/dist/ui/button-group.d.ts +15 -0
- package/dist/ui/button.d.ts +14 -0
- package/dist/ui/calendar.d.ts +28 -0
- package/dist/ui/card-stack.d.ts +36 -0
- package/dist/ui/card.d.ts +61 -0
- package/dist/ui/carousel.d.ts +68 -0
- package/dist/ui/chain-of-thought.d.ts +34 -0
- package/dist/ui/chart-card.d.ts +46 -0
- package/dist/ui/chat-composer.d.ts +58 -0
- package/dist/ui/checkbox.d.ts +6 -0
- package/dist/ui/choice-card.d.ts +49 -0
- package/dist/ui/code-block.d.ts +29 -0
- package/dist/ui/collapsible.d.ts +8 -0
- package/dist/ui/combobox.d.ts +74 -0
- package/dist/ui/command-palette.d.ts +54 -0
- package/dist/ui/command.d.ts +56 -0
- package/dist/ui/confirm-action.d.ts +48 -0
- package/dist/ui/confirm-dialog.d.ts +44 -0
- package/dist/ui/connected-accounts.d.ts +25 -0
- package/dist/ui/content-card.d.ts +66 -0
- package/dist/ui/context-menu.d.ts +66 -0
- package/dist/ui/conversation-list.d.ts +44 -0
- package/dist/ui/copy-button.d.ts +25 -0
- package/dist/ui/cta-banner.d.ts +30 -0
- package/dist/ui/data-table.d.ts +198 -0
- package/dist/ui/date-picker.d.ts +65 -0
- package/dist/ui/date-time.d.ts +40 -0
- package/dist/ui/description-list.d.ts +49 -0
- package/dist/ui/detail-panel.d.ts +40 -0
- package/dist/ui/dialog.d.ts +54 -0
- package/dist/ui/direction.d.ts +1 -0
- package/dist/ui/dock.d.ts +30 -0
- package/dist/ui/drawer.d.ts +59 -0
- package/dist/ui/dropdown-menu.d.ts +63 -0
- package/dist/ui/dropzone.d.ts +44 -0
- package/dist/ui/echart.d.ts +46 -0
- package/dist/ui/empty-state.d.ts +26 -0
- package/dist/ui/empty.d.ts +15 -0
- package/dist/ui/entity-list.d.ts +57 -0
- package/dist/ui/error-page.d.ts +28 -0
- package/dist/ui/error-state.d.ts +16 -0
- package/dist/ui/eyebrow.d.ts +7 -0
- package/dist/ui/faq.d.ts +34 -0
- package/dist/ui/feature-grid.d.ts +40 -0
- package/dist/ui/field.d.ts +28 -0
- package/dist/ui/file-upload.d.ts +42 -0
- package/dist/ui/filter-bar.d.ts +38 -0
- package/dist/ui/form-layout.d.ts +43 -0
- package/dist/ui/gauge.d.ts +66 -0
- package/dist/ui/generated-image.d.ts +33 -0
- package/dist/ui/generated-table.d.ts +29 -0
- package/dist/ui/heatmap-grid.d.ts +59 -0
- package/dist/ui/hero.d.ts +58 -0
- package/dist/ui/hover-card.d.ts +8 -0
- package/dist/ui/i18n-provider.d.ts +27 -0
- package/dist/ui/icon-tile.d.ts +11 -0
- package/dist/ui/input-group.d.ts +22 -0
- package/dist/ui/input-otp.d.ts +36 -0
- package/dist/ui/input.d.ts +21 -0
- package/dist/ui/instruction-editor.d.ts +81 -0
- package/dist/ui/item.d.ts +26 -0
- package/dist/ui/kbd.d.ts +6 -0
- package/dist/ui/label.d.ts +22 -0
- package/dist/ui/landing-section.d.ts +34 -0
- package/dist/ui/legend.d.ts +57 -0
- package/dist/ui/level-meter.d.ts +28 -0
- package/dist/ui/load-more.d.ts +36 -0
- package/dist/ui/loading-state.d.ts +26 -0
- package/dist/ui/locale-switcher.d.ts +19 -0
- package/dist/ui/markdown.d.ts +29 -0
- package/dist/ui/marker.d.ts +13 -0
- package/dist/ui/media-card.d.ts +29 -0
- package/dist/ui/member-list.d.ts +43 -0
- package/dist/ui/member-list.js +107 -0
- package/dist/ui/menubar.d.ts +70 -0
- package/dist/ui/message-actions.d.ts +21 -0
- package/dist/ui/message-scroller.d.ts +46 -0
- package/dist/ui/message.d.ts +45 -0
- package/dist/ui/mfa-challenge.d.ts +4 -0
- package/dist/ui/mfa-setup.d.ts +29 -0
- package/dist/ui/mosaic.d.ts +38 -0
- package/dist/ui/motion-provider.d.ts +28 -0
- package/dist/ui/native-select.d.ts +32 -0
- package/dist/ui/navigation-menu.d.ts +15 -0
- package/dist/ui/next-step-card.d.ts +55 -0
- package/dist/ui/notice-review.d.ts +64 -0
- package/dist/ui/notifications.d.ts +81 -0
- package/dist/ui/oauth-consent.d.ts +54 -0
- package/dist/ui/onboarding-checklist.d.ts +38 -0
- package/dist/ui/onboarding-checklist.js +132 -0
- package/dist/ui/page-header.d.ts +64 -0
- package/dist/ui/page-loader.d.ts +40 -0
- package/dist/ui/page-shell.d.ts +25 -0
- package/dist/ui/pagination.d.ts +42 -0
- package/dist/ui/panel.d.ts +12 -0
- package/dist/ui/passkey-list.d.ts +17 -0
- package/dist/ui/password-input.d.ts +5 -0
- package/dist/ui/password-strength.d.ts +28 -0
- package/dist/ui/permission-matrix.d.ts +35 -0
- package/dist/ui/permission-matrix.js +89 -0
- package/dist/ui/plan-summary.d.ts +59 -0
- package/dist/ui/plan-summary.js +92 -0
- package/dist/ui/popover.d.ts +44 -0
- package/dist/ui/pricing-table.d.ts +29 -0
- package/dist/ui/progress.d.ts +9 -0
- package/dist/ui/proportion-bar.d.ts +52 -0
- package/dist/ui/quantity.d.ts +25 -0
- package/dist/ui/questionnaire.d.ts +62 -0
- package/dist/ui/radio-group.d.ts +8 -0
- package/dist/ui/reasoning.d.ts +24 -0
- package/dist/ui/resizable.d.ts +10 -0
- package/dist/ui/reveal.d.ts +28 -0
- package/dist/ui/scroll-area.d.ts +7 -0
- package/dist/ui/search-box.d.ts +32 -0
- package/dist/ui/select.d.ts +19 -0
- package/dist/ui/separator.d.ts +6 -0
- package/dist/ui/session-list.d.ts +19 -0
- package/dist/ui/session-timeout.d.ts +13 -0
- package/dist/ui/sheet.d.ts +53 -0
- package/dist/ui/shield.d.ts +35 -0
- package/dist/ui/show-more.d.ts +26 -0
- package/dist/ui/sidebar.d.ts +92 -0
- package/dist/ui/sign-out-dialog.d.ts +17 -0
- package/dist/ui/skeleton.d.ts +10 -0
- package/dist/ui/slider.d.ts +23 -0
- package/dist/ui/sparkline.d.ts +26 -0
- package/dist/ui/spinner.d.ts +5 -0
- package/dist/ui/stat-group.d.ts +40 -0
- package/dist/ui/stat.d.ts +90 -0
- package/dist/ui/status-badge.d.ts +39 -0
- package/dist/ui/status-hero.d.ts +30 -0
- package/dist/ui/step-dots.d.ts +22 -0
- package/dist/ui/step-flow.d.ts +48 -0
- package/dist/ui/step-ring.d.ts +26 -0
- package/dist/ui/stepper.d.ts +20 -0
- package/dist/ui/suggestions.d.ts +17 -0
- package/dist/ui/switch.d.ts +8 -0
- package/dist/ui/table.d.ts +38 -0
- package/dist/ui/tabs.d.ts +14 -0
- package/dist/ui/tag-input.d.ts +21 -0
- package/dist/ui/task-loader.d.ts +29 -0
- package/dist/ui/task-progress.d.ts +32 -0
- package/dist/ui/testimonial.d.ts +37 -0
- package/dist/ui/textarea.d.ts +32 -0
- package/dist/ui/theme-toggle.d.ts +14 -0
- package/dist/ui/timeline.d.ts +55 -0
- package/dist/ui/toast.d.ts +19 -0
- package/dist/ui/toggle-group.d.ts +38 -0
- package/dist/ui/toggle.d.ts +12 -0
- package/dist/ui/tool-call.d.ts +27 -0
- package/dist/ui/tooltip.d.ts +9 -0
- package/dist/ui/upgrade-prompt.d.ts +24 -0
- package/dist/ui/upgrade-prompt.js +85 -0
- package/dist/ui/usage-meter.d.ts +42 -0
- package/dist/ui/week-strip.d.ts +23 -0
- package/dist/ui/workflow-run.d.ts +51 -0
- package/dist/ui/workspace-switcher.d.ts +28 -0
- package/dist/ui/workspace-switcher.js +92 -0
- package/docs/GRAFICOS.md +1 -1
- package/docs/designer/patrones.md +29 -1
- package/manifest/actions.json +1 -1
- package/manifest/agents.json +1 -1
- package/manifest/ai.json +1 -1
- package/manifest/auth.json +1 -1
- package/manifest/chat.json +1 -1
- package/manifest/content.json +1 -1
- package/manifest/data.json +498 -1
- package/manifest/feedback.json +230 -43
- package/manifest/forms.json +1 -1
- package/manifest/motion.json +1 -1
- package/manifest/navigation.json +102 -1
- package/manifest/overlays.json +2 -2
- package/package.json +1 -11
- package/scripts/cli.mjs +63 -5
- package/scripts/doctor.mjs +5 -3
- package/scripts/skill.mjs +85 -0
- package/skill/SKILL.md +5 -2
- package/dist/ui/sonner.js +0 -60
|
@@ -0,0 +1,442 @@
|
|
|
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
|
+
/* 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
|
+
/* Gris estándar (scripts/neutral.mjs): solo el matiz; los neutros se calculan */
|
|
46
|
+
--ds-neutral-h: 272;
|
|
47
|
+
--ds-neutral-c: 0.036;
|
|
48
|
+
|
|
49
|
+
--background: #f0f4ff;
|
|
50
|
+
--foreground: #101526;
|
|
51
|
+
|
|
52
|
+
--card: #fafcff;
|
|
53
|
+
--card-foreground: #101526;
|
|
54
|
+
--popover: #fafcff;
|
|
55
|
+
--popover-foreground: #101526;
|
|
56
|
+
|
|
57
|
+
--primary: #0349fe;
|
|
58
|
+
--primary-foreground: #ffffff;
|
|
59
|
+
--secondary: #ebf0ff;
|
|
60
|
+
--secondary-foreground: #101526;
|
|
61
|
+
--muted: #ebf0ff;
|
|
62
|
+
--muted-foreground: #535a70;
|
|
63
|
+
--accent: rgba(3, 73, 254, 0.09);
|
|
64
|
+
--accent-foreground: #0349fe;
|
|
65
|
+
--destructive: #e61919;
|
|
66
|
+
--destructive-foreground: #ffffff;
|
|
67
|
+
|
|
68
|
+
--border: #d8ddef;
|
|
69
|
+
--input: #c4cade;
|
|
70
|
+
--ring: #0349fe;
|
|
71
|
+
|
|
72
|
+
--chart-1: #0349fe;
|
|
73
|
+
--chart-2: #14bd44;
|
|
74
|
+
--chart-3: #ffb300;
|
|
75
|
+
--chart-4: #eb1919;
|
|
76
|
+
--chart-5: #9747ff;
|
|
77
|
+
|
|
78
|
+
--sidebar: rgba(255, 255, 255, 0.58);
|
|
79
|
+
--sidebar-foreground: rgba(14, 22, 48, 0.78);
|
|
80
|
+
--sidebar-primary: #0349fe;
|
|
81
|
+
--sidebar-primary-foreground: #ffffff;
|
|
82
|
+
--sidebar-accent: rgba(3, 73, 254, 0.09);
|
|
83
|
+
--sidebar-accent-foreground: #0349fe;
|
|
84
|
+
--sidebar-border: rgba(168, 190, 235, 0.35);
|
|
85
|
+
--sidebar-ring: #0349fe;
|
|
86
|
+
|
|
87
|
+
--danger: #c21414;
|
|
88
|
+
--danger-soft: rgba(235, 25, 25, 0.1);
|
|
89
|
+
--warning: #845f00;
|
|
90
|
+
--warning-soft: rgba(255, 179, 0, 0.16);
|
|
91
|
+
--success: #0b742a;
|
|
92
|
+
--success-soft: rgba(20, 189, 68, 0.12);
|
|
93
|
+
--info: #1267a1;
|
|
94
|
+
--info-soft: rgba(42, 147, 213, 0.12);
|
|
95
|
+
--neutral: rgba(14, 22, 48, 0.63);
|
|
96
|
+
--neutral-soft: rgba(14, 22, 48, 0.06);
|
|
97
|
+
|
|
98
|
+
--link: #0349fe;
|
|
99
|
+
--link-hover: #0236c0;
|
|
100
|
+
--inset: #e2e7f9;
|
|
101
|
+
--inset-foreground: #101526;
|
|
102
|
+
--brand: #0349fe;
|
|
103
|
+
--brand-bright: #36b3ed;
|
|
104
|
+
|
|
105
|
+
/* Formas: la esquina crece con el tamaño del contenedor (7·10·14·18·22) */
|
|
106
|
+
--ds-radius-sm: 7px;
|
|
107
|
+
--ds-radius-md: 10px;
|
|
108
|
+
--ds-radius-lg: 14px;
|
|
109
|
+
--ds-radius-xl: 18px;
|
|
110
|
+
--ds-radius-2xl: 22px;
|
|
111
|
+
--ds-radius-control: 10px;
|
|
112
|
+
--ds-radius-overlay: 22px;
|
|
113
|
+
/* Píldoras: botones, etiquetas y conmutadores; el botón de solo icono, redondeado */
|
|
114
|
+
--ds-radius-button: var(--ds-radius-pill);
|
|
115
|
+
--ds-radius-button-icon: var(--ds-radius-xl);
|
|
116
|
+
--ds-radius-badge: var(--ds-radius-pill);
|
|
117
|
+
--ds-radius-tabs-list: var(--ds-radius-pill);
|
|
118
|
+
--ds-radius-tab: var(--ds-radius-pill);
|
|
119
|
+
|
|
120
|
+
/* Sombras de cristal: capa tenue + brillo interior en el borde superior */
|
|
121
|
+
--ds-shadow-card: 0 2px 14px rgba(28, 48, 100, 0.07);
|
|
122
|
+
--ds-shadow-card-hover: 0 6px 26px rgba(28, 48, 100, 0.1);
|
|
123
|
+
--ds-shadow-raised: 0 4px 30px rgba(28, 48, 100, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
|
|
124
|
+
--ds-shadow-overlay: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
125
|
+
--ds-shadow-popover: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
126
|
+
|
|
127
|
+
/* Medidas: controles algo más altos y holgados */
|
|
128
|
+
--ds-control-h-sm: 2.25rem;
|
|
129
|
+
--ds-control-h-md: 2.5rem;
|
|
130
|
+
--ds-control-h-lg: 2.75rem;
|
|
131
|
+
--ds-button-px-sm: 1rem;
|
|
132
|
+
--ds-button-px-md: 1.25rem;
|
|
133
|
+
--ds-button-px-lg: 1.5rem;
|
|
134
|
+
--ds-field-px: 1rem;
|
|
135
|
+
--ds-field-bg: var(--zy-field-bg); /* cristal claro (cada piel da su --zy-field-bg) */
|
|
136
|
+
|
|
137
|
+
/* Materiales: cristal en navegación y controles; tarjetas sin desenfoque */
|
|
138
|
+
--ds-sidebar-backdrop: blur(28px) saturate(180%);
|
|
139
|
+
--ds-overlay-backdrop: blur(28px) saturate(180%);
|
|
140
|
+
--ds-field-backdrop: blur(12px) saturate(160%);
|
|
141
|
+
--ds-card-backdrop: none;
|
|
142
|
+
--ds-page-backdrop:
|
|
143
|
+
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.3), transparent 70%),
|
|
144
|
+
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.16), transparent 70%),
|
|
145
|
+
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.14), transparent 70%);
|
|
146
|
+
|
|
147
|
+
/* Sidebar a ras de borde: sin separación, sin silueta; filo de 1px */
|
|
148
|
+
--ds-sidebar-pad: 0px;
|
|
149
|
+
--ds-sidebar-radius: 0px;
|
|
150
|
+
--ds-sidebar-shadow: 0 0 #0000;
|
|
151
|
+
--ds-sidebar-ring: 0px;
|
|
152
|
+
--ds-sidebar-edge: 1px solid var(--zy-glass-bs);
|
|
153
|
+
--ds-sidebar-item-radius: var(--ds-radius-lg);
|
|
154
|
+
|
|
155
|
+
/* Privadas de zyro */
|
|
156
|
+
--zy-accent-g: linear-gradient(135deg, #0349fe, #36b3ed);
|
|
157
|
+
--zy-accent-glow: rgba(3, 73, 254, 0.24);
|
|
158
|
+
--zy-glass-bt: rgba(255, 255, 255, 0.95);
|
|
159
|
+
--zy-glass-bs: rgba(168, 190, 235, 0.4);
|
|
160
|
+
--zy-card-bt: rgba(255, 255, 255, 1);
|
|
161
|
+
--zy-card-bs: rgba(168, 190, 235, 0.46);
|
|
162
|
+
--zy-field-bg: rgba(255, 255, 255, 0.72);
|
|
163
|
+
--zy-field-b: rgba(168, 190, 235, 0.55);
|
|
164
|
+
--zy-field-bt: rgba(255, 255, 255, 1);
|
|
165
|
+
--zy-pill: rgba(255, 255, 255, 0.55);
|
|
166
|
+
--zy-pill-on: rgba(255, 255, 255, 0.98);
|
|
167
|
+
--zy-conv-h: rgba(20, 40, 90, 0.04);
|
|
168
|
+
--zy-conv-a: rgba(3, 73, 254, 0.07);
|
|
169
|
+
--zy-conv-ab: rgba(3, 73, 254, 0.24);
|
|
170
|
+
--zy-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
171
|
+
--ds-hover-bg: #e3e9fb;
|
|
172
|
+
--ds-active-bg: #d9dff2;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* ── 1b. VARIABLES · PIEL OSCURA ─────────────────────────────────────────── */
|
|
176
|
+
.dark {
|
|
177
|
+
--background: #080b14;
|
|
178
|
+
--foreground: #ebeef9;
|
|
179
|
+
|
|
180
|
+
--card: #121522;
|
|
181
|
+
--card-foreground: #ebeef9;
|
|
182
|
+
--popover: #121522;
|
|
183
|
+
--popover-foreground: #ebeef9;
|
|
184
|
+
|
|
185
|
+
--primary: #36b3ed;
|
|
186
|
+
--primary-foreground: #04121c;
|
|
187
|
+
--secondary: #1d2130;
|
|
188
|
+
--secondary-foreground: #ebeef9;
|
|
189
|
+
--muted: #1d2130;
|
|
190
|
+
--muted-foreground: #a0a7bd;
|
|
191
|
+
--accent: rgba(54, 179, 237, 0.16);
|
|
192
|
+
--accent-foreground: #36b3ed;
|
|
193
|
+
--destructive: #e61919;
|
|
194
|
+
--destructive-foreground: #ffffff;
|
|
195
|
+
|
|
196
|
+
--border: #2b303f;
|
|
197
|
+
--input: #343a4c;
|
|
198
|
+
--ring: #36b3ed;
|
|
199
|
+
|
|
200
|
+
--chart-1: #36b3ed;
|
|
201
|
+
--chart-2: #14bd44;
|
|
202
|
+
--chart-3: #ffb300;
|
|
203
|
+
--chart-4: #eb1919;
|
|
204
|
+
--chart-5: #9747ff;
|
|
205
|
+
|
|
206
|
+
--sidebar: rgba(255, 255, 255, 0.04);
|
|
207
|
+
--sidebar-foreground: rgba(255, 255, 255, 0.72);
|
|
208
|
+
--sidebar-primary: #36b3ed;
|
|
209
|
+
--sidebar-primary-foreground: #04121c;
|
|
210
|
+
--sidebar-accent: rgba(54, 179, 237, 0.16);
|
|
211
|
+
--sidebar-accent-foreground: #36b3ed;
|
|
212
|
+
--sidebar-border: rgba(255, 255, 255, 0.07);
|
|
213
|
+
--sidebar-ring: #36b3ed;
|
|
214
|
+
|
|
215
|
+
--danger: #ff6b6b;
|
|
216
|
+
--danger-soft: rgba(235, 25, 25, 0.2);
|
|
217
|
+
--warning: #ffb300;
|
|
218
|
+
--warning-soft: rgba(255, 179, 0, 0.18);
|
|
219
|
+
--success: #3cc864;
|
|
220
|
+
--success-soft: rgba(20, 189, 68, 0.18);
|
|
221
|
+
--info: #70b7e3;
|
|
222
|
+
--info-soft: rgba(42, 147, 213, 0.2);
|
|
223
|
+
--neutral: rgba(255, 255, 255, 0.6);
|
|
224
|
+
--neutral-soft: rgba(255, 255, 255, 0.08);
|
|
225
|
+
|
|
226
|
+
--link: #36b3ed;
|
|
227
|
+
--link-hover: #7fd0f5;
|
|
228
|
+
--inset: #0c0f1a;
|
|
229
|
+
--inset-foreground: #ebeef9;
|
|
230
|
+
--brand: #36b3ed;
|
|
231
|
+
--brand-bright: #7fd0f5;
|
|
232
|
+
|
|
233
|
+
--ds-shadow-card: 0 2px 14px rgba(0, 0, 0, 0.3);
|
|
234
|
+
--ds-shadow-card-hover: 0 6px 26px rgba(0, 0, 0, 0.38);
|
|
235
|
+
--ds-shadow-raised: 0 8px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
236
|
+
--ds-shadow-overlay: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
237
|
+
--ds-shadow-popover: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
238
|
+
|
|
239
|
+
--ds-sidebar-backdrop: blur(24px) saturate(180%);
|
|
240
|
+
--ds-overlay-backdrop: blur(24px) saturate(180%);
|
|
241
|
+
--ds-page-backdrop:
|
|
242
|
+
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.26), transparent 70%),
|
|
243
|
+
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.24), transparent 70%),
|
|
244
|
+
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.2), transparent 70%);
|
|
245
|
+
|
|
246
|
+
--zy-accent-g: linear-gradient(135deg, #36b3ed, #0349fe);
|
|
247
|
+
--zy-accent-glow: rgba(54, 179, 237, 0.42);
|
|
248
|
+
--zy-glass-bt: rgba(255, 255, 255, 0.3);
|
|
249
|
+
--zy-glass-bs: rgba(255, 255, 255, 0.07);
|
|
250
|
+
--zy-card-bt: rgba(255, 255, 255, 0.11);
|
|
251
|
+
--zy-card-bs: rgba(255, 255, 255, 0.06);
|
|
252
|
+
--zy-field-bg: rgba(255, 255, 255, 0.06);
|
|
253
|
+
--zy-field-b: rgba(255, 255, 255, 0.12);
|
|
254
|
+
--zy-field-bt: rgba(255, 255, 255, 0.26);
|
|
255
|
+
--zy-pill: rgba(255, 255, 255, 0.05);
|
|
256
|
+
--zy-pill-on: rgba(255, 255, 255, 0.12);
|
|
257
|
+
--zy-conv-h: rgba(255, 255, 255, 0.05);
|
|
258
|
+
--zy-conv-a: rgba(54, 179, 237, 0.14);
|
|
259
|
+
--zy-conv-ab: rgba(54, 179, 237, 0.4);
|
|
260
|
+
--ds-hover-bg: #262b3a;
|
|
261
|
+
--ds-active-bg: #303545;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* ── VARIABLES DE LA PERSONALIDAD ────────────────────────────────────────────
|
|
265
|
+
* Lo que las reglas de abajo piden: cámbialo aquí (o en el brand.css de la app),
|
|
266
|
+
* nunca en las reglas. Las `--zy-*` son privadas del tema.
|
|
267
|
+
*/
|
|
268
|
+
:root {
|
|
269
|
+
/* Movimiento: suave y largo, como el cristal; curva muy amortiguada */
|
|
270
|
+
--ds-motion-fast: 140ms;
|
|
271
|
+
--ds-motion-base: 260ms;
|
|
272
|
+
--ds-motion-slow: 380ms;
|
|
273
|
+
--ds-ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
|
|
274
|
+
--ds-ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
|
|
275
|
+
--ds-ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
|
|
276
|
+
--ds-motion-distance: 12px;
|
|
277
|
+
--ds-motion-scale: 0.97;
|
|
278
|
+
--ds-motion-blur: 6px;
|
|
279
|
+
--ds-spring-bounce: 0.1;
|
|
280
|
+
--ds-motion-stagger: 55ms;
|
|
281
|
+
--ds-motion-press-scale: 0.98;
|
|
282
|
+
--ds-rule-w: 1px;
|
|
283
|
+
--ds-shadow-button: 0 4px 16px var(--zy-accent-glow);
|
|
284
|
+
--ds-shadow-button-hover: 0 6px 22px var(--zy-accent-glow);
|
|
285
|
+
--zy-accent-ink: #ffffff; /* texto sobre el degradado de marca, en las dos pieles */
|
|
286
|
+
--zy-shadow-danger: 0 4px 16px rgba(235, 25, 25, 0.3);
|
|
287
|
+
--zy-shadow-tab-active: 0 1px 6px rgba(28, 48, 100, 0.12);
|
|
288
|
+
--zy-press-scale: 0.98;
|
|
289
|
+
--zy-hover-brightness: 1.1;
|
|
290
|
+
--zy-drift-duration: 40s;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* La sombra lee un color que cambia de piel: se repite en .dark para que se resuelva allí. */
|
|
294
|
+
.dark {
|
|
295
|
+
--ds-shadow-button: 0 4px 16px var(--zy-accent-glow);
|
|
296
|
+
--ds-shadow-button-hover: 0 6px 22px var(--zy-accent-glow);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/* ── 2. PERSONALIDAD ─────────────────────────────────────────────────────────
|
|
300
|
+
* Sin capa: gana a las utilidades de los componentes. Solo variables (lo comprueba
|
|
301
|
+
* el doctor: tema `conformance: strict`). Familias completas.
|
|
302
|
+
*/
|
|
303
|
+
:root {
|
|
304
|
+
/* Botones: píldora. Acción primaria con degradado de marca y brillo. */
|
|
305
|
+
[data-slot='button'] {
|
|
306
|
+
transition: all var(--ds-motion-base) var(--zy-ease);
|
|
307
|
+
}
|
|
308
|
+
[data-slot='button']:active:not(:disabled) {
|
|
309
|
+
transform: scale(var(--zy-press-scale));
|
|
310
|
+
}
|
|
311
|
+
[data-slot='button'][data-variant='default'] {
|
|
312
|
+
background-color: transparent;
|
|
313
|
+
background-image: var(--zy-accent-g);
|
|
314
|
+
color: var(--zy-accent-ink);
|
|
315
|
+
border-color: transparent;
|
|
316
|
+
box-shadow: var(--ds-shadow-button);
|
|
317
|
+
}
|
|
318
|
+
[data-slot='button'][data-variant='default']:hover:not(:disabled) {
|
|
319
|
+
filter: brightness(var(--zy-hover-brightness));
|
|
320
|
+
box-shadow: var(--ds-shadow-button-hover);
|
|
321
|
+
}
|
|
322
|
+
[data-slot='button'][data-variant='destructive'] {
|
|
323
|
+
box-shadow: var(--zy-shadow-danger);
|
|
324
|
+
}
|
|
325
|
+
[data-slot='button'][data-variant='outline'],
|
|
326
|
+
[data-slot='button'][data-variant='secondary'] {
|
|
327
|
+
border: var(--ds-rule-w) solid var(--zy-field-b);
|
|
328
|
+
background: color-mix(in oklch, var(--foreground) 5%, var(--background));
|
|
329
|
+
color: var(--muted-foreground);
|
|
330
|
+
}
|
|
331
|
+
[data-slot='button'][data-variant='outline']:hover:not(:disabled),
|
|
332
|
+
[data-slot='button'][data-variant='secondary']:hover:not(:disabled) {
|
|
333
|
+
background: color-mix(in oklch, var(--foreground) 11%, var(--background));
|
|
334
|
+
color: var(--foreground);
|
|
335
|
+
}
|
|
336
|
+
[data-slot='button'][data-variant='ghost']:hover:not(:disabled) {
|
|
337
|
+
background: var(--zy-conv-h);
|
|
338
|
+
color: var(--foreground);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* Tarjetas: contenido casi opaco con filo superior luminoso */
|
|
342
|
+
[data-slot='card'],
|
|
343
|
+
[data-slot='panel'][data-variant='default'],
|
|
344
|
+
[data-slot='stat'][data-variant='card'],
|
|
345
|
+
[data-slot='item'][data-variant='card'] {
|
|
346
|
+
border: var(--ds-rule-w) solid var(--zy-card-bs);
|
|
347
|
+
border-top-color: var(--zy-card-bt);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* Campos (familia «field»): filo superior; el cristal claro va en --ds-field-bg */
|
|
351
|
+
[data-slot='input'],
|
|
352
|
+
[data-slot='textarea'],
|
|
353
|
+
[data-slot='select-trigger'],
|
|
354
|
+
[data-slot='native-select'],
|
|
355
|
+
[data-slot='input-group'],
|
|
356
|
+
[data-slot='input-otp-slot'] {
|
|
357
|
+
border-color: var(--zy-field-b);
|
|
358
|
+
border-top-color: var(--zy-field-bt);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* Capas (familias «modal» y «floating»): filo de cristal */
|
|
362
|
+
[data-slot='dialog-content'],
|
|
363
|
+
[data-slot='sheet-content'],
|
|
364
|
+
[data-slot='alert-dialog-content'],
|
|
365
|
+
[data-slot='drawer-popup'],
|
|
366
|
+
[data-slot='popover-content'],
|
|
367
|
+
[data-slot='dropdown-menu-content'],
|
|
368
|
+
[data-slot='dropdown-menu-sub-content'],
|
|
369
|
+
[data-slot='select-content'],
|
|
370
|
+
[data-slot='context-menu-content'],
|
|
371
|
+
[data-slot='context-menu-sub-content'],
|
|
372
|
+
[data-slot='menubar-content'],
|
|
373
|
+
[data-slot='menubar-sub-content'],
|
|
374
|
+
[data-slot='hover-card-content'],
|
|
375
|
+
[data-slot='combobox-content'],
|
|
376
|
+
[data-slot='navigation-menu-popup'] {
|
|
377
|
+
border: var(--ds-rule-w) solid var(--zy-glass-bs);
|
|
378
|
+
border-top-color: var(--zy-glass-bt);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
/* Conmutadores (familia «toggle»): píldora de cristal con el activo elevado */
|
|
383
|
+
[data-slot='tabs-list']:not([data-variant='line']) {
|
|
384
|
+
background: var(--zy-pill);
|
|
385
|
+
border: var(--ds-rule-w) solid var(--zy-card-bs);
|
|
386
|
+
}
|
|
387
|
+
[data-slot='toggle'],
|
|
388
|
+
[data-slot='toggle-group-item'] {
|
|
389
|
+
border-radius: var(--ds-radius-pill);
|
|
390
|
+
}
|
|
391
|
+
[data-variant='default'] > [data-slot='tabs-trigger'][data-active],
|
|
392
|
+
[data-slot='toggle'][aria-pressed='true'],
|
|
393
|
+
[data-slot='toggle-group-item'][aria-pressed='true'] {
|
|
394
|
+
background: var(--zy-pill-on);
|
|
395
|
+
box-shadow: var(--zy-shadow-tab-active);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/* Interruptor y progreso: degradado de marca */
|
|
399
|
+
[data-slot='switch'][data-checked] {
|
|
400
|
+
background-image: var(--zy-accent-g);
|
|
401
|
+
background-color: transparent;
|
|
402
|
+
}
|
|
403
|
+
[data-slot='progress-indicator'] {
|
|
404
|
+
background-image: var(--zy-accent-g);
|
|
405
|
+
background-color: transparent;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/* Sidebar: destino activo con tinte y filo, como la conversación activa de zyro */
|
|
409
|
+
[data-sidebar='menu-button'][data-active='true'] {
|
|
410
|
+
background: var(--zy-conv-a);
|
|
411
|
+
box-shadow: inset 0 0 0 var(--ds-rule-w) var(--zy-conv-ab);
|
|
412
|
+
color: var(--sidebar-accent-foreground);
|
|
413
|
+
}
|
|
414
|
+
[data-sidebar='menu-button']:hover:not([data-active='true']) {
|
|
415
|
+
background: var(--zy-conv-h);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/* Ajustes de personalidad (vistos en el banco de pruebas) */
|
|
420
|
+
:root {
|
|
421
|
+
/* Esqueletos: visibles sobre la tarjeta casi blanca */
|
|
422
|
+
[data-slot='skeleton'] {
|
|
423
|
+
background: color-mix(in oklch, var(--foreground) 9%, transparent);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/* Fondo vivo: los degradados derivan despacio (aproximación ligera, sin WebGL de la
|
|
428
|
+
malla original). `prefers-reduced-motion` ya detiene la animación en la estructura. */
|
|
429
|
+
:root {
|
|
430
|
+
body {
|
|
431
|
+
background-size: 160% 160%;
|
|
432
|
+
animation: zy-drift var(--zy-drift-duration) ease-in-out infinite alternate;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
@keyframes zy-drift {
|
|
436
|
+
from {
|
|
437
|
+
background-position: 0% 0%;
|
|
438
|
+
}
|
|
439
|
+
to {
|
|
440
|
+
background-position: 100% 100%;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Tema `zyro` — guía de diseño
|
|
2
|
+
|
|
3
|
+
## Esencia
|
|
4
|
+
«Liquid glass»: lavanda claro / azul muy oscuro, con cristal en la navegación y los controles y contenido casi opaco.
|
|
5
|
+
|
|
6
|
+
## Gesto firma
|
|
7
|
+
**Cristal** en sidebar, campos y menús; acción primaria como **píldora con degradado de marca y brillo**; sidebar a ras de borde.
|
|
8
|
+
|
|
9
|
+
## Principios
|
|
10
|
+
- El cristal vive en la capa de navegación y controles; el contenido (tarjetas) se mantiene casi opaco, como indican las guías de cristal.
|
|
11
|
+
- Radio generoso (18px).
|
|
12
|
+
|
|
13
|
+
## Referencias y qué se tomó de cada una
|
|
14
|
+
- **faro-orbital-zyro-ui** (biblioteca interna de Fractalia): paleta, fondo con deriva de color en CSS, cristal y botón primario. El tema es una traducción de ese diseño. La malla animada con shader no está activa (sería un componente opcional).
|
|
15
|
+
|
|
16
|
+
## Paleta
|
|
17
|
+
- Claro: fondo `#EAEEFB`, primario `#0349FE`, texto `rgba(14,22,48,.92)`, tarjeta casi opaca.
|
|
18
|
+
- Oscuro: fondo `#0E3148`, acento cian.
|
|
19
|
+
|
|
20
|
+
## Tipografía
|
|
21
|
+
Titulares **Montserrat**, cuerpo **Roboto** (`zyro.fonts.css`, lo primero del CSS de la app).
|
|
22
|
+
|
|
23
|
+
## Formas y profundidad
|
|
24
|
+
Radio 18px; translucidez y desenfoque en navegación; brillo en el primario.
|
|
25
|
+
|
|
26
|
+
## Qué evita
|
|
27
|
+
Cristal en el contenido principal (afecta a la legibilidad).
|
|
28
|
+
|
|
29
|
+
## Accesibilidad
|
|
30
|
+
Cristal sobre fondos variables exige vigilar el contraste del texto de navegación. Limitación conocida: la sombra de sus botones anula el anillo de foco (corrección prevista).
|
|
31
|
+
|
|
32
|
+
## Estado de los valores
|
|
33
|
+
Traducidos de la biblioteca interna de origen; no contrastados de nuevo en esta versión.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "zyro",
|
|
3
|
+
"label": "Zyro",
|
|
4
|
+
"essence": "Liquid glass: cristal en navegación y controles, contenido casi opaco.",
|
|
5
|
+
"conformance": "strict",
|
|
6
|
+
"signature": [
|
|
7
|
+
"cristal en sidebar, campos y menús",
|
|
8
|
+
"primario en píldora con degradado y brillo"
|
|
9
|
+
],
|
|
10
|
+
"fonts": {
|
|
11
|
+
"display": "Montserrat",
|
|
12
|
+
"body": "Roboto",
|
|
13
|
+
"file": "zyro.fonts.css",
|
|
14
|
+
"distributable": true
|
|
15
|
+
},
|
|
16
|
+
"palette": {
|
|
17
|
+
"light": {
|
|
18
|
+
"background": "#EAEEFB",
|
|
19
|
+
"foreground": "rgba(14,22,48,0.92)",
|
|
20
|
+
"primary": "#0349FE"
|
|
21
|
+
},
|
|
22
|
+
"dark": {
|
|
23
|
+
"background": "#0E3148"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"radii": [
|
|
27
|
+
18
|
|
28
|
+
],
|
|
29
|
+
"references": [
|
|
30
|
+
{
|
|
31
|
+
"name": "faro-orbital-zyro-ui",
|
|
32
|
+
"tookFromIt": "paleta, cristal, botón primario, fondo con deriva",
|
|
33
|
+
"source": "biblioteca interna"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"status": {
|
|
37
|
+
"verified": [],
|
|
38
|
+
"approximate": [],
|
|
39
|
+
"designed": [],
|
|
40
|
+
"pending": [
|
|
41
|
+
"anillo de foco en botones",
|
|
42
|
+
"malla animada opcional"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"guide": "zyro.guide.md",
|
|
46
|
+
"motion": {
|
|
47
|
+
"about": "suave y largo, como el cristal; curva muy amortiguada",
|
|
48
|
+
"durations": {
|
|
49
|
+
"fast": "140ms",
|
|
50
|
+
"base": "260ms",
|
|
51
|
+
"slow": "380ms"
|
|
52
|
+
},
|
|
53
|
+
"ease": {
|
|
54
|
+
"standard": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
55
|
+
"enter": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
56
|
+
"exit": "cubic-bezier(0.7, 0, 0.84, 0)"
|
|
57
|
+
},
|
|
58
|
+
"choreography": {
|
|
59
|
+
"motion-distance": "12px",
|
|
60
|
+
"motion-scale": "0.97",
|
|
61
|
+
"motion-blur": "6px",
|
|
62
|
+
"spring-bounce": "0.1",
|
|
63
|
+
"motion-stagger": "55ms",
|
|
64
|
+
"motion-press-scale": "0.98"
|
|
65
|
+
},
|
|
66
|
+
"auto": {
|
|
67
|
+
"about": "cristal: superficies y avisos se enfocan; cabeceras y filas aparecen",
|
|
68
|
+
"surfaces": "ds-auto-focus",
|
|
69
|
+
"notices": "ds-auto-focus",
|
|
70
|
+
"headers": "ds-auto-fade",
|
|
71
|
+
"rows": "ds-auto-fade"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|