Last active
November 2, 2017 02:43
-
-
Save robwierzbowski/4a3d7f86f189043444c285dd2c0895a8 to your computer and use it in GitHub Desktop.
Example PostCSS variables usage
This file contains 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
/* vars.css */ | |
$off-black: hsl(0, 0%, 14%); | |
$serif-family: "Charter BT", "Times New Roman", serif; | |
/* component style.css */ | |
@import 'vars.css'; | |
.firstName { | |
color: $off-black; | |
font-family: $serif-family; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment