Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 309 Bytes

Define custom color keywords.

Standard color keywords (e.g. blue, red) cannot be overridden.

@color {
  acme-blue: s-adjust(blue -10);
  kolanut: #D0474E;
}

@color vanilla #FBF7EC;


/* Usage is the same as with native color keywords */
p {
  color: vanilla;
  border: 1px solid acme-blue;
}