Skip to content

Commit 1177d70

Browse files
author
mrmrs
committed
Updating docs.
1 parent 8af00ac commit 1177d70

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ View the project page at [http://clrs.cc](http://clrs.cc "Colors: Better colors
99
A simple color palette for the web. Let's be honest, out of the box, the color strings that css provides aren't... the tops.
1010
This is a set of sass/less/stylus/css variables and css classes that can help fix that with just 647B of minified and gzipped css.
1111

12+
(Uncompressed is just 888B)
13+
14+
colors.css provides utilities to apply backgrounds, text-color, border colors for both html and svg elements.
15+
16+
# Example
17+
```
18+
.blue { color: $blue; }
19+
.bg-blue { backgroundcolor: $blue; }
20+
.border--blue { border-color: $blue; }
21+
.fill-blue { fill: $blue; }
22+
.stroke-blue { stroke: $blue; }
23+
```
24+
1225
## Install colors.css
1326

1427
You can get the code a few different ways

0 commit comments

Comments
 (0)