less.js
less.js copied to clipboard
Less. The dynamic stylesheet language.
Minimal example: ```less @list: { x+: 1; x+: 2; } div { result: @list[x]; // -> `2`, but expected `1, 2` } ```
This might be related to https://github.com/less/less.js/issues/3405: ```less .mix (@n) { value: @n; } @var: .mix(var); #lookup { @var: .mix(lookup); @bar: bar; } .example { @var(); value2: #lookup[@bar]; // This is...
Hello! When compiling using `lessc --source-map-map-inline index.less` command following files _index.less_ ``` less .test { color: #000; @import "in.less" only screen and (min-width: 1024); } ``` _in.less_ ``` less a...
This bug was originally reported to WebCompiler but was stated to be a bug with the node-less module. Please refer to original bug report for more information: https://github.com/madskristensen/WebCompiler/issues/269 ### Installed...
If I import a less file that only includes variables then it does not get included in sources. Here's an example, notice that the map file at the end does...
http://www.smashingmagazine.com/2014/06/12/sassy-z-index-management-for-complex-layouts/ any plan this function support?
Calling image-width() affects output generated by data-uri() in Less 3.8.1 This generates correct base64 output: ```css a { background: data-uri('images/tick.png'); padding-right: image-width('images/tick.png'); } ``` This generates invalid base64 output: ```css...
After a more relaxed parsing of property-value rules introduced in recent Less version the following code is now "valid" (i.e. compiles w/o errors): ```less @values: { bar: {a: b}; baz:...
Variables in @import statement cause for unexpected result. I prepared demo app. https://github.com/mantsevich/less-variables-import-issue-demo 1) download 2) npm i 3) npm start 4) compare "correct.css" & "issue.css" files. What do we...
See: https://github.com/mediafreakch/less-plugin-sass2less/issues/1#issuecomment-414817753 and #3338. It looks like rather than throwing an error when an argument to a color function is not valid, some recent changes instead throw a color.toHSL conversion...