Skip to content

janviehweger/iota-css-theme

 
 

Repository files navigation

iota-css-theme

Usage

In your main React file, you could do :

import "iota-css-theme";

Fonts

You have to manually copy the icon font in to your project to use it.

The css for this package will automatically load the font from /assets/iota-icons.ttf at runtime, there is no need to link to the font file manually in your source.

If for example, you are using create-react-app, you should copy /assets/iota-icons.ttf into the /public/assets folder of you react app. When the app builds it will copy the file into the /assets folder.

Documentation

View the Styleguide at https://iota-css-theme.dag.sh

Development

To build the package run:

npm run build

or to build and then serve the style guide locally:

npm run build-serve

or to watch the sass files and automatically rebuild once they have been served you can use:

npm run build-serve-watch

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 63.2%
  • HTML 34.8%
  • JavaScript 1.4%
  • CSS 0.6%