@hackclub/theme
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

@hackclub/theme

Theme UI theme for Hack Club

yarn add @hackclub/theme
# npm i @hackclub/theme

Check out theme: theme.hackclub.com

Usage

import { ThemeProvider } from 'theme-ui'
import theme from '@hackclub/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 '@hackclub/theme/fonts/reg-bold.css'

(In a Next.js project, place in the pages/_app.js file.)

MIT License

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @hackclub/theme

      Weekly Downloads

      69

      Version

      0.3.3

      License

      MIT

      Unpacked Size

      152 kB

      Total Files

      20

      Last publish

      Collaborators

      • recursiveforte
      • merlin04
      • josias_aurel_wing
      • jianmin-chen
      • archmaster
      • cfanoulis
      • lachlanjc
      • maxwofford
      • matthewstanciu
      • uanirudhx
      • sampoder