1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import { DarkTheme, DefaultTheme } from "@react-navigation/native";
import { COLORS } from "./colors";
const NAV_THEME = {
light: {
...DefaultTheme,
colors: {
background: COLORS.light.background,
border: COLORS.light.grey5,
card: COLORS.light.card,
notification: COLORS.light.destructive,
primary: COLORS.light.primary,
text: COLORS.black,
},
},
dark: {
...DarkTheme,
colors: {
background: COLORS.dark.background,
border: COLORS.dark.grey5,
card: COLORS.dark.grey6,
notification: COLORS.dark.destructive,
primary: COLORS.dark.primary,
text: COLORS.white,
},
},
};
export { NAV_THEME };
|