From 9027882fb401df2a9df6a89facb2bdb94b8b731b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 24 Jan 2023 09:06:27 -0600 Subject: Account switcher (#85) * Update the account-create and signin views to use the design system. Also: - Add borderDark to the theme - Start to an account selector in the signin flow * Dark mode fixes in signin ui * Track multiple active accounts and provide account-switching UI * Add test tooling for an in-memory pds * Add complete integration tests for login and the account switcher --- src/view/lib/hooks/usePalette.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/view/lib/hooks/usePalette.ts') diff --git a/src/view/lib/hooks/usePalette.ts b/src/view/lib/hooks/usePalette.ts index 890439f34..5b9929c7d 100644 --- a/src/view/lib/hooks/usePalette.ts +++ b/src/view/lib/hooks/usePalette.ts @@ -6,6 +6,7 @@ export interface UsePaletteValue { view: ViewStyle btn: ViewStyle border: ViewStyle + borderDark: ViewStyle text: TextStyle textLight: TextStyle textInverted: TextStyle @@ -25,6 +26,9 @@ export function usePalette(color: PaletteColorName): UsePaletteValue { border: { borderColor: palette.border, }, + borderDark: { + borderColor: palette.borderDark, + }, text: { color: palette.text, }, -- cgit 1.4.1