ndla-core
v0.3.7
Published
UI component library for NDLA.
Downloads
28
Readme
ndla-core
ndla-core contains common styling for all NDLA components. It includes all global variables for stuff like typography, colors, etc.
Installation
$ yarn add --save ndla-core
$ npm i --save ndla-core
Usage
/* Your project's main .scss import file */
@import '~ndla-core/scss/core'; // with webpack and sass-loader
@import '../path/to/node_modules/ndla-core/scss/core'; // direct reference
Utilities are located in a seperate file and should be imported last (after component styling)
@import '~ndla-core/scss/core';
@import 'my-awesome-component';
@import '~ndla-core/scss/utilities';