@ndla/core
TypeScript icon, indicating that this package has built-in type declarations

4.5.5 • Public • Published

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";

Readme

Keywords

Package Sidebar

Install

npm i @ndla/core

Weekly Downloads

779

Version

4.5.5

License

GPL-3.0

Unpacked Size

121 kB

Total Files

70

Last publish

Collaborators

  • kronen_ki
  • rauboti
  • mapoken
  • katrinewi
  • ndlauser
  • jonasc-knowit
  • gunnarvelle
  • jnatten