@m4thieulavoie/design-system
v0.1.2
Published
Matt's personal design system
Downloads
27
Maintainers
Readme
matt-design-system
Installation
First, make sure to install the package via either NPM or Yarn
# npm
npm i @m4thieulavoie/design-system
# yarn
yarn add @m4thieulavoie/design-system
Next, make sure to register the components in your app index JavaScript/TypeScript file.
import bootstrap from "@m4thieulavoie/design-system";
bootstrap();
Lastly, you'll want to wrap your app with the theme provider component in order for the custom properties to be registered.
<body>
<matt-theme-provider>insert your app content here</matt-theme-provider>
</body>