No Packages Misplaced

    @nrk/core-css

    1.14.6 • Public • Published

    @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.

    Keywords

    none

    Install

    npm i @nrk/core-css

    DownloadsWeekly Downloads

    293

    Version

    1.14.6

    License

    MIT

    Unpacked Size

    164 kB

    Total Files

    15

    Last publish

    Collaborators

    • suxiang
    • norasv
    • eschoien
    • unaons
    • trulsl
    • syndrol
    • henit
    • mslhm
    • cbjerkan
    • hermangudesen
    • andreeldareide
    • henningkoller
    • davhu
    • oleob
    • meisen
    • espenhalstensen
    • hakonknutzen2
    • danjohnrk
    • olapeter
    • teodor-elstad
    • michaelpande
    • lysebraate
    • yngvar-nrk
    • lorecaster
    • wwalmnes
    • nrk-ps-teamcity
    • vincent.andersson
    • swla
    • nrk-midas-jenkins
    • andorpandor
    • jarlelin
    • aevare
    • nrkrichard
    • gesi
    • gundelsby-nrk
    • jonstalecarlsen
    • machineboy
    • vagifabilov
    • nrk-sofie-ci
    • nytamin
    • jesperstarkar
    • loftum
    • emte123
    • skjalgepalg
    • eirikhalvard
    • astokke
    • n640071
    • n07073
    • kristian.rosenvold
    • henrik-mattsson
    • eirikbacker
    • haavardm
    • popeindustries
    • yr
    • nrk-kurator-jenkins
    • toshb
    • torgeilo
    • nrk-user-sync
    • dhdeploy
    • janerikbr
    • espenwa
    • rogerhmar
    • ovstetun
    • eivind
    • stianlj
    • haraldkj
    • mariusu
    • spesialsnorre
    • cristobal
    • knuthaug
    • thohalv
    • johnarne
    • nrk-sup-jenkins
    • eshaswini
    • morrow
    • oyvindeh
    • laat
    • toggu
    • nrk-jenkins
    • plomma
    • evjand
    • moltubakk
    • ingridguren
    • lu-lux
    • andersli
    • silje
    • stiandg
    • sjurlur
    • anderscan
    • andipodnrk
    • pkej
    • yosrimti
    • zenangst
    • morten.nyhaug
    • ingvildcath
    • erlend.jones
    • brneirik
    • mollerse
    • eriksalhus
    • frdrks
    • tbnrk
    • nordanke
    • balte
    • mikaelrss
    • simonmitternacht
    • christiankarlsson9
    • martintorgersen
    • rebchr
    • steipal
    • discobus
    • ingvesund
    • martingundersen
    • tinkajts
    • hallvardlid
    • tomivar
    • ajaco
    • tobinus
    • mortenok
    • nrk-ark-deploy
    • jeangilbertlouis
    • heidimork
    • ingriddraagen
    • fridajalborg
    • bruusi
    • rosvoll
    • christianeide
    • enordby
    • artzag
    • glen_imrie
    • mia.aasbakken
    • elathamna
    • evjjan17
    • olatoft
    • kongsrud
    • chrpeter
    • ingvildforseth
    • esseb
    • talepre
    • haraldk76
    • stigok
    • dagfinno
    • johannesodland
    • anders993
    • vildefj
    • vildepk
    • malinaandahl
    • andreakn
    • rolerboler
    • meloygutt
    • anders.baggethun