Align admin mobile colors with Tamagui v2 tokens

This commit is contained in:
Codex Agent
2026-02-04 11:44:07 +01:00
parent 0eacb5646c
commit 56a39d0535
8 changed files with 60 additions and 41 deletions

View File

@@ -40,6 +40,10 @@ vi.mock('@tamagui/react-native-web-lite', () => ({
}));
vi.mock('tamagui', () => ({
YStack: ({ children, ...props }: { children: React.ReactNode }) => <div {...props}>{children}</div>,
XStack: ({ children, ...props }: { children: React.ReactNode }) => <div {...props}>{children}</div>,
SizableText: ({ children, ...props }: { children: React.ReactNode }) => <span {...props}>{children}</span>,
Image: ({ src, ...props }: { src?: string }) => <img src={src} alt="" {...props} />,
Separator: ({ children }: { children?: React.ReactNode }) => <div>{children}</div>,
Tabs: Object.assign(({ children }: { children: React.ReactNode }) => <div>{children}</div>, {
List: ({ children }: { children: React.ReactNode }) => <div>{children}</div>,
@@ -50,6 +54,7 @@ vi.mock('tamagui', () => ({
vi.mock('../BottomNav', () => ({
BottomNav: () => <div data-testid="bottom-nav" />,
BOTTOM_NAV_HEIGHT: 70,
NavKey: {},
}));
@@ -57,6 +62,10 @@ vi.mock('../UserMenuSheet', () => ({
UserMenuSheet: () => <div data-testid="user-menu-sheet" />,
}));
vi.mock('../EventSwitcherSheet', () => ({
EventSwitcherSheet: () => <div data-testid="event-switcher-sheet" />,
}));
const baseEvent: TenantEvent = {
id: 1,
name: 'Test Event',