Last active
November 13, 2015 06:28
-
-
Save hellobrian/eb5320d998ddd51b78e8 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
| <body class="bx-theme"> | |
| <h1 class="h1--base">Header</h1> | |
| </body> |
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) | |
| // ---- | |
| $bluemix__font-family: 'Helvetica', sans-serif; | |
| $bluemix__text-color: #ccc; | |
| $bluemix__text-color--light: black; | |
| %type--base { | |
| font-family: $bluemix__font-family; | |
| } | |
| @mixin type($color, $size, $weight) { | |
| @extend %type--base; | |
| color: $color; | |
| font-size: $size; | |
| font-weight: $weight; | |
| } | |
| %h1 { | |
| &--base { | |
| @include type(red, 2rem, bold); | |
| } | |
| &--light-ui { | |
| @include type(blue, 2rem, bold); | |
| } | |
| } | |
| .bx-theme { | |
| .h1--base { | |
| @extend %h1--base; | |
| } | |
| &--light-ui { | |
| .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-theme .h1--base, .bx-theme--light-ui .h1--base { | |
| font-family: "Helvetica", sans-serif; | |
| } | |
| .bx-theme .h1--base { | |
| color: red; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| } | |
| .bx-theme--light-ui .h1--base { | |
| color: blue; | |
| 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
| <body class="bx-theme"> | |
| <h1 class="h1--base">Header</h1> | |
| </body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment