mirror of
https://github.com/System-End/site.git
synced 2026-04-19 18:35:12 +00:00
Currently, the website forces dark mode if in localStorage `theme-ui-color-mode` is set to dark. This, PR will force light mode and will remove these inconsistencies.
20 lines
415 B
JavaScript
20 lines
415 B
JavaScript
import base from '@hackclub/theme'
|
|
import { merge } from 'lodash'
|
|
|
|
const theme = base
|
|
|
|
theme.useColorSchemeMediaQuery = false
|
|
|
|
theme.buttons.primary = merge(theme.buttons.primary, {
|
|
textTransform: 'uppercase'
|
|
})
|
|
|
|
theme.layout.copy.maxWidth = [null, null, 'copyPlus']
|
|
|
|
theme.text.title.fontSize = [5, 6]
|
|
|
|
/**Disable dark mode */
|
|
theme.useColorSchemeMediaQuery = false
|
|
theme.colors.modes = {}
|
|
|
|
export default theme
|