blob: 46808d020d50287dbab509590f0c52092f546a3a [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';
pineafan31d5d602021-11-13 21:10:30 +00004import { Helmet } from 'react-helmet';
pineafandf39fd42021-09-04 16:05:27 +01005
Skyler Turner16c08d32021-11-04 20:06:50 +00006const theme = {
7 config: {
8 useColorSchemeMediaQuery: true,
9 initialColorModeName: 'light',
10 },
11 colors: {
12 text: '#424242',
13 background: '#ffffff',
14 primary: '#6576CC',
15 cardText: '#ffffff',
16 cardBackground: 'rgba(255, 255, 255, 0.65)',
17 cardBorder: '#C4C4C4',
18 cardFilter: 'rgba(0, 0, 0, 0)',
19 cardOverlay: '#00000080',
20 hint: '#f1f1f1',
pineafandf39fd42021-09-04 16:05:27 +010021
Skyler Turner16c08d32021-11-04 20:06:50 +000022 modes: {
23 dark: {
24 text: '#ffffff',
25 background: '#252525',
26 primary: '#6576CC',
27 cardText: '#424242',
28 cardBackground: 'rgba(0, 0, 0, 0.65)',
29 cardBorder: '#424242',
30 cardFilter: 'brightness(0.7)',
31 cardOverlay: '#42424280',
32 hint: '#101010',
33 }
34 }
35 },
36};
37
Samuel Shuert016ea022021-09-01 16:17:24 -050038
pineafana5ce9102021-09-02 17:21:31 +010039function App({ Component, pageProps }) {
40 return <>
pineafan31d5d602021-11-13 21:10:30 +000041 <Helmet>
42 <html lang="en" />
43 </Helmet>
44 <head>
45 <meta charSet="utf-8" />
46 </head>
Skyler Turner16c08d32021-11-04 20:06:50 +000047 <ThemeProvider theme={theme}>
48 <Component {...pageProps} />
49 <NavBar />
50 </ThemeProvider>
pineafana5ce9102021-09-02 17:21:31 +010051 </>
Samuel Shuert016ea022021-09-01 16:17:24 -050052}
53
pineafana5ce9102021-09-02 17:21:31 +010054export default App