Created
August 12, 2016 07:45
-
-
Save brunogarcia/851ab62876a1aeb494279110c5712786 to your computer and use it in GitHub Desktop.
CSS Modules + composes
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
// myComponent.scss | |
.myStyle { | |
composes: some-helper from '_helpers.scss'; | |
} | |
// _helpers.scss | |
.some-helper { | |
color: red | |
} | |
// final css | |
.myComponent__myStyle____2ALtb { | |
color: red | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment