Last active
August 5, 2016 18:45
-
-
Save mikeyamadeo/6c774e1548774f3478b3f782c28a8352 to your computer and use it in GitHub Desktop.
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
/* App/style/css/settings */ | |
:root { | |
—-clr-watermelon: #4FC1E9; | |
—-spacing-default: 12px; | |
} | |
@custom-media —-viewport-narrow (width >= 31.25em); | |
/** | |
* Example using settings in 'Generic' layer | |
* | |
* App/styles/css/generic | |
*/ | |
@import 'settings'; | |
dd, ol, ul { | |
margin-left: var(--spacing-default); | |
} | |
/** | |
* Arbitrary escape-hatch styling example | |
* | |
* App/components/SomeComponent/style.css | |
*/ | |
@import ‘settings’; | |
.container > *:nth-child(3n + 1) { | |
padding: var( —-clr-watermelon) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment