Refine admin PWA dark theme controls
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-02-04 13:50:59 +01:00
parent 239f55f9c5
commit 66c7131d79
22 changed files with 999 additions and 110 deletions

View File

@@ -10,6 +10,7 @@ import { adminPath } from '../../constants';
const ICON_SIZE = 24;
export const BOTTOM_NAV_HEIGHT = 70;
export const BOTTOM_NAV_PADDING = 8;
export type NavKey = 'home' | 'tasks' | 'uploads' | 'profile';
@@ -51,7 +52,7 @@ export function BottomNav({ active, onNavigate }: { active: NavKey; onNavigate:
shadowRadius={20}
shadowOffset={{ width: 0, height: -8 }}
style={{
paddingBottom: 'max(env(safe-area-inset-bottom, 0px), 8px)',
paddingBottom: `calc(env(safe-area-inset-bottom, 0px) + ${BOTTOM_NAV_PADDING}px)`,
backdropFilter: 'blur(20px)',
WebkitBackdropFilter: 'blur(20px)',
}}