Created
April 13, 2015 17:18
-
-
Save jessehouchins/50fb12531d8c1ef9af23 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
<html> | |
<body> | |
<dark class="d27">Darken (-27%)</dark> | |
<color>Base Color</color> | |
<light class="l97">Lighten (97%)</light> | |
</body> | |
</html> |
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) | |
// ---- | |
$color: #1997c8; // blue | |
// $color: #13aa37; // green | |
color { background: $color; } | |
.d27 { background: scale_color($color, $lightness: -27%); } | |
.l97 { background: scale_color($color, $lightness: 97%); } | |
dark, color, light { display: block; padding: 10px; border: 1px solid #CCC; margin: 4px; } |
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
color { | |
background: #1997c8; | |
} | |
.d27 { | |
background: #126e92; | |
} | |
.l97 { | |
background: #f7fcfe; | |
} | |
dark, color, light { | |
display: block; | |
padding: 10px; | |
border: 1px solid #CCC; | |
margin: 4px; | |
} |
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
<html> | |
<body> | |
<dark class="d27">Darken (-27%)</dark> | |
<color>Base Color</color> | |
<light class="l97">Lighten (97%)</light> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment