Part of the Guss collection.
http://guardian.github.io/guss-colours
$ bower install guss-colours --save
Use the Guss colour variables to declare app-specific global variables.
@import 'path/to/_colours.scss';
$c-brand: guss-colour(guardian-brand);
a {
color: $c-brand;
}
- Edit an existing colour or add
my-new-colour: #xxxxxx
to the$guss-colours
map in_colours.scss
- Add
<div class="b-my-new-colour"></div>
todemo/index.html
- Compile styles using
sass demo/demo.scss:demo/demo.css
$ git commit -am "Commit message"
$ git checkout gh-pages
$ git merge -s subtree master
$ git push origin master gh-pages
Until Sass 3.3, colours like #dcdcdc
are compiled to gainsboro
.
As of Sass 3.4, compilation outputs colours using the authored notation.