You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@ndla/core

Package Overview
Dependencies
Maintainers
8
Versions
119
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/core

UI component library for NDLA.


Version published
Weekly downloads
666
increased by14.43%
Maintainers
8
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc