Commit Graph

11 Commits

Author SHA1 Message Date
cloudhead
e2a6228ff5 (new) Additions & improvements to color functions.
- Added spin() to change hue.
- Fixed darken/lighten to be additive.
- Added color extraction functions.
2010-06-15 20:13:19 -04:00
cloudhead
7a2ce13712 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
a3f252b727 don't cache return values. %() plays nice with strings 2010-05-13 20:15:59 -04:00
cloudhead
30773f942f New % function, to perform string interpolation 2010-04-30 14:06:36 -04:00
cloudhead
6778f51fc3 Added a couple colour functions
saturate, desaturate, lighten, darken, greyscale.
2010-04-23 13:36:50 -04:00
cloudhead
f0942511bb Fixed HSL
HSL colors weren't working properly. The values weren't being normalized
to {0, 1}.
2010-04-23 13:35:36 -04:00
cloudhead
7be2b22cfb the e() LESS function
used to escape strings in values.
Added Anonymous node to handle things like this.
2010-04-22 19:42:02 -04:00
cloudhead
fe732e843c refactor of module system. Things work properly now, and it's all much cleaner. 2010-03-13 03:34:48 -05:00
cloudhead
2682b6dc16 support for hsl(), rgb() etc 2010-03-01 21:48:19 -05:00
cloudhead
60ac2374c9 get functions.js working 2010-03-01 20:03:43 -05:00
cloudhead
0c6366faaf functions.js init 2010-03-01 19:47:48 -05:00