Last active
November 13, 2015 19:41
-
-
Save hellobrian/8013dbdc8ee6fa759f5d 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
| <!-- html --> | |
| <h1> blah</h1> | |
| <h2 class="hi">hi</h2> |
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
| // ---- | |
| // libsass (v3.2.5) | |
| // ---- | |
| @mixin type($color, $size, $weight) { | |
| color: $color; | |
| font-size: $size; | |
| font-weight: $weight; | |
| } | |
| h1, .h1 { | |
| @include type(red, 2rem, bold); | |
| .light-theme & { | |
| @include type(blue, 2rem, bold); | |
| } | |
| .dark-theme & { | |
| @include type(teal, 2rem, bold); | |
| } | |
| } |
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
| h1, .h1 { | |
| color: red; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| } | |
| .light-theme h1, .light-theme .h1 { | |
| color: blue; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| } | |
| .dark-theme h1, .dark-theme .h1 { | |
| color: teal; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| } |
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
| <!-- html --> | |
| <h1> blah</h1> | |
| <h2 class="hi">hi</h2> |
Author
hellobrian
commented
Nov 13, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
