Created
November 13, 2015 05:58
-
-
Save hellobrian/a978cfe5839d5ad14ac5 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
| // ---- | |
| // libsass (v3.2.5) | |
| // ---- | |
| @mixin type($color, $size, $weight) { | |
| font-family: 'Helvetica', sans-serif; | |
| color: $color; | |
| font-size: $size; | |
| font-weight: $weight; | |
| } | |
| %h1 { | |
| &--dark-ui { | |
| @include type(white, 2rem, bold); | |
| } | |
| &--light-ui { | |
| @include type(black, 2rem, bold); | |
| } | |
| } | |
| .bx--light { | |
| .h1--base { | |
| @extend %h1--dark-ui; | |
| } | |
| } | |
| .bx--dark { | |
| .h1--base { | |
| @extend %h1--light-ui | |
| } | |
| } | |
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
| .bx--light .h1--base { | |
| font-family: 'Helvetica', sans-serif; | |
| color: white; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| } | |
| .bx--dark .h1--base { | |
| font-family: 'Helvetica', sans-serif; | |
| color: black; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment