Last active
August 29, 2015 14:19
-
-
Save una/5e6d80416bfc58ab106e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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
<ul class="colors"> | |
<li class="white">light</li> | |
<li class="brand-light">brand-light</li> | |
<li class="brand-color">brand-primary</li> | |
<li class="brand-dark">brand-dark</li> | |
<li class="dark">dark</li> | |
</ul> |
This file contains 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) | |
// ---- | |
//step one | |
$white: #fff; | |
$brand-color: #88d9e6; | |
$dark: #374b4a; | |
$brand-light: mix($brand-color, $white, 50%); | |
$brand-dark: mix($brand-color, $dark, 80%); | |
.white { | |
background-color: $white; | |
} | |
.dark { | |
background-color: $dark; | |
} | |
.brand-color { | |
background-color: $brand-color; | |
} | |
.brand-dark { | |
background-color: $brand-dark; | |
} | |
.brand-light { | |
background-color: $brand-light; | |
} | |
.colors li{ | |
display: block; | |
height: 3em; | |
width: 10%; | |
} | |
// add more mixes! | |
// $brand-secondary: #8b8Bae; | |
// $brand-secondary-blend: mix($brand-color, $brand-secondary, 40%); | |
// .brand-secondary { | |
// background-color: $brand-secondary; | |
// } | |
// .brand-secondary-blend { | |
// background-color: $brand-secondary-blend; | |
// } |
This file contains 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
.white { | |
background-color: #fff; | |
} | |
.dark { | |
background-color: #374b4a; | |
} | |
.brand-color { | |
background-color: #88d9e6; | |
} | |
.brand-dark { | |
background-color: #77bcc6; | |
} | |
.brand-light { | |
background-color: #c3ecf2; | |
} | |
.colors li { | |
display: block; | |
height: 3em; | |
width: 10%; | |
} |
This file contains 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
<ul class="colors"> | |
<li class="white">light</li> | |
<li class="brand-light">brand-light</li> | |
<li class="brand-color">brand-primary</li> | |
<li class="brand-dark">brand-dark</li> | |
<li class="dark">dark</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment