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

5.0.2 • 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

592

Version

5.0.2

License

GPL-3.0

Unpacked Size

103 kB

Total Files

64

Last publish

Collaborators

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