Created
January 7, 2019 19:54
-
-
Save phylor/d9c71d139c570db007a030871999282f to your computer and use it in GitHub Desktop.
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
// Problem statement: | |
$brand-primary: red; | |
$brand-primary: green; | |
// $brand-primary == green | |
// How to use variables in a common SCSS, but override them per client? | |
// holcim.scss | |
$brand-primary: red; | |
@import "common"; | |
// kambly.scss | |
$brand-primary: brown; | |
@import "common"; | |
// common.scss | |
$brand-primary: black !default; | |
a { | |
color: $brand-primary; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment