less.js
less.js copied to clipboard
Less. The dynamic stylesheet language.
Can you please fix this problem please?, the website works fine.
**What**: Added a fix for the parser crashing when a css variable property does not end with a semicolon. Fixes #3698 and Fixes #3373. **Why**: This helps to avoid crashes...
```less div{ @main-color: red; color: @main-color; border: 1px solid @main-color; } ``` compiled out: ```css div{ --main-color: red; color: var(--main-color); border: 1px solid var(--main-color); } ``` I know that the...
**What**: enable possibility using urls created by URL.createObjectURL to less compilation ``` let c = `h2 { color : green; cursor: pointer; }` let b = new Blob([c], { type:...
**What**: append `..` to `directories` if directories is empty **Why**: `pathDiff` will broken if url startsWith `..` `AbstractFileManager.prototype.pathDiff('../assets/', '')` returns `assets/` now **How**: pop directories only if it is not...
I have tried to compile 2 less files with Variable declaration using Parcel. Below trying to compile two Less file with variable interpolation approach like "@component-name: banner1;" and "@component-name: "banner2";...
**To reproduce:** ```less .hover\:drop-shadow-sm { --tw-blur: ; --tw-brightness: ; } ``` **Current behavior:** Valid CSS yields a ParseError. Empty values are a valid part of the CSS specification; it's how...
To simplify the issue, let's assume a third-party-library which contains: ```less // `library/style.less` @base-color: green; @dark-color: darken(@base-color, 50%); .some-class { color: @base-color; backgroundColor: @dark-color; } ``` And my app would...
**What**: I don't know why this function thinks that the path starting with '#' an absolute path, but according to the definition of absolute path, this is wrong, and the...