nord
v0.2.1
Published
A arctic, north-bluish color palette
Downloads
6,167
Maintainers
Readme
The color palette it divided into four named components to represent the different color effects.
Nord colors are numbered from nord0
to nord15
where each component contains a different amount of colors:
- Polar Night
nord0
-nord3
- Snow Storm
nord4
-nord6
- Frost
nord7
-nord10
- Aurora
nord11
-nord15
This naming convention allows an uncomplicated use for terminals and preserves the compatibility to similar projects like base16.
Usage
To show a list of all available Gulp tasks run gulp
or gulp help
.
CSS
The CSS specification supports the usage of primitive value types to define custom properties which can be used to create e.g. color variables.
Nord provides the template-css.scss
template file to compile a nord.css
stylesheet.
The generated file contains all Nord color variables prefixed with --
inside the :root
pseudo-class.
The :root
pseudo-class represents an element that is the root of the document.
This is always the HTML (<html>
) element which allows to use the Nord color variables for the whole document.
The nord.css
stylesheet can be compiled via Gulp:
npm install
gulp compile-css-template
Sass
Copy the nord.scss
file into your project and import it in your Sass files:
@import "nord";
The .scss
file extension is optional.
SassDoc
Nord Sass sources are documented using the SassDoc documentation syntax which can be compiled to a HTML documentation via Gulp:
npm install
gulp sassdoc
The Sassdoc theme can be changed by editing the .sassdocrc
configuration file.
LESSCSS
Copy the nord.less
file into your project and import it in your LESSCSS files:
@import "nord";
Information about how the @import
statement handles imports with different file extensions can be found in the official LESSCSS documentation.
KSS
Nord LESSCSS sources are documented using the KSS documentation syntax.
Information about the generation of a styleguide can be found in the official KSS documentation.
Color Swatches
Nord is available in various native formats:
.aco
Adobe Photoshop Palette.ase
Adobe Swatch Exchange.gpa
Gpick Palette.gpl
GIMP/Inkscape/CinePaint/Krita Palette.mtl
Alias/WaveFront Material
A list of detailed information about each file format can be found here.
Port Projects
Forks
- Nordisk by @kamwitsta
Development
Contribution
Please report issues/bugs, feature requests and suggestions for improvements to the issue tracker.