Permalink
Browse files

Added tint & shade to readme

  • Loading branch information...
1 parent 2c1270e commit 75b94614c7ccde40d497f5e443c3dba13ae8389a Phil LaPier committed Jul 4, 2011
Showing with 16 additions and 0 deletions.
  1. +16 −0 readme.md
View
@@ -183,6 +183,22 @@ The real power of the mixin is revealed when you pass in the optional color argu
}
+**Tint & Shade**
+
+Tint & shade are different from lighten() and darken() functions built into sass.
+
+Tint is a mix of a color with white. Tint takes a color and a percent argument.
+
+ div {
+ background: tint(red, 40%);
+ }
+
+Shade is a mix of a color with black. Shade takes a color and a percent argument.
+
+ div {
+ background: shade(blue, 60%);
+ }
+
##Help Out
Currently the project is a work in progress. Feel free to help out.

0 comments on commit 75b9461

Please sign in to comment.