@masonii/css-design-tokens

0.0.1 • Public • Published

@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 Tight 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 '@masori/css-design-tokens/dist/index.css';

Otherwise include it in your HTML file:

<link rel="stylesheet" href="./node_modules/@masori/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

Package Sidebar

Install

npm i @masonii/css-design-tokens

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

15.7 kB

Total Files

5

Last publish

Collaborators

  • dkhoa-117