Commit Graph

27 Commits

Author SHA1 Message Date
Alexis Sellier
7ae5af9b42 add ceil/floor math functions, refactor. 2011-12-10 13:50:53 +01:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
Alexis Sellier
703efe2dc4 Merge pull request #335 from ttfkam/argb
update ARGB support, fix IE9 style injection
2011-08-22 05:40:14 -07:00
Alexis Sellier
a3f099fd69 Merge pull request #229 from bennyschudel/master
add fade() function
2011-08-18 03:38:21 -07:00
Miles Elam
71f15ac000 ARGB input removed. ARGB output added with the function argb(Color). 2011-08-03 21:02:10 -07:00
Daniel Bergey
d7cdc17cde Fix for #198, with regexen, and urlencoding if the token is uppercase. 2011-05-04 06:17:03 +08:00
Kevan Davis
4bdd4f65fe adding escape function (does url encoding, plus a few missing encodings necessary to embed svg in css) 2011-04-26 11:26:57 -04:00
bennyschudel
5130179dc5 renamed fadeto to fade 2011-03-30 03:02:09 -07:00
bennyschudel
9528420561 Added fadeto color function 2011-03-30 02:58:09 -07:00
Bart Schuller
202bcab8d2 Added new round(n) function.
Rationale: Using unrounded computed widths leads to pixel errors.
2011-02-14 23:47:41 +01:00
cloudhead
3916384664 (doc) added copyright notice to color mix function 2010-11-28 08:13:13 -05:00
cloudhead
186f898a8e (new) mix function (StanAngeloff) 2010-11-26 17:19:30 -05:00
cloudhead
818f48f8c6 add fadein & fadeout color functions 2010-11-19 15:18:56 -05:00
cloudhead
4399c9c965 make strings behave like other nodes.
- rename 'content' to 'value'
2010-07-25 16:41:05 -04:00
cloudhead
cc82887c9f modify javascript eval to be compatible with e() 2010-07-08 19:28:34 +02:00
cloudhead
c8edfe8995 fix some issues with alpha getting lost 2010-06-19 14:35:37 -04:00
cloudhead
345b8716d8 (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
7768d41050 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
bfe0acb01b don't cache return values. %() plays nice with strings 2010-05-13 20:15:59 -04:00
cloudhead
d75becf9ba New % function, to perform string interpolation 2010-04-30 14:06:36 -04:00
cloudhead
15f0589f6c Added a couple colour functions
saturate, desaturate, lighten, darken, greyscale.
2010-04-23 13:36:50 -04:00
cloudhead
7d27a181f8 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
904d997730 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