-
Notifications
You must be signed in to change notification settings - Fork 2k
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
0.8 x style #1482
0.8 x style #1482
Conversation
* custom properties supports defaults, e.g. var(--a, --b); * x-style renamed to custom-style * custom-style supports defining properties at :root; also support using properties in document * mixins support consuming properties and mixins inside them.
LGTM. More optimizations and refactoring discussed for future commits. |
What's a :root when it's at home? |
We'll add info to the primer. It's just this (http://www.w3schools.com/cssref/sel_root.asp) and it's a On Mon, May 4, 2015 at 5:05 PM, Arthur Evans [email protected]
|
rename
x-style
-->custom-style
rename
mixin
-->@apply
support
:root
selectorvariable defaults
var(--a, red)
fixes bug:
c--foo:
is seen as a custom propertyconsume variable, mixin inside mixin
consume custom properties in
custom-style
(short-term workaround to support@extend
-use case style sharing