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', |
| 19 | hint: '#f1f1f1', |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 20 | |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame^] | 21 | modes: { |
| 22 | dark: { |
| 23 | text: '#ffffff', |
| 24 | background: '#252525', |
| 25 | primary: '#6576CC', |
| 26 | cardText: '#424242', |
| 27 | cardBackground: 'rgba(0, 0, 0, 0.65)', |
| 28 | cardBorder: '#424242', |
| 29 | cardFilter: 'brightness(0.7)', |
| 30 | cardOverlay: '#42424280', |
| 31 | hint: '#101010', |
| 32 | } |
| 33 | } |
| 34 | }, |
| 35 | }; |
| 36 | |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 37 | |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 38 | function App({ Component, pageProps }) { |
| 39 | return <> |
Skyler Turner | 16c08d3 | 2021-11-04 20:06:50 +0000 | [diff] [blame^] | 40 | <ThemeProvider theme={theme}> |
| 41 | <Component {...pageProps} /> |
| 42 | <NavBar /> |
| 43 | </ThemeProvider> |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 44 | </> |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 45 | } |
| 46 | |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 47 | export default App |