Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nrk/core-css

Package Overview
Dependencies
Maintainers
47
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrk/core-css

Core CSS layer for web services.

  • 1.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
574
increased by192.86%
Maintainers
47
Weekly downloads
 
Created
Source

@nrk/core-css Release

Core CSS layer for web services.

Installation

Install via static.nrk.no (preferred)

<link rel="stylesheet" href="https://static.nrk.no/core-css/latest/core-css.min.css">

or version

<link rel="stylesheet" href="https://static.nrk.no/core-css/X.X.X/core-css.min.css">

Install with npm

npm install @nrk/core-css --save

Install with yarn

yarn add @nrk/core-css
@import '@nrk/core-css/dist/core-css.css';

Adding fonts and icons

In order to use NRKs core fonts and icons, see these related projects:
https://github.com/nrkno/core-fonts
https://github.com/nrkno/core-icons

Once the fonts (LFT Etica and NRK Etica Slab) have been imported, add this to your project’s CSS:

html {
  font-family: 'LFT Etica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

Local development

First clone @nrk/core-css and install dependencies:

git clone git@github.com:nrkno/core-css.git
cd core-css
npm install --no-optional

Open src/index.html in the browser and refresh to see changes.

Building and committing

After having applied changes, remember to build the CSS, SVG and fonts before pushing the changes upstream.

git checkout -b feature/my-changes
# update the source code
npm run build
git commit -am "Add my changes"
git push origin feature/my-changes
# then make PR to the master branch,
# and assign a CSS developer to review your code

NOTE! Please also make sure to keep commits small, clean and that the commit message actually refers to the updated files. Formally, make sure the message is Capitalized and starts with a verb.

FAQs

Package last updated on 19 Jan 2018

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc