Commit Graph

44 Commits

Author SHA1 Message Date
Luke Page
9d535c0470 Whitespace - undo unusual new() syntax 2014-10-19 16:57:22 +01:00
Luke Page
dedf0eee38 rename env to context to avoid confusion with environment 2014-10-05 18:50:34 +01:00
Luke Page
1a78cd5901 Remove unnecessary text from require statements 2014-09-08 00:57:50 +01:00
Luke Page
cf0ac69767 Merge branch 'reworked-guard-comparison' of github.com:seven-phases-max/less.js into 2_0_0
Conflicts:
	lib/less/tree.js
	lib/less/tree/anonymous.js
	lib/less/tree/color.js
	lib/less/tree/condition.js
	lib/less/tree/dimension.js
	lib/less/tree/keyword.js
	lib/less/tree/quoted.js
2014-09-06 01:52:47 +01:00
seven-phases-max
c4e2514905 reworked guard comparison 2014-09-04 01:14:51 +04:00
Luke Page
16746e9b1e untangle the mess of dependencies and remove all circular dependencies. Remove un-necessary dependency injection. 2014-08-24 17:55:46 +01:00
Luke Page
aa3abeb716 fix trailing whitespace 2014-03-02 17:51:31 +00:00
Luke Page
7dfc0cf9b0 Merge branch 'whitespace' of github.com:XhmikosR/less.js into 2_0_0
Conflicts:
	lib/less/functions.js
	lib/less/index.js
	lib/less/tree/anonymous.js
	lib/less/tree/media.js
	lib/less/tree/mixin.js
2014-03-02 12:36:49 +00:00
XhmikosR
7efbcd31cf Trim trailing whitespace. 2014-03-02 14:06:26 +02:00
Luke Page
e5b0fb6967 move the visitors to return themselves instead of assuming where they live 2014-03-02 10:19:05 +00:00
Luke Page
ee64392362 Merge branch 'master' into 2_0_0
Conflicts:
	lib/less/import-visitor.js
	lib/less/index.js
2014-02-27 21:12:49 +00:00
Luke Page
08bd23dc2a add browserify (not yet working) and refactor tree nodes to not be dependent on their parent (currently breaks browser build) 2014-02-24 21:22:52 +00:00
Roel van Duijnhoven
ea1822385a Let luma follow spec
The `luma` function found in LESS is not implemented as defined in the specification (http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef).
2014-02-20 16:19:19 +01:00
seven-phases-max
3322609de5 More consistent named colour variables. 2014-01-23 16:08:10 +04:00
seven-phases-max
52ba472bb7 Added rounding of output numbers (hardcoded to max. 8 digits in this commit). 2014-01-18 09:58:14 +04:00
Marek Duława
13635e7462 ability to insert uppercase color names 2014-01-14 15:19:51 +01:00
seven-phases-max
302143255d clamped rgba format color output. 2013-12-22 10:02:49 +04:00
seven-phases-max
4b113be27e improved alpha channel handling for math ops, removed 'can't substract or divide a color from a number' constraint 2013-11-24 04:46:27 +04:00
Luke Page
862d7ed0ab support transparent as a color but do not alter existing output of transparent and rgba() 2013-09-14 12:10:57 +01:00
Luke Page
e68f47fec5 Merge branch 'sourcemaps-wip' into 1.5.0-wip
Conflicts:
	bin/lessc
	lib/less/env.js
	lib/less/tree/color.js
	package.json
2013-07-31 22:21:44 +01:00
Luke Page
c68352dc17 Fix issue with svg-gradient breaking the opacity 2013-07-30 12:07:03 +01:00
Luke Page
f99d29cfad continue moving to genCSS 2013-07-17 21:59:43 +01:00
Luke Page
4db7c883cf start refactoring toCSS so we will be able to collect sourcemap information at the same time 2013-07-11 22:08:38 +01:00
Luke Page
c56db94b7d Add modified (self altering) visitor pattern and class 2013-03-01 13:40:00 +00:00
Luke Page
3ef22f16f9 Add strictUnits option, add tests for legacy behaviour 2013-01-30 20:31:26 +00:00
Marcus Bointon
26d35c98fe Merge pull request #1148 from Synchro/luma
Better implementation of luma
2013-01-23 01:30:26 -08:00
Synchro
8f1bc4badf Better implementation of luma 2013-01-23 09:30:15 +01:00
Synchro
4d5c404dd9 HSV support for #1143 2013-01-23 08:43:12 +01:00
Luke Page
703aa928fc Add tests for compression. remove fullhex function - make colors not compress when used in strings. 2013-01-06 10:33:31 +00:00
Spocke
30ee944a4c Fixed so compression can be disabled on specific color values and a issue with a previous commit. 2013-01-05 16:38:49 +00:00
Spocke
f3bb594943 Added better compression for colors hex values #FFFFFF -> #FFF. 2013-01-05 16:24:59 +00:00
Luke Page
a702b282e6 Allow comparing colors and strings. Fix a bug whereby sometimes a mixin-call or import would disappear. This makes the import test fail consistently instead of once out of 8 times depending on async order I think. 2012-08-05 22:47:05 +01:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
Miles Elam
71f15ac000 ARGB input removed. ARGB output added with the function argb(Color). 2011-08-03 21:02:10 -07:00
Miles
104fc91a81 Support for IE's ARGB syntax (#aarrggbb) 2011-04-24 12:43:17 -07:00
Alexis Sellier
93d8f9c364 fix alpha channel being ignored in operations 2011-02-19 15:28:33 -05:00
cloudhead
c8edfe8995 fix some issues with alpha getting lost 2010-06-19 14:35:37 -04:00
cloudhead
193fc96de1 fixed hsla => rgba conversion 2010-06-19 13:42:33 -04:00
cloudhead
a72966fa6a removed constructor names 2010-06-19 01:51:26 -04:00
cloudhead
7768d41050 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
15f0589f6c Added a couple colour functions
saturate, desaturate, lighten, darken, greyscale.
2010-04-23 13:36:50 -04:00
cloudhead
fc616b4aa4 Doc for Call, Comments, Operation.. 2010-03-23 18:33:17 -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
f0f425de33 move node/ -> tree/ 2010-03-05 19:19:14 -05:00