Repository navigation
0.8 x style - #1482
Merged
Merged
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.
Member
|
LGTM. More optimizations and refactoring discussed for future commits. |
|
What's a :root when it's at home? |
Contributor
Author
|
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 notifications@github.com
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rename
x-style-->custom-stylerename
mixin-->@applysupport
:rootselectorvariable 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