ndla-core contains common styling for all NDLA components. It includes all global variables for stuff like typography, colors, etc
yarn add --save @ndla/core
npm i --save @ndla/core
/* 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";