orbital-ds 0.44.1 → 0.48.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 +29 -6
- package/CHANGELOG.md +458 -0
- package/README.md +2 -2
- package/components.manifest.json +209 -48
- package/dist/hooks/use-esc-close-stack.js +38 -0
- package/dist/hooks/use-simulated-progress.js +30 -0
- package/dist/lib/brand-allowlist.js +703 -0
- package/dist/lib/brand-runtime.js +85 -0
- package/dist/lib/echarts-presets.js +152 -1
- package/dist/lib/echarts-setup.js +2 -0
- package/dist/lib/i18n.js +3 -0
- package/dist/lib/locales/de.js +1 -0
- package/dist/lib/locales/fr.js +1 -0
- package/dist/lib/locales/he.js +1 -0
- package/dist/lib/locales/it.js +1 -0
- package/dist/ui/context-menu.js +2 -2
- package/dist/ui/cta-banner.js +63 -0
- package/dist/ui/detail-panel.js +2 -2
- package/dist/ui/faq.js +25 -0
- package/dist/ui/feature-grid.js +40 -0
- package/dist/ui/landing-section.js +59 -0
- package/dist/ui/pricing-table.js +86 -0
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/testimonial.js +61 -0
- package/docs/designer/patrones.md +7 -2
- 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 +496 -1
- package/manifest/data.json +1 -103
- package/manifest/feedback.json +6 -6
- package/manifest/forms.json +1 -1
- package/manifest/motion.json +3 -3
- package/manifest/navigation.json +3 -3
- package/manifest/overlays.json +14 -11
- package/package.json +6 -8
- package/scripts/cli.mjs +19 -0
- package/scripts/doctor.mjs +28 -2
- package/scripts/eslint-plugin.mjs +32 -0
- package/scripts/manifest.mjs +20 -0
- package/scripts/upgrade.mjs +126 -0
- package/dist/auth-form-B1hgbXkI.d.ts +0 -144
- package/dist/hooks/use-ds-messages.d.ts +0 -544
- package/dist/hooks/use-ds-motion.d.ts +0 -17
- package/dist/hooks/use-in-view.d.ts +0 -9
- package/dist/hooks/use-mobile.d.ts +0 -3
- package/dist/lib/a2ui-catalog.d.ts +0 -42
- package/dist/lib/a2ui.d.ts +0 -289
- package/dist/lib/ai-events.d.ts +0 -15
- package/dist/lib/auth-better-auth.d.ts +0 -29
- package/dist/lib/auth-flow.d.ts +0 -85
- package/dist/lib/auth-providers.d.ts +0 -194
- package/dist/lib/auth.d.ts +0 -68
- package/dist/lib/echarts-presets.d.ts +0 -227
- package/dist/lib/echarts-server.d.ts +0 -15
- package/dist/lib/echarts-setup.d.ts +0 -8
- package/dist/lib/echarts-theme.d.ts +0 -36
- package/dist/lib/format.d.ts +0 -57
- package/dist/lib/header-control.d.ts +0 -4
- package/dist/lib/i18n.d.ts +0 -557
- package/dist/lib/image-upload.d.ts +0 -41
- package/dist/lib/locales/de.d.ts +0 -7
- package/dist/lib/locales/fr.d.ts +0 -7
- package/dist/lib/locales/he.d.ts +0 -7
- package/dist/lib/locales/it.d.ts +0 -7
- package/dist/lib/motion.d.ts +0 -74
- package/dist/lib/presets.d.ts +0 -8
- package/dist/lib/template-syntax.d.ts +0 -22
- package/dist/lib/utils.d.ts +0 -5
- package/dist/motion.css +0 -146
- package/dist/styles.css +0 -1775
- package/dist/themes/chocolate.css +0 -259
- package/dist/themes/chocolate.fonts.css +0 -2
- package/dist/themes/chocolate.guide.md +0 -30
- package/dist/themes/chocolate.meta.json +0 -61
- package/dist/themes/chocolate.scoped.css +0 -259
- package/dist/themes/chocolate.tokens.json +0 -49
- package/dist/themes/fractalia.css +0 -556
- 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 -556
- package/dist/themes/fractalia.tokens.json +0 -39
- package/dist/themes/friendly.css +0 -375
- 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 -375
- package/dist/themes/friendly.tokens.json +0 -45
- package/dist/themes/lagoon.css +0 -362
- 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 -362
- package/dist/themes/lagoon.tokens.json +0 -49
- package/dist/themes/liquid.css +0 -510
- 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 -510
- package/dist/themes/liquid.tokens.json +0 -47
- package/dist/themes/matcha.css +0 -259
- package/dist/themes/matcha.fonts.css +0 -2
- package/dist/themes/matcha.guide.md +0 -30
- package/dist/themes/matcha.meta.json +0 -61
- package/dist/themes/matcha.scoped.css +0 -259
- package/dist/themes/matcha.tokens.json +0 -49
- package/dist/themes/qratia.css +0 -264
- 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 -264
- package/dist/themes/qratia.tokens.json +0 -49
- package/dist/themes/stone.css +0 -263
- package/dist/themes/stone.fonts.css +0 -2
- package/dist/themes/stone.guide.md +0 -30
- package/dist/themes/stone.meta.json +0 -47
- package/dist/themes/stone.scoped.css +0 -263
- package/dist/themes/stone.tokens.json +0 -49
- package/dist/themes/tactile.css +0 -596
- 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 -596
- package/dist/themes/tactile.tokens.json +0 -42
- package/dist/themes/twitter.css +0 -364
- 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 -364
- package/dist/themes/twitter.tokens.json +0 -45
- package/dist/themes/y2k.css +0 -259
- package/dist/themes/y2k.fonts.css +0 -2
- package/dist/themes/y2k.guide.md +0 -30
- package/dist/themes/y2k.meta.json +0 -59
- package/dist/themes/y2k.scoped.css +0 -259
- package/dist/themes/y2k.tokens.json +0 -49
- package/dist/themes/zyro.css +0 -442
- 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 -442
- package/dist/themes/zyro.tokens.json +0 -46
- package/dist/ui/a2ui-renderer.d.ts +0 -44
- package/dist/ui/accordion.d.ts +0 -9
- package/dist/ui/agent-events.d.ts +0 -49
- package/dist/ui/ai-tag.d.ts +0 -24
- package/dist/ui/alert-dialog.d.ts +0 -60
- package/dist/ui/alert.d.ts +0 -13
- package/dist/ui/animated-number.d.ts +0 -20
- package/dist/ui/app-bar.d.ts +0 -32
- package/dist/ui/aspect-ratio.d.ts +0 -7
- package/dist/ui/attachment.d.ts +0 -26
- package/dist/ui/auth-backdrop.d.ts +0 -37
- package/dist/ui/auth-form.d.ts +0 -4
- package/dist/ui/auth-layout.d.ts +0 -110
- package/dist/ui/auth-parts.d.ts +0 -43
- package/dist/ui/auth-status.d.ts +0 -23
- package/dist/ui/avatar.d.ts +0 -43
- package/dist/ui/ayuda.d.ts +0 -22
- package/dist/ui/badge.d.ts +0 -15
- package/dist/ui/banner.d.ts +0 -14
- package/dist/ui/bottom-nav.d.ts +0 -37
- package/dist/ui/breadcrumb.d.ts +0 -34
- package/dist/ui/bubble.d.ts +0 -19
- package/dist/ui/button-group.d.ts +0 -15
- package/dist/ui/button.d.ts +0 -14
- package/dist/ui/calendar.d.ts +0 -28
- package/dist/ui/card-stack.d.ts +0 -36
- package/dist/ui/card.d.ts +0 -61
- package/dist/ui/carousel.d.ts +0 -68
- package/dist/ui/chain-of-thought.d.ts +0 -34
- package/dist/ui/chart-card.d.ts +0 -47
- package/dist/ui/chart.d.ts +0 -65
- package/dist/ui/chart.js +0 -254
- package/dist/ui/chat-composer.d.ts +0 -58
- package/dist/ui/checkbox.d.ts +0 -6
- package/dist/ui/choice-card.d.ts +0 -49
- package/dist/ui/code-block.d.ts +0 -29
- package/dist/ui/collapsible.d.ts +0 -8
- package/dist/ui/combobox.d.ts +0 -74
- package/dist/ui/command-palette.d.ts +0 -54
- package/dist/ui/command.d.ts +0 -56
- package/dist/ui/confirm-action.d.ts +0 -48
- package/dist/ui/confirm-dialog.d.ts +0 -44
- package/dist/ui/connected-accounts.d.ts +0 -25
- package/dist/ui/content-card.d.ts +0 -66
- package/dist/ui/context-menu.d.ts +0 -66
- package/dist/ui/conversation-list.d.ts +0 -44
- package/dist/ui/copy-button.d.ts +0 -25
- package/dist/ui/data-table.d.ts +0 -198
- package/dist/ui/date-picker.d.ts +0 -65
- package/dist/ui/date-time.d.ts +0 -40
- package/dist/ui/description-list.d.ts +0 -49
- package/dist/ui/detail-panel.d.ts +0 -38
- package/dist/ui/dialog.d.ts +0 -54
- package/dist/ui/direction.d.ts +0 -1
- package/dist/ui/dock.d.ts +0 -30
- package/dist/ui/drawer.d.ts +0 -59
- package/dist/ui/dropdown-menu.d.ts +0 -63
- package/dist/ui/dropzone.d.ts +0 -44
- package/dist/ui/echart.d.ts +0 -46
- package/dist/ui/empty-state.d.ts +0 -26
- package/dist/ui/empty.d.ts +0 -15
- package/dist/ui/entity-list.d.ts +0 -57
- package/dist/ui/error-page.d.ts +0 -28
- package/dist/ui/error-state.d.ts +0 -16
- package/dist/ui/eyebrow.d.ts +0 -7
- package/dist/ui/field.d.ts +0 -28
- package/dist/ui/file-upload.d.ts +0 -42
- package/dist/ui/filter-bar.d.ts +0 -38
- package/dist/ui/form-layout.d.ts +0 -43
- package/dist/ui/gauge.d.ts +0 -66
- package/dist/ui/generated-image.d.ts +0 -33
- package/dist/ui/generated-table.d.ts +0 -29
- package/dist/ui/heatmap-grid.d.ts +0 -59
- package/dist/ui/hero.d.ts +0 -58
- package/dist/ui/hover-card.d.ts +0 -8
- package/dist/ui/i18n-provider.d.ts +0 -27
- package/dist/ui/icon-tile.d.ts +0 -11
- package/dist/ui/input-group.d.ts +0 -22
- package/dist/ui/input-otp.d.ts +0 -36
- package/dist/ui/input.d.ts +0 -21
- package/dist/ui/instruction-editor.d.ts +0 -81
- package/dist/ui/item.d.ts +0 -26
- package/dist/ui/kbd.d.ts +0 -6
- package/dist/ui/label.d.ts +0 -22
- package/dist/ui/legend.d.ts +0 -57
- package/dist/ui/level-meter.d.ts +0 -28
- package/dist/ui/load-more.d.ts +0 -36
- package/dist/ui/loading-state.d.ts +0 -26
- package/dist/ui/locale-switcher.d.ts +0 -19
- package/dist/ui/markdown.d.ts +0 -29
- package/dist/ui/marker.d.ts +0 -13
- package/dist/ui/media-card.d.ts +0 -29
- package/dist/ui/menubar.d.ts +0 -70
- package/dist/ui/message-actions.d.ts +0 -21
- package/dist/ui/message-scroller.d.ts +0 -46
- package/dist/ui/message.d.ts +0 -45
- package/dist/ui/mfa-challenge.d.ts +0 -4
- package/dist/ui/mfa-setup.d.ts +0 -29
- package/dist/ui/mosaic.d.ts +0 -38
- package/dist/ui/motion-provider.d.ts +0 -28
- package/dist/ui/native-select.d.ts +0 -32
- package/dist/ui/navigation-menu.d.ts +0 -15
- package/dist/ui/next-step-card.d.ts +0 -55
- package/dist/ui/notice-review.d.ts +0 -64
- package/dist/ui/notifications.d.ts +0 -81
- package/dist/ui/oauth-consent.d.ts +0 -54
- package/dist/ui/page-header.d.ts +0 -64
- package/dist/ui/page-loader.d.ts +0 -40
- package/dist/ui/page-shell.d.ts +0 -25
- package/dist/ui/pagination.d.ts +0 -42
- package/dist/ui/panel.d.ts +0 -12
- package/dist/ui/passkey-list.d.ts +0 -17
- package/dist/ui/password-input.d.ts +0 -5
- package/dist/ui/password-strength.d.ts +0 -28
- package/dist/ui/popover.d.ts +0 -44
- package/dist/ui/progress.d.ts +0 -9
- package/dist/ui/proportion-bar.d.ts +0 -52
- package/dist/ui/quantity.d.ts +0 -25
- package/dist/ui/questionnaire.d.ts +0 -62
- package/dist/ui/radio-group.d.ts +0 -8
- package/dist/ui/reasoning.d.ts +0 -24
- package/dist/ui/resizable.d.ts +0 -10
- package/dist/ui/reveal.d.ts +0 -28
- package/dist/ui/scroll-area.d.ts +0 -7
- package/dist/ui/search-box.d.ts +0 -32
- package/dist/ui/select.d.ts +0 -19
- package/dist/ui/separator.d.ts +0 -6
- package/dist/ui/session-list.d.ts +0 -19
- package/dist/ui/session-timeout.d.ts +0 -13
- package/dist/ui/sheet.d.ts +0 -53
- package/dist/ui/shield.d.ts +0 -35
- package/dist/ui/show-more.d.ts +0 -26
- package/dist/ui/sidebar.d.ts +0 -92
- package/dist/ui/sign-out-dialog.d.ts +0 -17
- package/dist/ui/skeleton.d.ts +0 -10
- package/dist/ui/slider.d.ts +0 -23
- package/dist/ui/sonner.d.ts +0 -6
- package/dist/ui/sparkline.d.ts +0 -26
- package/dist/ui/spinner.d.ts +0 -5
- package/dist/ui/stat-group.d.ts +0 -40
- package/dist/ui/stat.d.ts +0 -90
- package/dist/ui/status-badge.d.ts +0 -39
- package/dist/ui/status-hero.d.ts +0 -30
- package/dist/ui/step-dots.d.ts +0 -22
- package/dist/ui/step-flow.d.ts +0 -48
- package/dist/ui/step-ring.d.ts +0 -26
- package/dist/ui/stepper.d.ts +0 -20
- package/dist/ui/suggestions.d.ts +0 -17
- package/dist/ui/switch.d.ts +0 -8
- package/dist/ui/table.d.ts +0 -38
- package/dist/ui/tabs.d.ts +0 -14
- package/dist/ui/tag-input.d.ts +0 -21
- package/dist/ui/task-loader.d.ts +0 -29
- package/dist/ui/task-progress.d.ts +0 -32
- package/dist/ui/textarea.d.ts +0 -32
- package/dist/ui/theme-toggle.d.ts +0 -14
- package/dist/ui/timeline.d.ts +0 -55
- package/dist/ui/toast.d.ts +0 -19
- package/dist/ui/toggle-group.d.ts +0 -38
- package/dist/ui/toggle.d.ts +0 -12
- package/dist/ui/tool-call.d.ts +0 -27
- package/dist/ui/tooltip.d.ts +0 -9
- package/dist/ui/usage-meter.d.ts +0 -42
- package/dist/ui/week-strip.d.ts +0 -23
- package/dist/ui/workflow-run.d.ts +0 -51
package/dist/themes/twitter.css
DELETED
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* TEMA twitter — la interfaz de Twitter anterior a X (rediseño de 2021).
|
|
3
|
-
*
|
|
4
|
-
* Personalidad: PLANO y de alto contraste. Sin sombras ni cristal en el contenido;
|
|
5
|
-
* separación por filetes de 1px; botones en píldora con peso 700; tarjetas de 16px
|
|
6
|
-
* sin elevación; sidebar a ras de borde, sin fondo, con filas en píldora y la activa
|
|
7
|
-
* en negrita; pestañas con subrayado de acento. Azul de marca #1D9BF0 (confirmado) con
|
|
8
|
-
* «menos azul»: la acción más importante puede ir en tinta (negro/blanco).
|
|
9
|
-
*
|
|
10
|
-
* VALORES APROXIMADOS: el azul de marca y la fuente (Chirp, propietaria) están
|
|
11
|
-
* documentados; los grises, bordes y los fondos de «Dim» son de memoria y NO se han
|
|
12
|
-
* contrastado con la hoja de estilos real — ajústalos con una captura de referencia.
|
|
13
|
-
* Chirp no se puede distribuir: se usa la pila del sistema como respaldo.
|
|
14
|
-
*
|
|
15
|
-
* Importar DESPUÉS de la estructura. Variables `--zt-*`: privadas de este tema.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/* ── VARIABLES · PIEL CLARA ──────────────────────────────────────────────── */
|
|
19
|
-
:root {
|
|
20
|
-
/* Movimiento automático (orbital-ds/motion.css): tipo de entrada por grupo; lo describe la ficha (motion.auto) */
|
|
21
|
-
--ds-enter-surfaces: ds-auto-fade;
|
|
22
|
-
--ds-enter-notices: ds-auto-slide;
|
|
23
|
-
--ds-enter-headers: ds-auto-fade;
|
|
24
|
-
--ds-enter-rows: ds-auto-fade;
|
|
25
|
-
--radius: 16px;
|
|
26
|
-
|
|
27
|
-
--ds-font-sans: 'Chirp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
28
|
-
--ds-font-display: var(--ds-font-sans);
|
|
29
|
-
--ds-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
30
|
-
|
|
31
|
-
/* Lateral: iconos, raíl, logo y separadores (cada tema fija su forma y tamaño) */
|
|
32
|
-
--ds-sidebar-icon: 1.5rem;
|
|
33
|
-
--ds-sidebar-icon-stroke: 2;
|
|
34
|
-
--ds-sidebar-rail-w: 4.5rem;
|
|
35
|
-
--ds-sidebar-rail-item: 3rem;
|
|
36
|
-
--ds-sidebar-logo: 2.25rem;
|
|
37
|
-
--ds-sidebar-sep-inset: 0rem;
|
|
38
|
-
--ds-heading-tracking: normal;
|
|
39
|
-
|
|
40
|
-
/* Color */
|
|
41
|
-
/* @neutral off — los grises de este tema reproducen su sistema de origen y no siguen la escalera común (scripts/neutral.mjs). */
|
|
42
|
-
--ds-neutral-h: 214;
|
|
43
|
-
--ds-neutral-c: 0.009;
|
|
44
|
-
--ds-hover-bg: var(--muted);
|
|
45
|
-
--ds-active-bg: color-mix(in oklch, var(--muted), var(--foreground) 6%);
|
|
46
|
-
|
|
47
|
-
--background: #ffffff;
|
|
48
|
-
--foreground: #0f1419;
|
|
49
|
-
|
|
50
|
-
--card: #ffffff;
|
|
51
|
-
--card-foreground: #0f1419;
|
|
52
|
-
--popover: #ffffff;
|
|
53
|
-
--popover-foreground: #0f1419;
|
|
54
|
-
|
|
55
|
-
--primary: #1d9bf0;
|
|
56
|
-
--primary-foreground: #ffffff;
|
|
57
|
-
--secondary: #eff3f4;
|
|
58
|
-
--secondary-foreground: #0f1419;
|
|
59
|
-
--muted: #f7f9f9;
|
|
60
|
-
--muted-foreground: #536471;
|
|
61
|
-
--accent: rgba(29, 155, 240, 0.1);
|
|
62
|
-
--accent-foreground: #1a8cd8;
|
|
63
|
-
--destructive: #e51f2b;
|
|
64
|
-
--destructive-foreground: #ffffff;
|
|
65
|
-
|
|
66
|
-
--border: #eff3f4;
|
|
67
|
-
--input: #cfd9de;
|
|
68
|
-
--ring: #1d9bf0;
|
|
69
|
-
|
|
70
|
-
--chart-1: #1d9bf0;
|
|
71
|
-
--chart-2: #00ba7c;
|
|
72
|
-
--chart-3: #ffd400;
|
|
73
|
-
--chart-4: #f91880;
|
|
74
|
-
--chart-5: #7856ff;
|
|
75
|
-
|
|
76
|
-
--sidebar: transparent;
|
|
77
|
-
--sidebar-foreground: #0f1419;
|
|
78
|
-
--sidebar-primary: #1d9bf0;
|
|
79
|
-
--sidebar-primary-foreground: #ffffff;
|
|
80
|
-
--sidebar-accent: rgba(15, 20, 25, 0.1);
|
|
81
|
-
--sidebar-accent-foreground: #0f1419;
|
|
82
|
-
--sidebar-border: #eff3f4;
|
|
83
|
-
--sidebar-ring: #1d9bf0;
|
|
84
|
-
|
|
85
|
-
--danger: #d4141f;
|
|
86
|
-
--danger-soft: rgba(244, 33, 46, 0.1);
|
|
87
|
-
--warning: #8a6d00;
|
|
88
|
-
--warning-soft: rgba(255, 212, 0, 0.2);
|
|
89
|
-
--success: #007c53;
|
|
90
|
-
--success-soft: rgba(0, 186, 124, 0.12);
|
|
91
|
-
--info: #1573b1;
|
|
92
|
-
--info-soft: rgba(29, 155, 240, 0.1);
|
|
93
|
-
--neutral: #536471;
|
|
94
|
-
--neutral-soft: #eff3f4;
|
|
95
|
-
|
|
96
|
-
--link: #1d9bf0;
|
|
97
|
-
--link-hover: #1a8cd8;
|
|
98
|
-
--inset: #f7f9f9;
|
|
99
|
-
--inset-foreground: #0f1419;
|
|
100
|
-
--brand: #1d9bf0;
|
|
101
|
-
--brand-bright: #1d9bf0;
|
|
102
|
-
|
|
103
|
-
/* Formas: píldoras para acciones, 16px para superficies */
|
|
104
|
-
--ds-radius-sm: 8px;
|
|
105
|
-
--ds-radius-md: 12px;
|
|
106
|
-
--ds-radius-lg: 16px;
|
|
107
|
-
--ds-radius-xl: 16px;
|
|
108
|
-
--ds-radius-2xl: 20px;
|
|
109
|
-
--ds-radius-control: 9999px;
|
|
110
|
-
--ds-radius-overlay: 16px;
|
|
111
|
-
/* Botones y etiquetas en píldora; pestañas rectas (subrayadas) */
|
|
112
|
-
--ds-radius-button: var(--ds-radius-pill);
|
|
113
|
-
--ds-radius-badge: var(--ds-radius-pill);
|
|
114
|
-
--ds-radius-tabs-list: 0px;
|
|
115
|
-
--ds-radius-tab: 0px;
|
|
116
|
-
|
|
117
|
-
/* Sin elevación: solo los menús flotantes llevan sombra, muy suave */
|
|
118
|
-
--ds-shadow-card: 0 0 #0000;
|
|
119
|
-
--ds-shadow-card-hover: 0 0 #0000;
|
|
120
|
-
--ds-shadow-control: 0 0 #0000;
|
|
121
|
-
--ds-shadow-raised: 0 0 #0000;
|
|
122
|
-
--ds-shadow-overlay: 0 0 15px rgba(101, 119, 134, 0.2), 0 0 3px 1px rgba(101, 119, 134, 0.15);
|
|
123
|
-
--ds-shadow-popover: 0 0 15px rgba(101, 119, 134, 0.2), 0 0 3px 1px rgba(101, 119, 134, 0.15);
|
|
124
|
-
|
|
125
|
-
/* Medidas */
|
|
126
|
-
--ds-control-h-sm: 2rem;
|
|
127
|
-
--ds-control-h-md: 2.25rem;
|
|
128
|
-
--ds-control-h-lg: 3.25rem;
|
|
129
|
-
--ds-button-px-sm: 1rem;
|
|
130
|
-
--ds-button-px-md: 1.25rem;
|
|
131
|
-
--ds-button-px-lg: 2rem;
|
|
132
|
-
--ds-field-px: 1rem;
|
|
133
|
-
--ds-field-bg: transparent; /* campos con filete, sin relleno */
|
|
134
|
-
--ds-card-spacing: 1rem;
|
|
135
|
-
--ds-card-spacing-sm: 0.75rem;
|
|
136
|
-
|
|
137
|
-
/* Materiales: ninguno (plano) */
|
|
138
|
-
--ds-card-backdrop: none;
|
|
139
|
-
--ds-overlay-backdrop: none;
|
|
140
|
-
--ds-field-backdrop: none;
|
|
141
|
-
--ds-sidebar-backdrop: none;
|
|
142
|
-
--ds-page-backdrop: none;
|
|
143
|
-
|
|
144
|
-
/* Sidebar a ras de borde, sin silueta; filas en píldora grandes */
|
|
145
|
-
--ds-sidebar-pad: 0px;
|
|
146
|
-
--ds-sidebar-radius: 0px;
|
|
147
|
-
--ds-sidebar-shadow: 0 0 #0000;
|
|
148
|
-
--ds-sidebar-ring: 0px;
|
|
149
|
-
--ds-sidebar-edge: 1px solid var(--sidebar-border);
|
|
150
|
-
--ds-sidebar-item-radius: 9999px;
|
|
151
|
-
--ds-sidebar-item-h: 3.25rem;
|
|
152
|
-
|
|
153
|
-
/* Privadas de twitter */
|
|
154
|
-
--zt-hover: rgba(15, 20, 25, 0.1);
|
|
155
|
-
--zt-hover-soft: rgba(15, 20, 25, 0.03);
|
|
156
|
-
--zt-line-strong: #cfd9de;
|
|
157
|
-
--zt-ink: #0f1419;
|
|
158
|
-
--zt-ink-foreground: #ffffff;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/* ── VARIABLES · PIEL OSCURA («Dim») ─────────────────────────────────────── */
|
|
162
|
-
.dark {
|
|
163
|
-
--ds-hover-bg: color-mix(in oklch, var(--muted) 50%, transparent);
|
|
164
|
-
--background: #15202b;
|
|
165
|
-
--foreground: #f7f9f9;
|
|
166
|
-
|
|
167
|
-
--card: #15202b;
|
|
168
|
-
--card-foreground: #f7f9f9;
|
|
169
|
-
--popover: #1e2732;
|
|
170
|
-
--popover-foreground: #f7f9f9;
|
|
171
|
-
|
|
172
|
-
--primary: #1d9bf0;
|
|
173
|
-
--primary-foreground: #ffffff;
|
|
174
|
-
--secondary: #1e2732;
|
|
175
|
-
--secondary-foreground: #f7f9f9;
|
|
176
|
-
--muted: #1e2732;
|
|
177
|
-
--muted-foreground: #8b98a5;
|
|
178
|
-
--accent: rgba(29, 155, 240, 0.15);
|
|
179
|
-
--accent-foreground: #4db3f5;
|
|
180
|
-
--destructive: #e51f2b;
|
|
181
|
-
--destructive-foreground: #ffffff;
|
|
182
|
-
|
|
183
|
-
--border: #38444d;
|
|
184
|
-
--input: #536471;
|
|
185
|
-
--ring: #1d9bf0;
|
|
186
|
-
|
|
187
|
-
--sidebar: transparent;
|
|
188
|
-
--sidebar-foreground: #f7f9f9;
|
|
189
|
-
--sidebar-primary: #1d9bf0;
|
|
190
|
-
--sidebar-primary-foreground: #ffffff;
|
|
191
|
-
--sidebar-accent: rgba(247, 249, 249, 0.1);
|
|
192
|
-
--sidebar-accent-foreground: #f7f9f9;
|
|
193
|
-
--sidebar-border: #38444d;
|
|
194
|
-
--sidebar-ring: #1d9bf0;
|
|
195
|
-
|
|
196
|
-
--danger: #ff5a64;
|
|
197
|
-
--danger-soft: rgba(244, 33, 46, 0.18);
|
|
198
|
-
--warning: #ffd400;
|
|
199
|
-
--warning-soft: rgba(255, 212, 0, 0.16);
|
|
200
|
-
--success: #00ba7c;
|
|
201
|
-
--success-soft: rgba(0, 186, 124, 0.16);
|
|
202
|
-
--info: #4db3f5;
|
|
203
|
-
--info-soft: rgba(29, 155, 240, 0.18);
|
|
204
|
-
--neutral: #8b98a5;
|
|
205
|
-
--neutral-soft: #1e2732;
|
|
206
|
-
|
|
207
|
-
--link: #4db3f5;
|
|
208
|
-
--link-hover: #8dcdf8;
|
|
209
|
-
--inset: #1e2732;
|
|
210
|
-
--inset-foreground: #f7f9f9;
|
|
211
|
-
--brand: #1d9bf0;
|
|
212
|
-
--brand-bright: #4db3f5;
|
|
213
|
-
|
|
214
|
-
--ds-shadow-overlay: 0 0 15px rgba(255, 255, 255, 0.2), 0 0 3px 1px rgba(255, 255, 255, 0.15);
|
|
215
|
-
--ds-shadow-popover: 0 0 15px rgba(255, 255, 255, 0.2), 0 0 3px 1px rgba(255, 255, 255, 0.15);
|
|
216
|
-
|
|
217
|
-
--zt-hover: rgba(247, 249, 249, 0.1);
|
|
218
|
-
--zt-hover-soft: rgba(247, 249, 249, 0.03);
|
|
219
|
-
--zt-line-strong: #536471;
|
|
220
|
-
--zt-ink: #eff3f4;
|
|
221
|
-
--zt-ink-foreground: #0f1419;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/* ── VARIABLES DE LA PERSONALIDAD ────────────────────────────────────────────
|
|
225
|
-
* Lo que las reglas de abajo piden: cámbialo aquí (o en el brand.css de la app),
|
|
226
|
-
* nunca en las reglas.
|
|
227
|
-
*/
|
|
228
|
-
:root {
|
|
229
|
-
/* Movimiento: funcional y rápido, la curva estándar de una app */
|
|
230
|
-
--ds-motion-fast: 100ms;
|
|
231
|
-
--ds-motion-base: 150ms;
|
|
232
|
-
--ds-motion-slow: 250ms;
|
|
233
|
-
--ds-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
234
|
-
--ds-ease-enter: cubic-bezier(0, 0, 0.2, 1);
|
|
235
|
-
--ds-ease-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
236
|
-
--ds-motion-distance: 4px;
|
|
237
|
-
--ds-motion-scale: 0.98;
|
|
238
|
-
--ds-motion-blur: 0px;
|
|
239
|
-
--ds-spring-bounce: 0;
|
|
240
|
-
--ds-motion-stagger: 25ms;
|
|
241
|
-
--ds-motion-press-scale: 0.98;
|
|
242
|
-
--ds-key-weight: 700;
|
|
243
|
-
--ds-rule-w: 1px;
|
|
244
|
-
--ds-button-outline-w: 1px;
|
|
245
|
-
--ds-hover-opacity: 0.88;
|
|
246
|
-
--ds-tab-weight: 500;
|
|
247
|
-
--ds-tab-active-weight: 700;
|
|
248
|
-
--ds-tab-indicator-w: 4px;
|
|
249
|
-
--ds-nav-active-weight: 700;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/* ── PERSONALIDAD ────────────────────────────────────────────────────────────
|
|
253
|
-
* Sin capa: gana a las utilidades de los componentes. Solo variables (lo comprueba
|
|
254
|
-
* el doctor: tema `conformance: strict`). Familias completas.
|
|
255
|
-
*/
|
|
256
|
-
:root {
|
|
257
|
-
/* Botones: píldora en peso 700; primario en azul; contorno con filete */
|
|
258
|
-
[data-slot='button'] {
|
|
259
|
-
font-weight: var(--ds-key-weight);
|
|
260
|
-
}
|
|
261
|
-
[data-slot='button'][data-variant='default']:hover:not(:disabled) {
|
|
262
|
-
background-color: var(--link-hover);
|
|
263
|
-
}
|
|
264
|
-
[data-slot='button'][data-variant='secondary'] {
|
|
265
|
-
background: var(--zt-ink);
|
|
266
|
-
color: var(--zt-ink-foreground);
|
|
267
|
-
}
|
|
268
|
-
[data-slot='button'][data-variant='secondary']:hover:not(:disabled) {
|
|
269
|
-
opacity: var(--ds-hover-opacity);
|
|
270
|
-
}
|
|
271
|
-
[data-slot='button'][data-variant='outline'] {
|
|
272
|
-
background: transparent;
|
|
273
|
-
border: var(--ds-button-outline-w) solid var(--zt-line-strong);
|
|
274
|
-
color: var(--foreground);
|
|
275
|
-
}
|
|
276
|
-
[data-slot='button'][data-variant='outline']:hover:not(:disabled),
|
|
277
|
-
[data-slot='button'][data-variant='ghost']:hover:not(:disabled) {
|
|
278
|
-
background: var(--zt-hover);
|
|
279
|
-
}
|
|
280
|
-
[data-slot='button'][data-variant='destructive'] {
|
|
281
|
-
background: var(--destructive);
|
|
282
|
-
color: var(--destructive-foreground);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/* Tarjetas: planas, con filete, sin elevación */
|
|
286
|
-
[data-slot='card'],
|
|
287
|
-
[data-slot='panel']:is([data-variant='default'], [data-variant='outline']),
|
|
288
|
-
[data-slot='stat'][data-variant='card'],
|
|
289
|
-
[data-slot='item'][data-variant='card'] {
|
|
290
|
-
border: var(--ds-rule-w) solid var(--border);
|
|
291
|
-
box-shadow: none;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/* Campos con filete (familia «field»); foco azul lo da el anillo */
|
|
295
|
-
[data-slot='input'],
|
|
296
|
-
[data-slot='textarea'],
|
|
297
|
-
[data-slot='select-trigger'],
|
|
298
|
-
[data-slot='native-select'],
|
|
299
|
-
[data-slot='input-group'] {
|
|
300
|
-
border: var(--ds-rule-w) solid var(--input);
|
|
301
|
-
}
|
|
302
|
-
/* El OTP es una fila de casillas pegadas: solo color, sin duplicar sus bordes */
|
|
303
|
-
[data-slot='input-otp-slot'] {
|
|
304
|
-
border-color: var(--input);
|
|
305
|
-
}
|
|
306
|
-
[data-slot='textarea'] {
|
|
307
|
-
border-radius: var(--ds-radius-lg);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
/* Conmutadores (familia «toggle»): sin fondo; el activo, en negrita */
|
|
312
|
-
[data-slot='tabs-list'] {
|
|
313
|
-
background: transparent;
|
|
314
|
-
border-bottom: var(--ds-rule-w) solid var(--border);
|
|
315
|
-
}
|
|
316
|
-
[data-slot='tabs-trigger'],
|
|
317
|
-
[data-slot='toggle'],
|
|
318
|
-
[data-slot='toggle-group-item'] {
|
|
319
|
-
background: transparent;
|
|
320
|
-
font-weight: var(--ds-tab-weight);
|
|
321
|
-
}
|
|
322
|
-
[data-slot='toggle'],
|
|
323
|
-
[data-slot='toggle-group-item'] {
|
|
324
|
-
border-radius: var(--ds-radius-pill);
|
|
325
|
-
}
|
|
326
|
-
[data-slot='tabs-trigger']:hover,
|
|
327
|
-
[data-slot='toggle']:hover,
|
|
328
|
-
[data-slot='toggle-group-item']:hover {
|
|
329
|
-
background: var(--zt-hover-soft);
|
|
330
|
-
}
|
|
331
|
-
[data-slot='tabs-trigger'][data-active],
|
|
332
|
-
[data-slot='toggle'][aria-pressed='true'],
|
|
333
|
-
[data-slot='toggle-group-item'][aria-pressed='true'] {
|
|
334
|
-
font-weight: var(--ds-tab-active-weight);
|
|
335
|
-
}
|
|
336
|
-
/* La pestaña activa, subrayada con el acento */
|
|
337
|
-
[data-slot='tabs-trigger'][data-active] {
|
|
338
|
-
background: transparent;
|
|
339
|
-
box-shadow: inset 0 calc(var(--ds-tab-indicator-w) * -1) 0 var(--primary);
|
|
340
|
-
}
|
|
341
|
-
/* El toggle activo, con el tinte de señalado */
|
|
342
|
-
[data-slot='toggle'][aria-pressed='true'],
|
|
343
|
-
[data-slot='toggle-group-item'][aria-pressed='true'] {
|
|
344
|
-
background: var(--zt-hover);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/* Sidebar: filas grandes en píldora; la activa en negrita, sin relleno */
|
|
348
|
-
[data-sidebar='menu-button'] {
|
|
349
|
-
font-size: var(--ds-text-lg);
|
|
350
|
-
border-radius: var(--ds-radius-pill);
|
|
351
|
-
}
|
|
352
|
-
[data-sidebar='menu-button']:hover {
|
|
353
|
-
background: var(--zt-hover);
|
|
354
|
-
}
|
|
355
|
-
[data-sidebar='menu-button'][data-active='true'] {
|
|
356
|
-
background: transparent;
|
|
357
|
-
font-weight: var(--ds-nav-active-weight);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/* Interruptor y progreso en el azul de marca, planos */
|
|
361
|
-
[data-slot='progress-indicator'] {
|
|
362
|
-
background: var(--primary);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Fuentes del tema twitter. Chirp (la fuente de Twitter) es propietaria y no se
|
|
3
|
-
* puede distribuir: no hay nada que cargar. El tema usa la pila del sistema como
|
|
4
|
-
* respaldo (`-apple-system, Segoe UI, Roboto…`). Si tienes licencia de Chirp, defínela
|
|
5
|
-
* con @font-face en tu app y quedará aplicada.
|
|
6
|
-
*/
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Tema `twitter` — guía de diseño
|
|
2
|
-
|
|
3
|
-
## Esencia
|
|
4
|
-
La interfaz de Twitter anterior a X (rediseño de 2021): plana, de alto contraste, con pocas decoraciones.
|
|
5
|
-
|
|
6
|
-
## Gesto firma
|
|
7
|
-
Separación por **filetes de 1px**, botones en píldora de peso 700, sidebar a ras sin fondo con filas en píldora (la activa en negrita) y pestañas con subrayado de acento.
|
|
8
|
-
|
|
9
|
-
## Principios
|
|
10
|
-
- Sin sombras ni cristal en el contenido.
|
|
11
|
-
- «Menos azul»: la acción más importante puede ir en tinta (negro/blanco).
|
|
12
|
-
- Tarjetas de 16px sin elevación.
|
|
13
|
-
|
|
14
|
-
## Referencias y qué se tomó de cada una
|
|
15
|
-
- **Twitter (2021)**: azul de marca `#1D9BF0` (confirmado), fuente Chirp (confirmada, propietaria), estructura plana y filetes. El resto se tomó de memoria.
|
|
16
|
-
|
|
17
|
-
## Paleta
|
|
18
|
-
- Claro: fondo `#FFFFFF`, texto `#0F1419`, primario `#1D9BF0`, borde `#EFF3F4`.
|
|
19
|
-
- Oscuro («Dim»): fondo `#15202B`, texto `#F7F9F9`.
|
|
20
|
-
|
|
21
|
-
## Tipografía
|
|
22
|
-
Chirp no se puede distribuir: el tema usa la **pila del sistema** como respaldo. No hay fuente que cargar (`twitter.fonts.css` solo lo documenta).
|
|
23
|
-
|
|
24
|
-
## Formas y profundidad
|
|
25
|
-
Radio 16px; sin sombras; filetes 1px.
|
|
26
|
-
|
|
27
|
-
## Qué evita
|
|
28
|
-
Sombras, cristal, elevación en tarjetas.
|
|
29
|
-
|
|
30
|
-
## Accesibilidad
|
|
31
|
-
Azul `#1D9BF0` con texto blanco: contraste limitado (≈3:1); por eso se admite la acción primaria en tinta.
|
|
32
|
-
|
|
33
|
-
## Estado de los valores
|
|
34
|
-
- **Confirmados**: azul `#1D9BF0` y la fuente Chirp.
|
|
35
|
-
- **Aproximados (de memoria)**: grises, bordes y fondos de «Dim»; contrastarlos con una captura de referencia antes de darlos por buenos.
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "twitter",
|
|
3
|
-
"label": "Twitter (2021)",
|
|
4
|
-
"essence": "Plano y de alto contraste: filetes de 1px, píldoras, sin sombras.",
|
|
5
|
-
"conformance": "strict",
|
|
6
|
-
"signature": [
|
|
7
|
-
"filetes de 1px",
|
|
8
|
-
"botones en píldora de peso 700",
|
|
9
|
-
"sidebar a ras con filas en píldora"
|
|
10
|
-
],
|
|
11
|
-
"fonts": {
|
|
12
|
-
"display": "Chirp (sistema como respaldo)",
|
|
13
|
-
"body": "Chirp (sistema como respaldo)",
|
|
14
|
-
"file": "twitter.fonts.css",
|
|
15
|
-
"distributable": false
|
|
16
|
-
},
|
|
17
|
-
"palette": {
|
|
18
|
-
"light": {
|
|
19
|
-
"background": "#FFFFFF",
|
|
20
|
-
"foreground": "#0F1419",
|
|
21
|
-
"primary": "#1D9BF0"
|
|
22
|
-
},
|
|
23
|
-
"dark": {
|
|
24
|
-
"background": "#15202B"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"radii": [
|
|
28
|
-
16,
|
|
29
|
-
999
|
|
30
|
-
],
|
|
31
|
-
"references": [
|
|
32
|
-
{
|
|
33
|
-
"name": "Twitter (2021)",
|
|
34
|
-
"tookFromIt": "estructura plana, azul de marca, filetes",
|
|
35
|
-
"source": "memoria; azul y fuente documentados"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"status": {
|
|
39
|
-
"verified": [
|
|
40
|
-
"azul #1D9BF0",
|
|
41
|
-
"fuente Chirp"
|
|
42
|
-
],
|
|
43
|
-
"approximate": [
|
|
44
|
-
"grises",
|
|
45
|
-
"bordes",
|
|
46
|
-
"fondos de Dim"
|
|
47
|
-
],
|
|
48
|
-
"designed": [],
|
|
49
|
-
"pending": [
|
|
50
|
-
"contrastar con captura de referencia"
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
"guide": "twitter.guide.md",
|
|
54
|
-
"a11y": {
|
|
55
|
-
"level": "AA",
|
|
56
|
-
"exceptions": [
|
|
57
|
-
"primary-foreground/primary",
|
|
58
|
-
"sidebar-primary-foreground/sidebar-primary"
|
|
59
|
-
],
|
|
60
|
-
"note": "El azul de marca confirmado (#1D9BF0) con texto blanco da 3:1; la acción primaria puede ir en tinta."
|
|
61
|
-
},
|
|
62
|
-
"motion": {
|
|
63
|
-
"about": "funcional y rápido, la curva estándar de una app",
|
|
64
|
-
"durations": {
|
|
65
|
-
"fast": "100ms",
|
|
66
|
-
"base": "150ms",
|
|
67
|
-
"slow": "250ms"
|
|
68
|
-
},
|
|
69
|
-
"ease": {
|
|
70
|
-
"standard": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
71
|
-
"enter": "cubic-bezier(0, 0, 0.2, 1)",
|
|
72
|
-
"exit": "cubic-bezier(0.4, 0, 1, 1)"
|
|
73
|
-
},
|
|
74
|
-
"choreography": {
|
|
75
|
-
"motion-distance": "4px",
|
|
76
|
-
"motion-scale": "0.98",
|
|
77
|
-
"motion-blur": "0px",
|
|
78
|
-
"spring-bounce": "0",
|
|
79
|
-
"motion-stagger": "25ms",
|
|
80
|
-
"motion-press-scale": "0.98"
|
|
81
|
-
},
|
|
82
|
-
"auto": {
|
|
83
|
-
"about": "funcional: todo aparece; los avisos entran de lado",
|
|
84
|
-
"surfaces": "ds-auto-fade",
|
|
85
|
-
"notices": "ds-auto-slide",
|
|
86
|
-
"headers": "ds-auto-fade",
|
|
87
|
-
"rows": "ds-auto-fade"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|