@yoces/theme
v0.0.3
Published
Yoces’s theme for Theme UI websites
Downloads
14
Readme
@yoces/theme
yarn add @yoces/theme
# npm i @yoces/theme
Check out theme: theme.hackclub.com
Usage
import { ThemeProvider } from 'theme-ui'
import theme from '@yoces/theme'
export default ({ children }) => (
<ThemeProvider theme={theme}>{children}</ThemeProvider>
)
Fonts
This package also bundles 3 CSS files that include Hack Club’s webfonts:
reg.css
, reg-bold.css
, & reg-ital-bold.css
.
To use, just import straight from the package:
import '@yoces/theme/fonts/reg-bold.css'
(In a Next.js project, place in the pages/_app.js
file.)
MIT License