-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should :extend(.selector all)
flag be !all
?
#29
Comments
If it's about opinions I wonder why it's "!". The |
🤔 Interesting take. To be fair, I used to feel the same way, and it used to be popular to hate on I've since just considered it in terms of syntax consistency. If you remove the "!important is historically used poorly" emotional attachment, I think on its face, the syntax has nothing wrong with it (other than they only used this syntax for this one thing). It clearly denotes a flag. |
If I recall correctly earlier we had something like |
@seven-phases-max As in |
I would like to move Less in the direction of less ambiguous parsing. The fact |
I realized I've felt this way for a while but haven't raised it as a specific issue.
I think we should change this...
...to...
That is, it's long felt odd to me that
all
looks like a regular selector. I think it should be a flag, like!important
. Obviously if we ever got around to implementingdeep
it would be the same way.It would be trivial in the parser to make
!
optional, and then later update docs to prefer it, but I'm wondering how others feel about it.The text was updated successfully, but these errors were encountered: