@masoni/css-design-tokens
v0.0.3
Published
Bouygues Design System - Masoni specific CSS styles for design tokens
Downloads
1
Maintainers
Readme
@masoni/css-design-tokens
Bouygues Design System - Masoni specific CSS styles for design tokens
Install package
After installing npm, you can install @masoni/css-design-tokens
with this command:
npm i -S @masoni/css-design-tokens
Install fonts
Raleway & Inter fonts as described in Textstyles.
Usage
Once you have installed this package, you just have to import CSS styles!
With a bundler that supports CSS imports in JS files:
import '@masoni/css-design-tokens/dist/index.css';
Otherwise include it in your HTML file:
<link rel="stylesheet" href="./node_modules/@masoni/css-design-tokens/dist/index.css" />
Development
To know all the use cases and their associated code, check out the showcase guidelines here.
For example:
<p style="color: var(--mas-primitive-color_red500)">Hello World!</p>
You can see the different CSS Custom Properties here.
I have a issue, what should I do?
Please file the issue here.
Contributing
License
© BYCN