diff --git a/frontend/src/components/AppShell/BottomNav.vue b/frontend/src/components/AppShell/BottomNav.vue index 43133ecb3..c8bcfe72d 100644 --- a/frontend/src/components/AppShell/BottomNav.vue +++ b/frontend/src/components/AppShell/BottomNav.vue @@ -123,7 +123,7 @@ html[data-bp~="xs"] .r-bottom-nav { inset 0 1px 0 color-mix(in srgb, white 28%, transparent), inset 0 -1px 0 color-mix(in srgb, white 6%, transparent), inset 0 0 18px color-mix(in srgb, white 5%, transparent), - var(--r-elev-1); + 0 6px 24px var(--r-color-bar-shadow); } /* A translucent capsule, so the tinted icon + label carry the selection. */ diff --git a/frontend/src/styles/tokens.css b/frontend/src/styles/tokens.css index 4439cc83a..37f2f6060 100644 --- a/frontend/src/styles/tokens.css +++ b/frontend/src/styles/tokens.css @@ -227,6 +227,7 @@ html.r-app { ); --r-color-switch-knob-on: light-dark(rgba(255, 255, 255, 0.95), #111117); --r-color-title-shadow: light-dark(transparent, rgba(0, 0, 0, 0.5)); + --r-color-bar-shadow: light-dark(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35)); --r-color-success: light-dark(#15a34a, #4ade80); --r-color-warning: light-dark(#ca8a04, #fbbf24); --r-color-danger: light-dark(#dc2626, #ff5050); diff --git a/frontend/src/tokens/index.ts b/frontend/src/tokens/index.ts index 359cbaea5..682c919dd 100644 --- a/frontend/src/tokens/index.ts +++ b/frontend/src/tokens/index.ts @@ -167,6 +167,9 @@ export const colorDark = { // background art. Light theme drops it (transparent): a dark blurred halo // under dark-on-light text just smudges. titleShadow: "rgba(0, 0, 0, 0.5)", + // Floating-bar drop shadow: wide and faint, so the bar lifts without a + // dark edge. Dark needs more to read at all. + barShadow: "rgba(0, 0, 0, 0.35)", } as const; export const colorLight = { @@ -215,6 +218,7 @@ export const colorLight = { // Detail-page title shadow: none on light (a dark blurred halo under the // dark-on-light title just smudges; the calm light backdrop needs no lift). titleShadow: "transparent", + barShadow: "rgba(0, 0, 0, 0.08)", } as const; // Cover-overlay surfaces: fixed dark glass values that never theme-flip.