0.1.2 • Published 2 years ago
@m4thieulavoie/design-system v0.1.2
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>