rosmcmahon / parcel-esm-grommet-template

an esm webstarter template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

parcel-esm-grommet-template

Automatic Theme Toggling

The theme automatically toggles dark & light depending on your system's theme.

Included themed components so far:

  • ThemeGrommet, overall theme
  • CodeBox, <code> elements
  • FooterHot, a hot footer that sticks to the screen bottom
  • Image, takes imageDark & imageLight URLs as inputs
  • useThemeMode, a react hook to get the current theme mode

Publish to github.io

You may or may not find npm run github.io useful. You need to set up github pages in your repo to look in <root>/docs folder on main branch.

About

an esm webstarter template

License:GNU Lesser General Public License v2.1


Languages

Language:TypeScript 86.3%Language:CSS 7.5%Language:HTML 6.2%