Socket
Socket
Sign inDemoInstall

@nrk/core-css

Package Overview
Dependencies
0
Maintainers
125
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nrk/core-css

Core CSS layer for web services.


Version published
Weekly downloads
448
decreased by-5.88%
Maintainers
125
Install size
161 kB
Created
Weekly downloads
 

Readme

Source

@nrk/core-css Release

Base styling and utilities for all NRK projects. @nrk/core-css exposes a set of class names and mixins to ease creating backwards compatible layouts and standard NRK styling. The code is built on BEM-conventions and is namespaced nrk- to play nice with existing projects.

Documentation

https://static.nrk.no/core-css/latest/

Installation

Using NPM

npm install @nrk/core-css

then import it into your stylesheet:


@import '@nrk/core-css/core-css.css'                // css
@import '@nrk/core-css/core-css.scss'               // sass
@import '@nrk/core-css/core-css.less'               // less
@import 'node_modules/@nrk/core-css/core-css.styl'  // stylus

Using static

Recommended only for prototyping.

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

Local development

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

git clone git@github.com:nrkno/core-css.git
cd core-css
npm install
npm start # Your browser will open documentation with hot reloading

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

Last updated on 10 Dec 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc