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