Created
March 23, 2017 15:43
-
-
Save ahaywood/7e49c8243b7fc628d13e96cae0573fc4 to your computer and use it in GitHub Desktop.
Sass Conditionals
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
$white-theme: true !default; | |
@if $white-theme { | |
@debug “we’re using the #{$white-theme}”; | |
background: white; | |
text: black; | |
} @else { | |
@debug “we’re using the #{$black-theme}”; | |
background: black; | |
text: white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment