orbital-ds 0.28.0 → 0.29.1
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 +289 -273
- package/components.manifest.json +410 -7
- package/dist/hooks/use-ds-messages.d.ts +196 -0
- package/dist/lib/auth-better-auth.d.ts +29 -0
- package/dist/lib/auth-better-auth.js +60 -0
- package/dist/lib/auth-flow.d.ts +59 -0
- package/dist/lib/auth-flow.js +135 -0
- package/dist/lib/auth-providers.d.ts +194 -0
- package/dist/lib/auth-providers.js +64 -0
- package/dist/lib/auth.d.ts +68 -0
- package/dist/lib/auth.js +110 -0
- package/dist/lib/i18n.d.ts +196 -0
- package/dist/lib/i18n.js +597 -3
- package/dist/styles.css +419 -3
- package/dist/themes/lagoon.css +8 -8
- package/dist/themes/lagoon.meta.json +3 -2
- package/dist/themes/lagoon.scoped.css +8 -8
- package/dist/ui/auth-backdrop.d.ts +20 -0
- package/dist/ui/auth-backdrop.js +137 -0
- package/dist/ui/auth-form.d.ts +107 -0
- package/dist/ui/auth-form.js +526 -0
- package/dist/ui/auth-layout.d.ts +70 -0
- package/dist/ui/auth-layout.js +283 -0
- package/dist/ui/auth-parts.d.ts +43 -0
- package/dist/ui/auth-parts.js +159 -0
- package/dist/ui/auth-status.d.ts +23 -0
- package/dist/ui/auth-status.js +99 -0
- package/dist/ui/connected-accounts.d.ts +25 -0
- package/dist/ui/connected-accounts.js +89 -0
- package/dist/ui/empty-state.d.ts +10 -1
- package/dist/ui/empty-state.js +28 -7
- package/dist/ui/error-page.d.ts +10 -1
- package/dist/ui/error-page.js +74 -28
- package/dist/ui/icon-tile.d.ts +1 -1
- package/dist/ui/input-otp.js +2 -1
- package/dist/ui/mfa-challenge.d.ts +33 -0
- package/dist/ui/mfa-challenge.js +214 -0
- package/dist/ui/mfa-setup.d.ts +29 -0
- package/dist/ui/mfa-setup.js +196 -0
- package/dist/ui/oauth-consent.d.ts +54 -0
- package/dist/ui/oauth-consent.js +208 -0
- package/dist/ui/passkey-list.d.ts +17 -0
- package/dist/ui/passkey-list.js +112 -0
- package/dist/ui/password-input.d.ts +5 -0
- package/dist/ui/password-input.js +77 -0
- package/dist/ui/session-list.d.ts +19 -0
- package/dist/ui/session-list.js +70 -0
- package/dist/ui/session-timeout.d.ts +13 -0
- package/dist/ui/session-timeout.js +87 -0
- package/dist/ui/sidebar.d.ts +12 -4
- package/dist/ui/sidebar.js +35 -5
- package/dist/ui/sign-out-dialog.d.ts +17 -0
- package/dist/ui/sign-out-dialog.js +82 -0
- package/dist/ui/stat-group.d.ts +1 -1
- package/dist/ui/stat-group.js +6 -2
- package/dist/ui/stat.d.ts +24 -5
- package/dist/ui/stat.js +124 -19
- package/dist/ui/status-badge.d.ts +1 -1
- package/docs/designer/patrones.md +21 -0
- package/docs/designer/revision.md +8 -0
- package/package.json +187 -187
- package/scripts/brand-core.d.mts +2 -0
- package/scripts/brand-core.mjs +21 -1
- package/scripts/doctor.mjs +3 -0
- package/scripts/init.mjs +7 -3
package/dist/styles.css
CHANGED
|
@@ -205,6 +205,7 @@
|
|
|
205
205
|
* entrar, escala de partida, desenfoque de entrada, rebote del muelle, retardo en cascada
|
|
206
206
|
* y hundimiento al pulsar. Un tema los ajusta para tener su movimiento de fábrica. */
|
|
207
207
|
--ds-motion-distance: 8px;
|
|
208
|
+
--ds-float-distance: 0.1875rem; /* flotación de un icono dentro de su recuadro (ErrorPage, EmptyState): pequeña, para no salirse */
|
|
208
209
|
--ds-motion-scale: 0.96;
|
|
209
210
|
--ds-motion-blur: 0px;
|
|
210
211
|
--ds-spring-bounce: 0.15;
|
|
@@ -528,6 +529,7 @@
|
|
|
528
529
|
--ds-list-gap-compact: calc(0.25rem * var(--ds-density)); /* ídem en el preset compact */
|
|
529
530
|
--ds-stat-value-weight: 600; /* cifra de un KPI */
|
|
530
531
|
--ds-stat-accent-w: calc(var(--ds-rule-w) * 3); /* filete de tono del KPI */
|
|
532
|
+
--ds-stat-progress-h: 0.375rem; /* StatProgress: grosor de la barra hacia el objetivo */
|
|
531
533
|
--ds-sparkline-h: 2rem;
|
|
532
534
|
--ds-sparkline-w: 1.5px; /* grosor del trazo */
|
|
533
535
|
--ds-status-dot: 0.5rem;
|
|
@@ -640,6 +642,75 @@
|
|
|
640
642
|
--ds-errorpage-icon-box: 4rem;
|
|
641
643
|
--ds-errorpage-icon: 1.75rem;
|
|
642
644
|
--ds-errorpage-code-size: 4.5rem;
|
|
645
|
+
/* ACCESO (AuthLayout, AuthForm, MfaChallenge, MfaSetup, AuthStatus). Derivados de los tokens
|
|
646
|
+
* semánticos: cada tema y cada marca los heredan sin tocarlos; la app los ajusta en brand.css. */
|
|
647
|
+
--ds-auth-min-h: 100svh; /* alto mínimo de la maqueta: la pantalla; dentro de un panel o modal, 100% */
|
|
648
|
+
--ds-auth-max-w: 25rem; /* ancho del formulario */
|
|
649
|
+
--ds-auth-gap: 1.5rem; /* separación entre bloques del formulario */
|
|
650
|
+
--ds-auth-p: 2rem; /* relleno de la tarjeta (contenedor ancho) */
|
|
651
|
+
--ds-auth-p-sm: 1.25rem; /* relleno de la tarjeta (contenedor estrecho) */
|
|
652
|
+
--ds-auth-radius: var(--ds-radius-card);
|
|
653
|
+
--ds-auth-canvas: var(--background); /* lienzo detrás del formulario */
|
|
654
|
+
--ds-auth-surface: var(--card); /* tarjeta (surface="solid" y "elevated") */
|
|
655
|
+
--ds-auth-surface-fg: var(--card-foreground);
|
|
656
|
+
--ds-auth-border: var(--border);
|
|
657
|
+
--ds-auth-shadow: var(--ds-shadow-card); /* surface="solid" */
|
|
658
|
+
--ds-auth-shadow-elevated: var(--ds-shadow-popover); /* surface="elevated" */
|
|
659
|
+
--ds-auth-glass: color-mix(in oklch, var(--card) 72%, transparent); /* surface="glass": fondo */
|
|
660
|
+
--ds-auth-glass-filter: blur(20px) saturate(160%); /* surface="glass": backdrop-filter */
|
|
661
|
+
--ds-auth-logo-h: 2rem; /* alto del logo */
|
|
662
|
+
--ds-auth-title-size: 1.5rem;
|
|
663
|
+
--ds-auth-aside-bg: var(--primary); /* panel de marca (split, banner): color sólido; su texto se mide AA */
|
|
664
|
+
--ds-auth-aside-fg: var(--primary-foreground);
|
|
665
|
+
--ds-auth-aside-image: linear-gradient(135deg, color-mix(in oklch, var(--primary) 70%, var(--chart-2)), color-mix(in oklch, var(--primary) 80%, var(--background))); /* encima del color: degradado, imagen o none */
|
|
666
|
+
--ds-auth-aside-min-w: 22rem; /* split: ancho mínimo del panel */
|
|
667
|
+
--ds-auth-banner-h: 10rem; /* banner: alto de la franja */
|
|
668
|
+
--ds-auth-media-overlay: color-mix(in oklch, var(--background) 35%, transparent); /* cover: velo sobre la imagen */
|
|
669
|
+
--ds-auth-media-overlay-plain: color-mix(in oklch, var(--background) 80%, transparent); /* cover sin superficie (plain): el texto va directo sobre la foto */
|
|
670
|
+
--ds-otp-char-animation: ds-otp-pop var(--ds-motion-base) var(--ds-ease-overshoot); /* cada cifra que entra en un OTP; none = quieta */
|
|
671
|
+
--ds-otp-pop-scale: 0.6; /* tamaño del que parte la cifra */
|
|
672
|
+
--ds-auth-shake-animation: ds-auth-shake var(--ds-motion-slow) var(--ds-ease-standard); /* código incorrecto; none = sin sacudida */
|
|
673
|
+
--ds-auth-shake-distance: 0.375rem;
|
|
674
|
+
/* Validación: el error de un campo aparece deslizándose; el icono de un estado (ok, error) entra con rebote. */
|
|
675
|
+
--ds-auth-reveal-animation: ds-auth-reveal var(--ds-motion-base) var(--ds-ease-enter);
|
|
676
|
+
--ds-auth-pop-animation: ds-auth-pop var(--ds-motion-slow) var(--ds-ease-overshoot);
|
|
677
|
+
--ds-auth-pop-scale: 0.5;
|
|
678
|
+
--ds-oauth-mark: 3.5rem; /* OAuthConsent: logo de cliente y app */
|
|
679
|
+
--ds-oauth-link-w: 3rem; /* OAuthConsent: conector entre logos */
|
|
680
|
+
--ds-oauth-link-h: 2px;
|
|
681
|
+
--ds-oauth-link-dash: 0.375rem;
|
|
682
|
+
--ds-auth-media-tint: var(--primary); /* mediaTint="brand": tono que toma la foto */
|
|
683
|
+
--ds-auth-media-duo-dark: color-mix(in oklch, var(--primary) 70%, black); /* mediaTint="duotone": sombras */
|
|
684
|
+
--ds-auth-media-duo-light: color-mix(in oklch, var(--chart-2) 35%, white); /* mediaTint="duotone": luces */
|
|
685
|
+
--ds-auth-aside-media-overlay: color-mix(in oklch, var(--ds-auth-aside-bg) 78%, transparent); /* panel con foto: velo de marca para leer el texto */
|
|
686
|
+
/* Fondos animados (backdrop): colores de la paleta del tema; quietos con movimiento reducido. */
|
|
687
|
+
--ds-auth-fx-1: color-mix(in oklch, var(--primary) 55%, transparent);
|
|
688
|
+
--ds-auth-fx-2: color-mix(in oklch, var(--chart-2) 45%, transparent);
|
|
689
|
+
--ds-auth-fx-3: color-mix(in oklch, var(--chart-3) 40%, transparent);
|
|
690
|
+
--ds-auth-fx-blur: 64px; /* desenfoque de las manchas (aurora, mesh) */
|
|
691
|
+
--ds-auth-fx-opacity: 0.7;
|
|
692
|
+
--ds-auth-fx-4: color-mix(in oklch, var(--chart-4) 40%, transparent); /* cuarta mancha (mesh) */
|
|
693
|
+
--ds-auth-fx-mesh-size: 160%; /* mesh: tamaño de la malla (más grande = recorrido más amplio) */
|
|
694
|
+
--ds-auth-fx-grain: 0.08; /* grano fino sobre aurora, mesh y beams (0 = sin grano) */
|
|
695
|
+
--ds-auth-fx-grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
696
|
+
--ds-auth-fx-sweep-mix: 55%; /* dots y grid: intensidad del barrido de luz */
|
|
697
|
+
--ds-auth-parallax: 1.25rem; /* interactive: recorrido máximo del paralaje */
|
|
698
|
+
--ds-auth-fx-glass-blur: 2rem; /* glass: desenfoque de la capa de cristal sobre cualquier fondo */
|
|
699
|
+
--ds-auth-fx-glass-saturate: 1.4; /* glass: viveza del color que se ve a través */
|
|
700
|
+
--ds-auth-fx-glass-bg: color-mix(in oklch, var(--background) 30%, transparent); /* glass: tinte del cristal */
|
|
701
|
+
--ds-backdrop-plate-bg: color-mix(in oklch, var(--card) 88%, transparent); /* ErrorPage/EmptyState con backdrop: placa bajo el texto para que se lea */
|
|
702
|
+
--ds-auth-fx-image-veil: color-mix(in oklch, var(--background) 25%, transparent); /* image: velo para que el texto se lea */
|
|
703
|
+
--ds-auth-fx-zoom: 1.08; /* image: acercamiento lento de la foto (1 = quieta) */
|
|
704
|
+
--ds-auth-fx-grid-size: 2.5rem; /* paso de la rejilla (dots, grid) */
|
|
705
|
+
--ds-auth-fx-dot: 1px; /* radio de cada punto (dots) */
|
|
706
|
+
--ds-auth-fx-line: 1px; /* grosor de las líneas (grid) */
|
|
707
|
+
--ds-auth-fx-dot-mix: 22%; /* intensidad de los puntos sobre la tinta del fondo */
|
|
708
|
+
--ds-auth-fx-line-mix: 10%; /* intensidad de las líneas */
|
|
709
|
+
--ds-auth-spot-size: 22rem; /* foco que sigue al puntero (interactive) */
|
|
710
|
+
--ds-auth-fx-duration: calc(var(--ds-motion-blink) * 18); /* ciclo de la deriva (lento: ambiente) */
|
|
711
|
+
--ds-auth-fx-play: running; /* paused = fondos quietos en toda la app (la marca decide) */
|
|
712
|
+
--ds-auth-glow: color-mix(in oklch, var(--primary) 35%, transparent); /* halo detrás de la tarjeta (glow) */
|
|
713
|
+
--ds-auth-glow-size: 28rem;
|
|
643
714
|
--ds-pageloader-min-h: 16rem; /* alto mínimo de una región (section) */
|
|
644
715
|
--ds-pageloader-progress-w: 12rem; /* barra de avance (splash, section) */
|
|
645
716
|
--ds-loader-done-glow: 0 0 #0000; /* brillo al terminar (sin sombra por defecto) */
|
|
@@ -680,6 +751,9 @@
|
|
|
680
751
|
--ds-sidebar-sep-inset: 0rem; /* margen lateral de los separadores (negativo = de borde a borde) */
|
|
681
752
|
--ds-sidebar-item-radius: var(--ds-radius-md);
|
|
682
753
|
--ds-sidebar-item-h: 2.5rem;
|
|
754
|
+
--ds-sidebar-item-h-compact: 2rem; /* filas del lateral con density="compact" (preset admin) */
|
|
755
|
+
--ds-sidebar-item-h-comfortable: 2.75rem; /* filas con density="comfortable" */
|
|
756
|
+
--ds-sidebar-sub-item-h-compact: 1.5rem;
|
|
683
757
|
|
|
684
758
|
/* ── BALDOSA DE ICONO ───────────────────────────────────────────────────
|
|
685
759
|
* Un icono grande (Lucide) dentro de una baldosa tintada: la «mascota» barata.
|
|
@@ -905,6 +979,344 @@
|
|
|
905
979
|
transform: translateX(calc(250% * var(--ds-dir, 1)));
|
|
906
980
|
}
|
|
907
981
|
}
|
|
982
|
+
/* Acceso: deriva lenta de los fondos (aurora, mesh, glow) y entrada en cascada del formulario.
|
|
983
|
+
* Ritmo del tema; cada pieza lleva motion-reduce:animate-none. */
|
|
984
|
+
@utility animate-ds-auth-drift {
|
|
985
|
+
animation: ds-auth-drift var(--ds-auth-fx-duration) var(--ds-ease-standard) infinite alternate both;
|
|
986
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
987
|
+
}
|
|
988
|
+
@utility animate-ds-auth-drift-reverse {
|
|
989
|
+
animation: ds-auth-drift var(--ds-auth-fx-duration) var(--ds-ease-standard) infinite alternate-reverse both;
|
|
990
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
991
|
+
}
|
|
992
|
+
/* mesh: cada mancha recorre la malla por su lado (background-position) mientras la capa deriva. */
|
|
993
|
+
@utility animate-ds-auth-mesh {
|
|
994
|
+
animation:
|
|
995
|
+
ds-auth-mesh calc(var(--ds-auth-fx-duration) * 0.6) var(--ds-ease-standard) infinite alternate both,
|
|
996
|
+
ds-auth-drift var(--ds-auth-fx-duration) var(--ds-ease-standard) infinite alternate both;
|
|
997
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
998
|
+
}
|
|
999
|
+
@utility animate-ds-auth-float-a {
|
|
1000
|
+
animation: ds-auth-float-a var(--ds-auth-fx-duration) var(--ds-ease-standard) infinite;
|
|
1001
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1002
|
+
}
|
|
1003
|
+
@utility animate-ds-auth-float-b {
|
|
1004
|
+
animation: ds-auth-float-b calc(var(--ds-auth-fx-duration) * 1.37) var(--ds-ease-standard) infinite;
|
|
1005
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1006
|
+
}
|
|
1007
|
+
@utility animate-ds-auth-float-c {
|
|
1008
|
+
animation: ds-auth-float-c calc(var(--ds-auth-fx-duration) * 0.83) var(--ds-ease-standard) infinite;
|
|
1009
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1010
|
+
}
|
|
1011
|
+
@utility animate-ds-auth-float-d {
|
|
1012
|
+
animation: ds-auth-float-d calc(var(--ds-auth-fx-duration) * 1.71) var(--ds-ease-standard) infinite;
|
|
1013
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1014
|
+
}
|
|
1015
|
+
@utility animate-ds-auth-wave {
|
|
1016
|
+
animation:
|
|
1017
|
+
ds-auth-wave calc(var(--ds-auth-fx-duration) * 0.7) var(--ds-ease-standard) infinite,
|
|
1018
|
+
ds-auth-hue calc(var(--ds-auth-fx-duration) * 1.1) linear infinite alternate;
|
|
1019
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1020
|
+
}
|
|
1021
|
+
@utility animate-ds-auth-wave-reverse {
|
|
1022
|
+
animation:
|
|
1023
|
+
ds-auth-wave calc(var(--ds-auth-fx-duration) * 0.9) var(--ds-ease-standard) infinite reverse,
|
|
1024
|
+
ds-auth-hue calc(var(--ds-auth-fx-duration) * 1.3) linear infinite alternate-reverse;
|
|
1025
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1026
|
+
}
|
|
1027
|
+
@utility animate-ds-auth-sweep {
|
|
1028
|
+
animation: ds-auth-sweep calc(var(--ds-auth-fx-duration) / 3) var(--ds-ease-standard) infinite;
|
|
1029
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1030
|
+
}
|
|
1031
|
+
@utility animate-ds-auth-breathe {
|
|
1032
|
+
animation: ds-auth-breathe calc(var(--ds-auth-fx-duration) / 2) var(--ds-ease-pulse) infinite alternate both;
|
|
1033
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1034
|
+
}
|
|
1035
|
+
@utility animate-ds-auth-enter {
|
|
1036
|
+
animation: ds-auth-enter var(--ds-motion-slow) var(--ds-ease-enter) both;
|
|
1037
|
+
animation-delay: calc(var(--ds-motion-stagger) * var(--ds-auth-i, 0));
|
|
1038
|
+
}
|
|
1039
|
+
/* Capas de AuthBackdrop. La tinta (--ds-auth-fx-ink) la fija el componente: el texto del panel de
|
|
1040
|
+
* marca o el del lienzo. Todo sale de tokens: cambia con el tema y la marca. */
|
|
1041
|
+
@utility ds-auth-fx-dots {
|
|
1042
|
+
background-image: radial-gradient(color-mix(in oklch, var(--ds-auth-fx-ink, var(--foreground)) var(--ds-auth-fx-dot-mix), transparent) var(--ds-auth-fx-dot), transparent calc(var(--ds-auth-fx-dot) + 0.5px));
|
|
1043
|
+
background-size: var(--ds-auth-fx-grid-size) var(--ds-auth-fx-grid-size);
|
|
1044
|
+
mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%);
|
|
1045
|
+
}
|
|
1046
|
+
@utility ds-auth-fx-grid {
|
|
1047
|
+
background-image:
|
|
1048
|
+
linear-gradient(to right, color-mix(in oklch, var(--ds-auth-fx-ink, var(--foreground)) var(--ds-auth-fx-line-mix), transparent) var(--ds-auth-fx-line), transparent var(--ds-auth-fx-line)),
|
|
1049
|
+
linear-gradient(to bottom, color-mix(in oklch, var(--ds-auth-fx-ink, var(--foreground)) var(--ds-auth-fx-line-mix), transparent) var(--ds-auth-fx-line), transparent var(--ds-auth-fx-line));
|
|
1050
|
+
background-size: var(--ds-auth-fx-grid-size) var(--ds-auth-fx-grid-size);
|
|
1051
|
+
mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
|
|
1052
|
+
}
|
|
1053
|
+
@utility ds-auth-fx-blob {
|
|
1054
|
+
position: absolute;
|
|
1055
|
+
border-radius: 9999px;
|
|
1056
|
+
filter: blur(var(--ds-auth-fx-blur));
|
|
1057
|
+
opacity: var(--ds-auth-fx-opacity);
|
|
1058
|
+
will-change: transform;
|
|
1059
|
+
}
|
|
1060
|
+
@utility ds-auth-fx-mesh {
|
|
1061
|
+
background-image:
|
|
1062
|
+
radial-gradient(40% 45% at 20% 25%, var(--ds-auth-fx-1), transparent 70%),
|
|
1063
|
+
radial-gradient(35% 40% at 80% 20%, var(--ds-auth-fx-2), transparent 70%),
|
|
1064
|
+
radial-gradient(45% 50% at 60% 85%, var(--ds-auth-fx-3), transparent 70%);
|
|
1065
|
+
background-size: var(--ds-auth-fx-mesh-size) var(--ds-auth-fx-mesh-size);
|
|
1066
|
+
background-repeat: no-repeat;
|
|
1067
|
+
filter: blur(calc(var(--ds-auth-fx-blur) / 2));
|
|
1068
|
+
opacity: var(--ds-auth-fx-opacity);
|
|
1069
|
+
}
|
|
1070
|
+
/* Barrido de luz sobre dots y grid: la trama se ilumina en una franja que la recorre. */
|
|
1071
|
+
@utility ds-auth-fx-sweep {
|
|
1072
|
+
--ds-auth-fx-dot-mix: var(--ds-auth-fx-sweep-mix);
|
|
1073
|
+
--ds-auth-fx-line-mix: calc(var(--ds-auth-fx-sweep-mix) / 2);
|
|
1074
|
+
mask-image:
|
|
1075
|
+
linear-gradient(105deg, transparent 35%, #000 50%, transparent 65%),
|
|
1076
|
+
radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
|
|
1077
|
+
mask-size: 300% 100%, 100% 100%;
|
|
1078
|
+
mask-repeat: no-repeat;
|
|
1079
|
+
mask-composite: intersect;
|
|
1080
|
+
}
|
|
1081
|
+
/* Cinta de aurora: banda de color desenfocada que ondula. */
|
|
1082
|
+
@utility ds-auth-fx-ribbon {
|
|
1083
|
+
position: absolute;
|
|
1084
|
+
inset-inline: -25%;
|
|
1085
|
+
height: 40%;
|
|
1086
|
+
border-radius: 9999px;
|
|
1087
|
+
background-image: linear-gradient(90deg, transparent, var(--ds-auth-fx-1), var(--ds-auth-fx-2), var(--ds-auth-fx-3), var(--ds-auth-fx-1), transparent);
|
|
1088
|
+
background-size: 200% 100%;
|
|
1089
|
+
filter: blur(var(--ds-auth-fx-blur));
|
|
1090
|
+
opacity: var(--ds-auth-fx-opacity);
|
|
1091
|
+
will-change: transform, background-position;
|
|
1092
|
+
}
|
|
1093
|
+
@utility ds-auth-fx-grain {
|
|
1094
|
+
background-image: var(--ds-auth-fx-grain-image);
|
|
1095
|
+
opacity: var(--ds-auth-fx-grain);
|
|
1096
|
+
mix-blend-mode: overlay;
|
|
1097
|
+
}
|
|
1098
|
+
/* interactive: paralaje con inercia (--ds-auth-px/-py van de -1 a 1, los pone el componente). */
|
|
1099
|
+
/* glass: cristal esmerilado sobre el fondo (mesh, aurora, imagen…). */
|
|
1100
|
+
@utility ds-auth-fx-glass {
|
|
1101
|
+
background: var(--ds-auth-fx-glass-bg);
|
|
1102
|
+
backdrop-filter: blur(var(--ds-auth-fx-glass-blur)) saturate(var(--ds-auth-fx-glass-saturate));
|
|
1103
|
+
}
|
|
1104
|
+
/* image: acercamiento lento y continuo (efecto Ken Burns). */
|
|
1105
|
+
@utility animate-ds-auth-zoom {
|
|
1106
|
+
animation: ds-auth-zoom calc(var(--ds-auth-fx-duration) * 2) var(--ds-ease-standard) infinite alternate both;
|
|
1107
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1108
|
+
}
|
|
1109
|
+
/* Entrada en cascada genérica: --ds-stagger-i = posición (0, 1, 2…). */
|
|
1110
|
+
@utility animate-ds-stagger {
|
|
1111
|
+
animation: ds-auth-enter var(--ds-motion-slow) var(--ds-ease-enter) both;
|
|
1112
|
+
animation-delay: calc(var(--ds-motion-stagger) * var(--ds-stagger-i, 0));
|
|
1113
|
+
}
|
|
1114
|
+
/* Flotación suave de un icono o ilustración (ErrorPage, EmptyState). */
|
|
1115
|
+
@utility animate-ds-float {
|
|
1116
|
+
animation: ds-float calc(var(--ds-auth-fx-duration) / 4) var(--ds-ease-pulse) infinite alternate both;
|
|
1117
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1118
|
+
}
|
|
1119
|
+
@utility ds-auth-fx-depth {
|
|
1120
|
+
translate: calc(var(--ds-auth-px, 0) * var(--ds-auth-parallax) * -1) calc(var(--ds-auth-py, 0) * var(--ds-auth-parallax) * -1);
|
|
1121
|
+
}
|
|
1122
|
+
@utility ds-auth-fx-glow {
|
|
1123
|
+
background-image: radial-gradient(closest-side, var(--ds-auth-glow), transparent);
|
|
1124
|
+
}
|
|
1125
|
+
@utility ds-auth-fx-spot {
|
|
1126
|
+
background-image: radial-gradient(circle var(--ds-auth-spot-size) at var(--ds-auth-x, 50%) var(--ds-auth-y, 30%), var(--ds-auth-fx-1), transparent 70%);
|
|
1127
|
+
transition: opacity var(--ds-motion-slow) var(--ds-ease-standard);
|
|
1128
|
+
}
|
|
1129
|
+
@utility ds-auth-fx-ring {
|
|
1130
|
+
position: absolute;
|
|
1131
|
+
inset-block-start: 50%;
|
|
1132
|
+
inset-inline-start: 50%;
|
|
1133
|
+
translate: -50% -50%;
|
|
1134
|
+
border-radius: 9999px;
|
|
1135
|
+
border: var(--ds-auth-fx-line) dashed color-mix(in oklch, var(--ds-auth-fx-ink, var(--foreground)) calc(var(--ds-auth-fx-line-mix) * 2), transparent);
|
|
1136
|
+
}
|
|
1137
|
+
@utility ds-auth-fx-satellite {
|
|
1138
|
+
position: absolute;
|
|
1139
|
+
inset-block-start: calc(var(--ds-auth-fx-dot) * -3);
|
|
1140
|
+
inset-inline-start: 50%;
|
|
1141
|
+
width: calc(var(--ds-auth-fx-dot) * 6);
|
|
1142
|
+
height: calc(var(--ds-auth-fx-dot) * 6);
|
|
1143
|
+
border-radius: 9999px;
|
|
1144
|
+
background: var(--ds-auth-fx-1);
|
|
1145
|
+
box-shadow: 0 0 calc(var(--ds-auth-fx-dot) * 12) var(--ds-auth-fx-1);
|
|
1146
|
+
}
|
|
1147
|
+
@utility ds-auth-fx-beams {
|
|
1148
|
+
background-image: conic-gradient(from 0deg at 50% 50%, transparent 0deg, var(--ds-auth-fx-1) 40deg, transparent 80deg, transparent 150deg, var(--ds-auth-fx-2) 200deg, transparent 240deg, transparent 290deg, var(--ds-auth-fx-3) 320deg, transparent 360deg);
|
|
1149
|
+
filter: blur(var(--ds-auth-fx-blur));
|
|
1150
|
+
opacity: var(--ds-auth-fx-opacity);
|
|
1151
|
+
}
|
|
1152
|
+
/* Conector entre dos marcas (OAuthConsent): trazos de la marca que fluyen de una a otra. */
|
|
1153
|
+
@utility ds-auth-fx-link {
|
|
1154
|
+
border-radius: 9999px;
|
|
1155
|
+
background-image: repeating-linear-gradient(90deg, var(--primary) 0 var(--ds-oauth-link-dash), transparent var(--ds-oauth-link-dash) calc(var(--ds-oauth-link-dash) * 2));
|
|
1156
|
+
background-size: calc(var(--ds-oauth-link-dash) * 2) 100%;
|
|
1157
|
+
animation: ds-auth-flow calc(var(--ds-motion-blink) * 2) linear infinite;
|
|
1158
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1159
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1160
|
+
animation: none;
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
@keyframes ds-auth-flow {
|
|
1164
|
+
to {
|
|
1165
|
+
background-position: calc(var(--ds-oauth-link-dash) * 2) 0;
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
/* Todas las animaciones de acceso leen --ds-auth-fx-play (running | paused): la marca las pausa sin tocar código. */
|
|
1169
|
+
@utility animate-ds-auth-pan {
|
|
1170
|
+
animation: ds-auth-pan var(--ds-auth-fx-duration) linear infinite;
|
|
1171
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1172
|
+
}
|
|
1173
|
+
@utility animate-ds-auth-spin {
|
|
1174
|
+
animation: ds-orbit var(--ds-auth-fx-duration) linear infinite;
|
|
1175
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1176
|
+
}
|
|
1177
|
+
@utility animate-ds-auth-spin-reverse {
|
|
1178
|
+
animation: ds-orbit calc(var(--ds-auth-fx-duration) * 1.6) linear infinite reverse;
|
|
1179
|
+
animation-play-state: var(--ds-auth-fx-play);
|
|
1180
|
+
}
|
|
1181
|
+
@keyframes ds-auth-pan {
|
|
1182
|
+
to {
|
|
1183
|
+
background-position: var(--ds-auth-fx-grid-size) var(--ds-auth-fx-grid-size);
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
@keyframes ds-auth-drift {
|
|
1187
|
+
from {
|
|
1188
|
+
transform: translate3d(-6%, -4%, 0) rotate(0deg) scale(1);
|
|
1189
|
+
}
|
|
1190
|
+
to {
|
|
1191
|
+
transform: translate3d(6%, 5%, 0) rotate(25deg) scale(1.15);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
@keyframes ds-auth-mesh {
|
|
1195
|
+
0% {
|
|
1196
|
+
background-position: 0% 0%, 100% 0%, 50% 100%;
|
|
1197
|
+
}
|
|
1198
|
+
50% {
|
|
1199
|
+
background-position: 100% 40%, 0% 100%, 0% 20%;
|
|
1200
|
+
}
|
|
1201
|
+
100% {
|
|
1202
|
+
background-position: 40% 100%, 60% 0%, 100% 60%;
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
@keyframes ds-auth-float-a {
|
|
1206
|
+
0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
|
|
1207
|
+
33% { transform: translate3d(30%, 18%, 0) scale(1.18); }
|
|
1208
|
+
66% { transform: translate3d(-12%, 32%, 0) scale(0.92); }
|
|
1209
|
+
}
|
|
1210
|
+
@keyframes ds-auth-float-b {
|
|
1211
|
+
0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
|
|
1212
|
+
33% { transform: translate3d(-32%, 14%, 0) scale(0.86); }
|
|
1213
|
+
66% { transform: translate3d(-14%, -22%, 0) scale(1.14); }
|
|
1214
|
+
}
|
|
1215
|
+
@keyframes ds-auth-float-c {
|
|
1216
|
+
0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
|
|
1217
|
+
50% { transform: translate3d(24%, -28%, 0) scale(1.22); }
|
|
1218
|
+
}
|
|
1219
|
+
@keyframes ds-auth-float-d {
|
|
1220
|
+
0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
|
|
1221
|
+
25% { transform: translate3d(-18%, -16%, 0) scale(1.05); }
|
|
1222
|
+
50% { transform: translate3d(22%, -8%, 0) scale(1.15); }
|
|
1223
|
+
75% { transform: translate3d(8%, 22%, 0) scale(0.9); }
|
|
1224
|
+
}
|
|
1225
|
+
@keyframes ds-auth-wave {
|
|
1226
|
+
0%, 100% { transform: translate3d(-6%, 0, 0) rotate(-10deg) scaleY(1); }
|
|
1227
|
+
50% { transform: translate3d(6%, 8%, 0) rotate(-4deg) scaleY(1.4); }
|
|
1228
|
+
}
|
|
1229
|
+
@keyframes ds-auth-hue {
|
|
1230
|
+
from { background-position: 0% 50%; }
|
|
1231
|
+
to { background-position: 100% 50%; }
|
|
1232
|
+
}
|
|
1233
|
+
@keyframes ds-auth-sweep {
|
|
1234
|
+
0% { mask-position: 120% 0, 0 0; }
|
|
1235
|
+
70%, 100% { mask-position: -20% 0, 0 0; }
|
|
1236
|
+
}
|
|
1237
|
+
@keyframes ds-auth-breathe {
|
|
1238
|
+
from {
|
|
1239
|
+
transform: scale(0.9);
|
|
1240
|
+
opacity: 0.6;
|
|
1241
|
+
}
|
|
1242
|
+
to {
|
|
1243
|
+
transform: scale(1.08);
|
|
1244
|
+
opacity: 1;
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
@utility animate-ds-otp-char {
|
|
1248
|
+
animation: var(--ds-otp-char-animation);
|
|
1249
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1250
|
+
animation: none;
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
@utility animate-ds-auth-shake {
|
|
1254
|
+
animation: var(--ds-auth-shake-animation);
|
|
1255
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1256
|
+
animation: none;
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
@utility animate-ds-auth-reveal {
|
|
1260
|
+
animation: var(--ds-auth-reveal-animation);
|
|
1261
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1262
|
+
animation: none;
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
@utility animate-ds-auth-pop {
|
|
1266
|
+
animation: var(--ds-auth-pop-animation);
|
|
1267
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1268
|
+
animation: none;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
@keyframes ds-auth-reveal {
|
|
1272
|
+
from {
|
|
1273
|
+
opacity: 0;
|
|
1274
|
+
transform: translateY(calc(var(--ds-motion-distance) * -0.5));
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
@keyframes ds-auth-pop {
|
|
1278
|
+
from {
|
|
1279
|
+
opacity: 0;
|
|
1280
|
+
transform: scale(var(--ds-auth-pop-scale));
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
@keyframes ds-otp-pop {
|
|
1284
|
+
from {
|
|
1285
|
+
opacity: 0;
|
|
1286
|
+
transform: translateY(calc(var(--ds-motion-distance) * -1)) scale(var(--ds-otp-pop-scale));
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
@keyframes ds-auth-shake {
|
|
1290
|
+
20%, 60% {
|
|
1291
|
+
transform: translateX(calc(var(--ds-auth-shake-distance) * -1));
|
|
1292
|
+
}
|
|
1293
|
+
40%, 80% {
|
|
1294
|
+
transform: translateX(var(--ds-auth-shake-distance));
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
@keyframes ds-auth-zoom {
|
|
1298
|
+
from {
|
|
1299
|
+
scale: 1;
|
|
1300
|
+
}
|
|
1301
|
+
to {
|
|
1302
|
+
scale: var(--ds-auth-fx-zoom);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
@keyframes ds-float {
|
|
1306
|
+
from {
|
|
1307
|
+
translate: 0 0;
|
|
1308
|
+
}
|
|
1309
|
+
to {
|
|
1310
|
+
translate: 0 calc(var(--ds-float-distance) * -1);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
@keyframes ds-auth-enter {
|
|
1314
|
+
from {
|
|
1315
|
+
opacity: 0;
|
|
1316
|
+
transform: translateY(var(--ds-motion-distance)) scale(var(--ds-motion-scale));
|
|
1317
|
+
filter: blur(var(--ds-motion-blur));
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
908
1320
|
@keyframes ds-accordion-close {
|
|
909
1321
|
from {
|
|
910
1322
|
height: var(--accordion-panel-height, auto);
|
|
@@ -1163,10 +1575,14 @@
|
|
|
1163
1575
|
stroke-width: var(--ds-sidebar-icon-stroke);
|
|
1164
1576
|
}
|
|
1165
1577
|
/* Logo / avatar del lateral (botones lg: marca y cuenta) */
|
|
1578
|
+
/* Cuadrada siempre (un Avatar trae su propio basis/min: sin !important quedaba ovalado) */
|
|
1166
1579
|
[data-sidebar='menu-button'][data-size='lg'] > :first-child {
|
|
1167
|
-
width: var(--ds-sidebar-logo);
|
|
1168
|
-
height: var(--ds-sidebar-logo);
|
|
1169
|
-
|
|
1580
|
+
width: var(--ds-sidebar-logo) !important;
|
|
1581
|
+
height: var(--ds-sidebar-logo) !important;
|
|
1582
|
+
min-width: var(--ds-sidebar-logo) !important;
|
|
1583
|
+
min-height: var(--ds-sidebar-logo) !important;
|
|
1584
|
+
flex: 0 0 var(--ds-sidebar-logo) !important;
|
|
1585
|
+
aspect-ratio: 1;
|
|
1170
1586
|
}
|
|
1171
1587
|
/* Separadores: alineados con las filas (0) o de borde a borde (negativo) */
|
|
1172
1588
|
[data-slot='sidebar-separator'] {
|
package/dist/themes/lagoon.css
CHANGED
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
/* Materiales: sin cristal en las tarjetas; aurora de fondo */
|
|
136
136
|
--ds-card-backdrop: none;
|
|
137
137
|
--ds-page-backdrop:
|
|
138
|
-
radial-gradient(48% 42% at 12% 4%,
|
|
138
|
+
radial-gradient(48% 42% at 12% 4%, color-mix(in oklch, var(--brand-bright) 30%, transparent), transparent 72%),
|
|
139
139
|
radial-gradient(44% 40% at 96% 30%, rgba(255, 176, 124, 0.26), transparent 72%),
|
|
140
140
|
radial-gradient(52% 46% at 52% 108%, rgba(43, 143, 196, 0.14), transparent 72%);
|
|
141
141
|
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
--ds-sidebar-item-radius: var(--ds-radius-pill);
|
|
158
158
|
|
|
159
159
|
/* Privadas de lagoon */
|
|
160
|
-
--lg-dock-g: linear-gradient(
|
|
161
|
-
--lg-dock-shadow: 0 24px
|
|
160
|
+
--lg-dock-g: linear-gradient(180deg, color-mix(in oklch, var(--sidebar) 92%, white) 0%, var(--sidebar) 40%); /* mate: solo un reflejo arriba, sin oscurecer (vale con laterales claros y oscuros) */
|
|
161
|
+
--lg-dock-shadow: 0 1px 2px rgba(8, 42, 35, 0.1), 0 10px 24px -10px rgba(8, 42, 35, 0.22), 0 30px 60px -24px rgba(8, 42, 35, 0.32), inset 0 1px 0 color-mix(in oklch, var(--sidebar-foreground) 16%, transparent); /* contacto + caída larga, en la tinta del tema: se ve igual con lateral claro (marca) u oscuro */
|
|
162
162
|
--lg-cta: #ffb07c;
|
|
163
163
|
--lg-on-cta: #2b1305;
|
|
164
164
|
--lg-accent-word: #ffc39b;
|
|
@@ -230,11 +230,11 @@
|
|
|
230
230
|
--ds-shadow-popover: 0 28px 58px -26px #000000;
|
|
231
231
|
|
|
232
232
|
--ds-page-backdrop:
|
|
233
|
-
radial-gradient(48% 42% at 12% 4%,
|
|
233
|
+
radial-gradient(48% 42% at 12% 4%, color-mix(in oklch, var(--brand) 17%, transparent), transparent 72%),
|
|
234
234
|
radial-gradient(44% 40% at 96% 30%, rgba(255, 154, 99, 0.1), transparent 72%),
|
|
235
235
|
radial-gradient(52% 46% at 52% 108%, rgba(91, 150, 230, 0.1), transparent 72%);
|
|
236
236
|
|
|
237
|
-
--lg-dock-shadow: 0
|
|
237
|
+
--lg-dock-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 28px -10px rgba(0, 0, 0, 0.6), 0 32px 64px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px color-mix(in oklch, var(--sidebar-foreground) 8%, transparent), inset 0 1px 0 color-mix(in oklch, var(--sidebar-foreground) 12%, transparent); /* en oscuro la sombra apenas se lee: un filete claro recorta el dock */
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/* ── 2. VARIABLES DE LA PERSONALIDAD ─────────────────────────────────────────
|
|
@@ -260,12 +260,12 @@
|
|
|
260
260
|
|
|
261
261
|
--ds-shadow-button: 0 0 #0000;
|
|
262
262
|
--ds-shadow-button-hover: 0 14px 28px -18px var(--lg-button-glow);
|
|
263
|
-
--lg-button-glow:
|
|
263
|
+
--lg-button-glow: color-mix(in oklch, var(--primary) 75%, transparent);
|
|
264
264
|
--lg-press-scale: 0.96;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.dark {
|
|
268
|
-
--lg-button-glow:
|
|
268
|
+
--lg-button-glow: color-mix(in oklch, var(--brand) 60%, transparent);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
/* Muelles reales (curvas `linear()`) donde el navegador las dibuja; si no, quedan las de arriba */
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
box-shadow: var(--ds-shadow-card-hover);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
/* Lateral (dock):
|
|
316
|
+
/* Lateral (dock): superficie mate del color del lateral, con un reflejo suave arriba */
|
|
317
317
|
[data-slot='sidebar-inner'] {
|
|
318
318
|
background-image: var(--lg-dock-g);
|
|
319
319
|
color: var(--sidebar-foreground);
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
"essence": "Pino profundo, jade vivo y un único acento cálido: tarjetas grandes, lateral oscuro flotante y movimiento con muelle.",
|
|
5
5
|
"conformance": "strict",
|
|
6
6
|
"branding": "primary",
|
|
7
|
+
"sidebar": "dark",
|
|
7
8
|
"signature": [
|
|
8
|
-
"lateral (dock)
|
|
9
|
+
"lateral (dock) oscuro en claro y en oscuro: pino de fábrica; con marca, el motor lo traduce a un tono profundo y mate del primario, con el activo en su versión clara",
|
|
9
10
|
"tarjetas de 24 px con sombra larga y suave que se elevan con muelle",
|
|
10
11
|
"aurora de fondo en tres manchas (menta, albaricoque, azul)",
|
|
11
12
|
"entrada en cascada: la superficie llega primero y su contenido sube después"
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
"status": {
|
|
45
46
|
"verified": [],
|
|
46
47
|
"approximate": [
|
|
47
|
-
"el
|
|
48
|
+
"el reflejo del dock y la aurora se reproducen con las variables del núcleo"
|
|
48
49
|
],
|
|
49
50
|
"designed": [],
|
|
50
51
|
"pending": [
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
/* Materiales: sin cristal en las tarjetas; aurora de fondo */
|
|
136
136
|
--ds-card-backdrop: none;
|
|
137
137
|
--ds-page-backdrop:
|
|
138
|
-
radial-gradient(48% 42% at 12% 4%,
|
|
138
|
+
radial-gradient(48% 42% at 12% 4%, color-mix(in oklch, var(--brand-bright) 30%, transparent), transparent 72%),
|
|
139
139
|
radial-gradient(44% 40% at 96% 30%, rgba(255, 176, 124, 0.26), transparent 72%),
|
|
140
140
|
radial-gradient(52% 46% at 52% 108%, rgba(43, 143, 196, 0.14), transparent 72%);
|
|
141
141
|
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
--ds-sidebar-item-radius: var(--ds-radius-pill);
|
|
158
158
|
|
|
159
159
|
/* Privadas de lagoon */
|
|
160
|
-
--lg-dock-g: linear-gradient(
|
|
161
|
-
--lg-dock-shadow: 0 24px
|
|
160
|
+
--lg-dock-g: linear-gradient(180deg, color-mix(in oklch, var(--sidebar) 92%, white) 0%, var(--sidebar) 40%); /* mate: solo un reflejo arriba, sin oscurecer (vale con laterales claros y oscuros) */
|
|
161
|
+
--lg-dock-shadow: 0 1px 2px rgba(8, 42, 35, 0.1), 0 10px 24px -10px rgba(8, 42, 35, 0.22), 0 30px 60px -24px rgba(8, 42, 35, 0.32), inset 0 1px 0 color-mix(in oklch, var(--sidebar-foreground) 16%, transparent); /* contacto + caída larga, en la tinta del tema: se ve igual con lateral claro (marca) u oscuro */
|
|
162
162
|
--lg-cta: #ffb07c;
|
|
163
163
|
--lg-on-cta: #2b1305;
|
|
164
164
|
--lg-accent-word: #ffc39b;
|
|
@@ -230,11 +230,11 @@
|
|
|
230
230
|
--ds-shadow-popover: 0 28px 58px -26px #000000;
|
|
231
231
|
|
|
232
232
|
--ds-page-backdrop:
|
|
233
|
-
radial-gradient(48% 42% at 12% 4%,
|
|
233
|
+
radial-gradient(48% 42% at 12% 4%, color-mix(in oklch, var(--brand) 17%, transparent), transparent 72%),
|
|
234
234
|
radial-gradient(44% 40% at 96% 30%, rgba(255, 154, 99, 0.1), transparent 72%),
|
|
235
235
|
radial-gradient(52% 46% at 52% 108%, rgba(91, 150, 230, 0.1), transparent 72%);
|
|
236
236
|
|
|
237
|
-
--lg-dock-shadow: 0
|
|
237
|
+
--lg-dock-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 28px -10px rgba(0, 0, 0, 0.6), 0 32px 64px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px color-mix(in oklch, var(--sidebar-foreground) 8%, transparent), inset 0 1px 0 color-mix(in oklch, var(--sidebar-foreground) 12%, transparent); /* en oscuro la sombra apenas se lee: un filete claro recorta el dock */
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/* ── 2. VARIABLES DE LA PERSONALIDAD ─────────────────────────────────────────
|
|
@@ -260,12 +260,12 @@
|
|
|
260
260
|
|
|
261
261
|
--ds-shadow-button: 0 0 #0000;
|
|
262
262
|
--ds-shadow-button-hover: 0 14px 28px -18px var(--lg-button-glow);
|
|
263
|
-
--lg-button-glow:
|
|
263
|
+
--lg-button-glow: color-mix(in oklch, var(--primary) 75%, transparent);
|
|
264
264
|
--lg-press-scale: 0.96;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
:where(:root[data-theme='lagoon']).dark {
|
|
268
|
-
--lg-button-glow:
|
|
268
|
+
--lg-button-glow: color-mix(in oklch, var(--brand) 60%, transparent);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
/* Muelles reales (curvas `linear()`) donde el navegador las dibuja; si no, quedan las de arriba */
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
box-shadow: var(--ds-shadow-card-hover);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
/* Lateral (dock):
|
|
316
|
+
/* Lateral (dock): superficie mate del color del lateral, con un reflejo suave arriba */
|
|
317
317
|
[data-slot='sidebar-inner'] {
|
|
318
318
|
background-image: var(--lg-dock-g);
|
|
319
319
|
color: var(--sidebar-foreground);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type AuthBackdropVariant = "none" | "dots" | "grid" | "aurora" | "mesh" | "glow" | "rings" | "beams" | "image";
|
|
4
|
+
declare function AuthBackdrop({ variant, interactive, ink, animated, media, mediaTint, glass, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
5
|
+
variant?: AuthBackdropVariant;
|
|
6
|
+
/** image: la foto o el vídeo (un <img>/<video> con alt=""). */
|
|
7
|
+
media?: React.ReactNode;
|
|
8
|
+
/** image: tinte de marca (brand), dos tintas (duotone) o la foto tal cual (none). */
|
|
9
|
+
mediaTint?: "none" | "brand" | "duotone";
|
|
10
|
+
/** Cristal esmerilado encima del fondo (mesh, aurora, imagen…): suaviza y da profundidad. */
|
|
11
|
+
glass?: boolean;
|
|
12
|
+
/** Paralaje suave con inercia al mover el puntero (no en táctil ni con movimiento reducido). */
|
|
13
|
+
interactive?: boolean;
|
|
14
|
+
/** Tinta de puntos y líneas. */
|
|
15
|
+
ink?: "canvas" | "brand";
|
|
16
|
+
/** Motion graphics: false = fondo quieto. */
|
|
17
|
+
animated?: boolean;
|
|
18
|
+
}): React.JSX.Element | null;
|
|
19
|
+
|
|
20
|
+
export { AuthBackdrop, type AuthBackdropVariant };
|