pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 1 | import '../styles/globals.css'; |
| 2 | import NavBar from '../Components/NavBar'; |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 3 | import { ThemeProvider } from 'theme-ui'; |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 4 | import Styles from '../styles/globals.module.css'; |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 5 | |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 6 | const 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', |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 20 | hint: '#E4E4E4', |
| 21 | panelColor: "#F0F0F0", |
pineafan | 4627016 | 2022-02-13 12:06:17 +0000 | [diff] [blame] | 22 | fadeGradient: "rgba(240, 240, 240, 1)", |
pineafan | 802daca | 2022-10-24 21:57:29 +0100 | [diff] [blame^] | 23 | offset: "1px", |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 24 | |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 25 | 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', |
pineafan | a841c76 | 2021-11-14 21:21:04 +0000 | [diff] [blame] | 33 | cardFilter: 'brightness(0.5)', |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 34 | cardOverlay: '#42424280', |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 35 | hint: '#242424', |
pineafan | 4627016 | 2022-02-13 12:06:17 +0000 | [diff] [blame] | 36 | panelColor: "rgba(255, 255, 255, 0.05)", |
| 37 | fadeGradient: "rgba(48, 48, 48, 1)", |
pineafan | 802daca | 2022-10-24 21:57:29 +0100 | [diff] [blame^] | 38 | offset: "-45px" |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 39 | } |
| 40 | } |
| 41 | }, |
| 42 | }; |
| 43 | |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 44 | |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 45 | function App({ Component, pageProps }) { |
| 46 | return <> |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 47 | <ThemeProvider theme={theme}> |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 48 | <NavBar /> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 49 | <Component {...pageProps} /> |
| 50 | <div className={Styles.container} /> |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame] | 51 | </ThemeProvider> |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 52 | </> |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 53 | } |
| 54 | |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 55 | export default App |