Repository navigation
Expand file tree
/
Copy pathApp.js
More file actions
73 lines (64 loc) · 1.95 KB
/
Copy pathApp.js
File metadata and controls
73 lines (64 loc) · 1.95 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import { StyleSheet} from "react-native";
import HomePage from "./pages/HomePage";
import {
MD3LightTheme as DefaultTheme,
PaperProvider,
} from "react-native-paper";
import AppHeader from "./component/AppHeader";
const lightMode = {
colors: {
primary: "rgb(120, 69, 172)",
onPrimary: "rgb(255, 255, 255)",
primaryContainer: "rgb(240, 219, 255)",
onPrimaryContainer: "rgb(44, 0, 81)",
secondary: "rgb(102, 90, 111)",
onSecondary: "rgb(255, 255, 255)",
secondaryContainer: "rgb(237, 221, 246)",
onSecondaryContainer: "rgb(33, 24, 42)",
tertiary: "rgb(128, 81, 88)",
onTertiary: "rgb(241, 235, 235)",
tertiaryContainer: "rgb(255, 217, 221)",
onTertiaryContainer: "rgb(50, 16, 23)",
error: "rgb(186, 26, 26)",
onError: "rgb(255, 255, 255)",
errorContainer: "rgb(255, 218, 214)",
onErrorContainer: "rgb(65, 0, 2)",
background: "rgb(255, 250, 250)",
onBackground: "rgb(29, 27, 30)",
surface: "rgb(255, 251, 255)",
onSurface: "rgb(29, 27, 30)",
surfaceVariant: "rgb(233, 223, 235)",
onSurfaceVariant: "rgb(74, 69, 78)",
outline: "rgb(124, 117, 126)",
outlineVariant: "rgb(204, 196, 206)",
shadow: "rgb(0, 0, 0)",
scrim: "rgb(0, 0, 0)",
inverseSurface: "rgb(50, 47, 51)",
inverseOnSurface: "rgb(245, 239, 244)",
inversePrimary: "rgb(220, 184, 255)",
elevation: {
level0: "transparent",
level1: "rgb(248, 242, 251)",
level2: "rgb(244, 236, 248)",
level3: "rgb(240, 231, 246)",
level4: "rgb(239, 229, 245)",
level5: "rgb(236, 226, 243)",
},
surfaceDisabled: "rgba(29, 27, 30, 0.12)",
onSurfaceDisabled: "rgba(29, 27, 30, 0.38)",
backdrop: "rgba(51, 47, 55, 0.4)",
},
};
const theme = {
...DefaultTheme,
colors: lightMode.colors,
};
export default function App() {
return (
<PaperProvider theme={theme}>
<AppHeader />
<HomePage />
</PaperProvider>
);
}
const styles = StyleSheet.create({});