less.js icon indicating copy to clipboard operation
less.js copied to clipboard

Less. The dynamic stylesheet language.

Results 187 less.js issues
Sort by recently updated
recently updated
newest added

**To reproduce:** [Playground link](http://lesscss.org/less-preview/#eyJjb2RlIjoiI2xpYigpIHtcbiAgICAuY29sb3JzKCkge1xuICAgICAgQHByaW1hcnk6IGJsdWU7XG4gICAgICBAc2Vjb25kYXJ5OiBncmVlbjtcbiAgICB9XG4gICAgLnJ1bGVzKEBzaXplKSB7XG4gICAgICBib3JkZXI6IEBzaXplIHNvbGlkIHdoaXRlO1xuICAgIH1cbiAgfVxuICBcbiAgLmJveCB3aGVuICgjbGliLmNvbG9yc1tAcHJpbWFyeV0gPSBibHVlKSB7XG4gICAgd2lkdGg6IDEwMHB4O1xuICAgIGhlaWdodDogKCR3aWR0aCAvIDIpO1xuICB9XG4gIFxuICAuYmFyOmV4dGVuZCguYm94KSB7XG4gICAgQG1lZGlhIChtaW4td2lkdGg6IDYwMHB4KSB7XG4gICAgICB3aWR0aDogMjAwcHg7XG4gICAgICAjbGliLnJ1bGVzKDFweCk7XG4gICAgfVxuICB9IiwiYWN0aXZlVmVyc2lvbiI6IjQuMi4wIiwibWF0aCI6InBhcmVucy1kaXZpc2lvbiIsInN0cmljdFVuaXRzIjpmYWxzZX0=) ```less [popover]:popover-open { opacity: 1; transform: scaleX(1); @starting-style { opacity: 0; transform: scaleX(0); } } ``` **Current behavior:** This produces the following output, which is clearly...

bug
feature request
medium priority

`lessc` should provide an option for comments to be preserved. Currently it preserves block comments and removes inline or `//` comments. **To reproduce:** ```less // Main comment /** comment with...

bug
feature request

**To reproduce:** ```less a:is(.b, :is(.c)) { color: blue; } ``` **Current behavior:** Reports `Missing closing ')'` even though parentheses are balanced. This is true for `:is()`, `:where()`, and `:not()` which...

bug

rebase the pr of https://github.com/less/less.js/pull/3708 and add more test cases closes #4256

**What**: Remove redundant return from `parsers.blockRuleset()`. **Why**: The `content` from `parseBlock()` is either undefined or an array array from `parsers.primary()`. The falsy return that preserves `block` creates the impression that...

### Discussed in https://github.com/less/less.js/discussions/4262 Originally posted by **mperry2** February 29, 2024 I've got a variable that's a list of several hundred items. I'd like to add comments between blocks of...

bug

**To reproduce:** ``` :is(:not(:has(>.foo)), :has(>.foo.bar)) { overflow: clip; } ``` **Current behavior:** Throw a: ParseError: Missing closing ')' **Expected behavior:** No exception has the number of close parenthesis is correct...

bug

**To reproduce:** ```less import styles from './index.less'; ``` **Current behavior:** ```javascript const Home = () => { console.log(styles) //undefined return ( ); }; ``` ```javascript { test: /\.less$/, use: [...

bug

**To reproduce:** Currently, when a ruleset contains nothing but a Less comment, that ruleset is considered empty and is stripped from the compile CSS output. The same is not true...

bug
feature request

**To reproduce:** ```less @defaultFontsizeMultiplier: 16; @fontSize: { size1: 64; size2: 40; size3: 24; text: 16; small: 14; tiny: 10; } /* TYPOGRAPHY VARIABLES */ :root { each(@fontSize, { --fl-fs-@{key}: (@value...

bug