amy-d
3/23/2017 - 3:43 PM

Sass Conditionals

Sass Conditionals

$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;
}