Created
August 29, 2016 11:05
-
-
Save douglasdeodato/23589a23920721f5ad3dab3eed6b2d28 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
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
$grey: #000; | |
// Call the color palette modifiers in color values | |
@function palette($palette, $shade: 'base') { | |
@return map-get(map-get($color-palettes, $palette), $shade); | |
} | |
$color-palettes: ( | |
grey: ( | |
xx-light : lighten($grey, 43%), | |
x-light : rgba(240,240,240, 1), | |
light : rgba(221, 221, 221, 1), | |
base : $grey, | |
dark : rgba(133, 133, 133, 0.24), | |
x-dark : darken($grey, 16%) | |
), | |
); | |
.black-palette { | |
background:palette(grey); | |
} |
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
.black-palette { | |
background: #000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment