dark mode
This commit is contained in:
@@ -99,12 +99,15 @@ let ProfileHeaderShell = ({
|
|||||||
|
|
||||||
const pTheme = useProfileTheme()
|
const pTheme = useProfileTheme()
|
||||||
|
|
||||||
|
const palette = t.name === 'light' ? pTheme.lightPalette : pTheme.darkPalette
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View pointerEvents={isIOS ? 'auto' : 'box-none'}>
|
<View pointerEvents={isIOS ? 'auto' : 'box-none'}>
|
||||||
<LinearGradient
|
<LinearGradient
|
||||||
|
key={t.name}
|
||||||
colors={[
|
colors={[
|
||||||
pTheme.lightPalette.primary_200,
|
palette.primary_200,
|
||||||
pTheme.lightPalette.primary_200,
|
palette.primary_200,
|
||||||
|
|
||||||
t.atoms.bg.backgroundColor,
|
t.atoms.bg.backgroundColor,
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user