Update profile header to use design system

This commit is contained in:
Paul Frazee 2022-12-30 13:13:10 -06:00
parent 5e07b5bbc3
commit 10f613475a
2 changed files with 70 additions and 58 deletions

View file

@ -4,6 +4,7 @@ import {useTheme, PaletteColorName, PaletteColor} from '../ThemeContext'
export interface UsePaletteValue {
colors: PaletteColor
view: ViewStyle
btn: ViewStyle
border: ViewStyle
text: TextStyle
textLight: TextStyle
@ -17,6 +18,9 @@ export function usePalette(color: PaletteColorName): UsePaletteValue {
view: {
backgroundColor: palette.background,
},
btn: {
backgroundColor: palette.backgroundLight,
},
border: {
borderColor: palette.border,
},