0.1.1 • Published 2 years ago

@chlteam/genki-ui v0.1.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

genki-ui

note: unstable

This is the UI kit for Genki. It includes:

  • The definitive Genki UI theme, as:
    • a tailwind theme + postCSS
    • compiled css and ejs for loading in JS or CSS
    • a <genki-theme /> web component that can be loaded at the top of any HTML page to provide the CSS, fonts and assets
  • Raw assets including fonts and icons
  • A fully modular tailwind based styling system that works across frameworks
  • A library of components (in the atomic design style). These are custom elements and have accompanying react wrappers.

Development

To open a fast live reloading server where you can iterate on design and functionality of the components:

npm run start

To build the component library and update the gallery and docs, run:

npm run build

To run the unit tests for the components, run:

npm test

To generate a new component template, run:

# npm run generate scope/genki-componentname
# e.g.
npm run generate atoms/genki-avatar

Components