Created
February 24, 2015 19:13
-
-
Save alecperkins/5a466bde0a57d40d67c6 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
=replace-with-icon($x) | |
pretend-icon: $x | |
$icon-settings: 'settings-image' | |
$icon-settings_dark: 'settings-image--dark' | |
button | |
&.-toggle_menu | |
+replace-with-icon($icon-settings) | |
background-size: 19px | |
background-position: 12px 15px | |
body[data-theme="night"] & | |
+replace-with-icon($icon-settings_dark) | |
background-size: 19px | |
background-position: 12px 15px |
This file contains hidden or 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
button.-toggle_menu { | |
pretend-icon: "settings-image"; | |
background-size: 19px; | |
background-position: 12px 15px; | |
} | |
body[data-theme="night"] button.-toggle_menu { | |
pretend-icon: "settings-image--dark"; | |
background-size: 19px; | |
background-position: 12px 15px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment