Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added tint & shade to readme

  • Loading branch information...
commit 75b94614c7ccde40d497f5e443c3dba13ae8389a 1 parent 2c1270e
authored July 03, 2011

Showing 1 changed file with 16 additions and 0 deletions. Show diff stats Hide diff stats

  1. 16  readme.md
16  readme.md
Source Rendered
@@ -183,6 +183,22 @@ The real power of the mixin is revealed when you pass in the optional color argu
183 183
     }
184 184
 
185 185
 
  186
+**Tint & Shade**
  187
+
  188
+Tint & shade are different from lighten() and darken() functions built into sass.
  189
+
  190
+Tint is a mix of a color with white. Tint takes a color and a percent argument.
  191
+
  192
+  div {
  193
+    background: tint(red, 40%);
  194
+  }
  195
+
  196
+Shade is a mix of a color with black. Shade takes a color and a percent argument.
  197
+
  198
+  div {
  199
+    background: shade(blue, 60%);
  200
+  }
  201
+
186 202
 ##Help Out
187 203
 Currently the project is a work in progress. Feel free to help out.
188 204
 

0 notes on commit 75b9461

Please sign in to comment.
Something went wrong with that request. Please try again.