less.js
less.js copied to clipboard
Less. The dynamic stylesheet language.
**What:** Hello I'm a student and I would like to participate I propose to add a filter() method for lists **Example code:**  **Why:** it's useful to sort and select...
We run a platform which allows users to add LESS to a page. We've recently had a pentest which highlighted the ability to exploit the use of `@plugin` and `@import`...
**To reproduce:** ```less .test { --test-var2: 0.4 } ``` **Current behavior:** error ```Unrecognised input. Possibly missing opening '{'``` **Expected behavior:** compiler success **Environment information:** - `less` version: 4.1.2 - `nodejs`...
**To reproduce:** ```less @media (max-width: 500px) { @media screen { body { background-color: red; } } } ``` **Current behavior:** Produces invalid css with `and screen` at the end of...
Hey,I found it will parse error when I import a css like this: `import './test.css'` ```css // test.css .test { --animate-margin-top: -30px; --animate-transform-vertical: top } ``` the error detail is:...
There are no problems when modifying other files in the project, only memory leaks when modifying less files. Modifying less to the latest version does not solve the problem
This came up for fixes to `svg-gradient()` (https://github.com/less/less.js/pull/3261). There are no automated visual regression tests, so it might be good to do so for functions that create visual assets. See:...
I have a piece of code that comes down to the following: ```less @blue: #007bff; // @primary: @blue; // Breaks if this line is uncommented .unlock(@colors, @rules) { @rules(); }...
Hi, I am trying to use Less in my angular 13 project, but the less.modifyVars does not seem to update the variables as defined in the less files? I get...
I have a CSS code in Polymer3 component: `paper-textarea { --iron-autogrow-textarea: { @apply --app-font-monospace; }; }` When LESS compiles it, this block gets an error `paper-textarea { --iron-autogrow-textarea: { ^...