Created
September 4, 2014 21:52
-
-
Save catrope/b6391d7b87013bbb8353 to your computer and use it in GitHub Desktop.
icon magic
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
@useInvertedIcons(): | |
&:extend(.oo-ui-icon-foo-inverted); | |
&:extend(.oo-ui-icon-bar-inverted); | |
.oo-ui-icon-foo { foo.png; } | |
.oo-ui-icon-foo-inverted { foo-white.png; } | |
.oo-ui-flagged-constructive .oo-ui-icon-foo { | |
foo-green.png; | |
} | |
.oo-ui-flagged-destructive .oo-ui-icon-foo { | |
foo-red.png; | |
} | |
.oo-ui-flagged-progressive .oo-ui-icon-foo { | |
foo-blue.png; | |
} | |
.oo-ui-button-framed { | |
&.oo-ui-flagged-constructive, | |
&.oo-ui-flagged-destructive, | |
&.oo-ui-flagged-progressive { | |
@useInvertedIcons(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment