diff options
author | Mark Otto <markdotto@gmail.com> | 2017-06-30 09:06:46 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-06-30 09:06:46 +0300 |
commit | a21a9f341b96c7dea3814dbc43690cdf4ead063a (patch) | |
tree | 3b55c05aaffd2f5165b1014e2eb381f92572bb54 /scss/_functions.scss | |
parent | 6fbceb2f704ac9701588ab3882988a62155135e0 (diff) |
add map function for grays
Diffstat (limited to 'scss/_functions.scss')
-rw-r--r-- | scss/_functions.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_functions.scss b/scss/_functions.scss index f3574d0b37..6c0601c50d 100644 --- a/scss/_functions.scss +++ b/scss/_functions.scss @@ -72,6 +72,10 @@ @return map-get($theme-colors, $key); } +@function grayscale($key: "100") { + @return map-get($grays, $key); +} + // Request a theme color level @function theme-color-level($color-name: "primary", $level: 0) { $color: theme-color($color-name); |