blob: 2ed76e600b239ab972e47d747c63407a70283159 [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)",
pineafandf39fd42021-09-04 16:05:27 +010023
Skyler Turner16c08d32021-11-04 20:06:50 +000024 modes: {
25 dark: {
26 text: '#ffffff',
27 background: '#252525',
28 primary: '#6576CC',
29 cardText: '#424242',
30 cardBackground: 'rgba(0, 0, 0, 0.65)',
31 cardBorder: '#424242',
pineafana841c762021-11-14 21:21:04 +000032 cardFilter: 'brightness(0.5)',
Skyler Turner16c08d32021-11-04 20:06:50 +000033 cardOverlay: '#42424280',
pineafane0283a82022-02-13 10:05:56 +000034 hint: '#242424',
pineafan46270162022-02-13 12:06:17 +000035 panelColor: "rgba(255, 255, 255, 0.05)",
36 fadeGradient: "rgba(48, 48, 48, 1)",
Skyler Turner16c08d32021-11-04 20:06:50 +000037 }
38 }
39 },
40};
41
Samuel Shuert016ea022021-09-01 16:17:24 -050042
pineafana5ce9102021-09-02 17:21:31 +010043function App({ Component, pageProps }) {
44 return <>
Skyler Turner16c08d32021-11-04 20:06:50 +000045 <ThemeProvider theme={theme}>
Skyler Turner16c08d32021-11-04 20:06:50 +000046 <NavBar />
pineafanff3d4522022-05-06 19:51:02 +010047 <Component {...pageProps} />
48 <div className={Styles.container} />
Skyler Turner16c08d32021-11-04 20:06:50 +000049 </ThemeProvider>
pineafana5ce9102021-09-02 17:21:31 +010050 </>
Samuel Shuert016ea022021-09-01 16:17:24 -050051}
52
pineafana5ce9102021-09-02 17:21:31 +010053export default App