Created
July 10, 2014 21:48
-
-
Save thedaviddias/2039683de516fc21336e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.3.9) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$themeName: Z; | |
@mixin theme($themeName) { | |
@if $themeName == z { | |
@content; | |
} | |
@if $themeName == y { | |
@content; | |
} | |
} | |
.wrapper { | |
@include theme(z) { | |
border-top: 10px solid green; | |
} | |
@include theme(y) { | |
border-top: 10px solid blue; | |
} | |
} |
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
.wrapper { | |
border-top: 10px solid green; | |
border-top: 10px solid blue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment