-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
refactor: v3.0 #113
refactor: v3.0 #113
Conversation
/cc @jwilsson |
@ai leveraging PostCSS@7, I was able to do away with a large amount of code. |
Is “base parser” What exactly problem do you have? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
Yes.
I'm attempting to use the same approach to allow parsing of interpolation identifiers. For example: @{selector}:hover { ... } would be parsed as a So far I haven't had much luck in getting things to play nicely and allow that. I tried an approach overriding |
This comment has been minimized.
This comment has been minimized.
I suggest you to create special token for Or you can keep current tokens, but override |
This comment has been minimized.
This comment has been minimized.
@ai interesting idea. could you share how you see that looking? |
This comment has been minimized.
This comment has been minimized.
Sorry, I will not have time for it in next few weeks, because I am preparing for conference talk. Ask a questions. |
This comment has been minimized.
This comment has been minimized.
@shellscape Wow, this looks amazing! You seem to have a pretty good streak going, but I'll be happy to help out with testing across downstream projects. |
This PR is ready for test use. @jwilsson |
@shellscape Great! I'll take a look over the weekend. |
What is the motivation behind this? Less allows whitespace in that position. |
Codebase refactor and update for version 3.0.0.
Tasks:
devDependencies
ava
fix Error thrown on single-line mixin include without semicolon #110fix Broken resolve for@custom-at-rule
#106!important
is being moved out of mixin call parameters #102!IMPORTANT
is valid – should be case insensitive #89Breaking Changes
@import
are nowAtRule
withimport: true
propertyAtRule
withvariable: true
propertyRule
orAtRule
(depending on where they are used/declared) withmixin: true
property@thing : value
) and will be parsed as regular CSS.!important
no longer parsed separately if a space separates the!
andimportant
.