Skip to content

Instantly share code, notes, and snippets.

@anthonyshort
Created July 10, 2012 01:50
Show Gist options
  • Save anthonyshort/3080492 to your computer and use it in GitHub Desktop.
Save anthonyshort/3080492 to your computer and use it in GitHub Desktop.
Colours with Sass
// Base Colours
$text-color :#d7d7d9 #a4acb2 #495a66 #979da2 #a4acb2;
$background-color :#f2f2f2 #f6f7f7 #495965 #36424a;
$border-color :#34a5e0 #eef0f1 #e3e3e5 #dcdcde;
$accent-color :#FF7070 #39b54a #ee2ea0 #63c0f2 #50b4f0;
// Specific Colours
$highlight-color :nth($accent-color,1);
$selected-color :nth($accent-color,2);
$primary-action-color :nth($accent-color,3);
@MoOx
Copy link

MoOx commented Jul 10, 2012

First thing I prefer to do is using a prefix for color instead of a suffix. It's better with IDE autocompletion :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment