blob: f019489edc65be6a1915e52d9b7191d203484b29 [file] [log] [blame]
pineafandf39fd42021-09-04 16:05:27 +01001import '../styles/globals.css';
2import NavBar from '../Components/NavBar';
Skyler Turner16c08d32021-11-04 20:06:50 +00003import { ThemeProvider } from 'theme-ui';
pineafandf39fd42021-09-04 16:05:27 +01004
Skyler Turner16c08d32021-11-04 20:06:50 +00005const theme = {
6 config: {
7 useColorSchemeMediaQuery: true,
8 initialColorModeName: 'light',
9 },
10 colors: {
11 text: '#424242',
12 background: '#ffffff',
13 primary: '#6576CC',
14 cardText: '#ffffff',
15 cardBackground: 'rgba(255, 255, 255, 0.65)',
16 cardBorder: '#C4C4C4',
17 cardFilter: 'rgba(0, 0, 0, 0)',
18 cardOverlay: '#00000080',
pineafane0283a82022-02-13 10:05:56 +000019 hint: '#E4E4E4',
20 panelColor: "#F0F0F0",
pineafan46270162022-02-13 12:06:17 +000021 fadeGradient: "rgba(240, 240, 240, 1)",
pineafandf39fd42021-09-04 16:05:27 +010022
Skyler Turner16c08d32021-11-04 20:06:50 +000023 modes: {
24 dark: {
25 text: '#ffffff',
26 background: '#252525',
27 primary: '#6576CC',
28 cardText: '#424242',
29 cardBackground: 'rgba(0, 0, 0, 0.65)',
30 cardBorder: '#424242',
pineafana841c762021-11-14 21:21:04 +000031 cardFilter: 'brightness(0.5)',
Skyler Turner16c08d32021-11-04 20:06:50 +000032 cardOverlay: '#42424280',
pineafane0283a82022-02-13 10:05:56 +000033 hint: '#242424',
pineafan46270162022-02-13 12:06:17 +000034 panelColor: "rgba(255, 255, 255, 0.05)",
35 fadeGradient: "rgba(48, 48, 48, 1)",
Skyler Turner16c08d32021-11-04 20:06:50 +000036 }
37 }
38 },
39};
40
Samuel Shuert016ea022021-09-01 16:17:24 -050041
pineafana5ce9102021-09-02 17:21:31 +010042function App({ Component, pageProps }) {
43 return <>
Skyler Turner16c08d32021-11-04 20:06:50 +000044 <ThemeProvider theme={theme}>
45 <Component {...pageProps} />
46 <NavBar />
47 </ThemeProvider>
pineafana5ce9102021-09-02 17:21:31 +010048 </>
Samuel Shuert016ea022021-09-01 16:17:24 -050049}
50
pineafana5ce9102021-09-02 17:21:31 +010051export default App