site/lib/theme.js
bajpai244 c444c88f65 feat: force light mode on website
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.
2021-10-07 14:26:26 -04:00

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