Comments (7)
I do agree that this is a problem. For the time being I am going to continue to use @ for sake of compatibility though. If I decide to take the project in a different direction though, this is one of the things I will change.
from lessphp.
I understand that, but I still think it'd be good to have it optional. For example whan i want "MyClass extends lessc{...}", it'd be really nice to change this with no need to modify your code. If you make it optional, but the default would be @ it would not break anything. ;)
from lessphp.
It's good that you mentioned this actually. I completely forgot that I allowed %
as a drop in replacement for@
in any mixin. That might solve your problem.
Internally I use %
as the mixin prefix to prevent collision in the variable namespace.
from lessphp.
Well I don't actually like %, because now it's already used as unit and as modulo operator. So I still must suggest to disable % and enable $ or make it optional.
I also have some other proposals for upgrading less, can i post them here as "issues" (for others to see them).
from lessphp.
yes please do
from lessphp.
I will. :)
Oh one more thing to this one. I see the variables mPrefix and vPrefix and I love them, but I also prefer using "=" to assign value to a variable in place of ":". Can you make this optional to, please?
from lessphp.
:
and =
are interchangeable now for assignment.
from lessphp.
Related Issues (20)
- parse error: failed at `$result: &;` (stdin) HOT 1
- Will the project uodated to teh newest less version? HOT 2
- @supports CSS Feature Queries not working HOT 3
- Both DOS and UNIX style line endings issue on Theme Check WordPress Plugin
- guarded recursion fails on exit
- setPreserveComments changes line endings
- Parse error with CSS Grid Layout and named grid lines/areas HOT 3
- lessphp fatal error: expected color value: /home/iler/public_html/wp-content/themes/CherryFramework-child2/bootstrap/less/bootstrap.less on line 63
- less parser fails with UIKIT 3 less files HOT 3
- less parser fails with less.js built-in function color() HOT 1
- recursive mixin not working in nested rule
- Background SVG animation breaks generation
- PHP Fatal error: Uncaught Exception: E_NOTICE in PHP 7.4 HOT 3
- Error parse: calc function HOT 1
- Deprecated Array and string offset access syntax with curly braces is deprecated HOT 5
- Imported files get optimized incorrectly. HOT 1
- Deprecated stuff under PHP 8.1 HOT 3
- each loop -> Uncaught Exception: parse error: failed at `); `
- Support for PHP 8.2 HOT 4
- Deprecated things under PHP 8.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lessphp.