blob: 3c05c220e5f51670ed6cce0ea51619975fdea024 [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';
pineafanff3d4522022-05-06 19:51:02 +01004import Styles from '../styles/globals.module.css';
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',
pineafane0283a82022-02-13 10:05:56 +000020 hint: '#E4E4E4',
21 panelColor: "#F0F0F0",
pineafan46270162022-02-13 12:06:17 +000022 fadeGradient: "rgba(240, 240, 240, 1)",
pineafan802daca2022-10-24 21:57:29 +010023 offset: "1px",
pineafandf39fd42021-09-04 16:05:27 +010024
Skyler Turner16c08d32021-11-04 20:06:50 +000025 modes: {
26 dark: {
27 text: '#ffffff',
28 background: '#252525',
29 primary: '#6576CC',
30 cardText: '#424242',
31 cardBackground: 'rgba(0, 0, 0, 0.65)',
32 cardBorder: '#424242',
pineafana841c762021-11-14 21:21:04 +000033 cardFilter: 'brightness(0.5)',
Skyler Turner16c08d32021-11-04 20:06:50 +000034 cardOverlay: '#42424280',
pineafane0283a82022-02-13 10:05:56 +000035 hint: '#242424',
pineafan46270162022-02-13 12:06:17 +000036 panelColor: "rgba(255, 255, 255, 0.05)",
37 fadeGradient: "rgba(48, 48, 48, 1)",
pineafan802daca2022-10-24 21:57:29 +010038 offset: "-45px"
Skyler Turner16c08d32021-11-04 20:06:50 +000039 }
40 }
41 },
42};
43
Samuel Shuert016ea022021-09-01 16:17:24 -050044
pineafana5ce9102021-09-02 17:21:31 +010045function App({ Component, pageProps }) {
46 return <>
Skyler Turner16c08d32021-11-04 20:06:50 +000047 <ThemeProvider theme={theme}>
Skyler Turner16c08d32021-11-04 20:06:50 +000048 <NavBar />
pineafanff3d4522022-05-06 19:51:02 +010049 <Component {...pageProps} />
50 <div className={Styles.container} />
Skyler Turner16c08d32021-11-04 20:06:50 +000051 </ThemeProvider>
pineafana5ce9102021-09-02 17:21:31 +010052 </>
Samuel Shuert016ea022021-09-01 16:17:24 -050053}
54
pineafana5ce9102021-09-02 17:21:31 +010055export default App