diff options
| author | Mark Otto <[email protected]> | 2017-06-29 23:06:46 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-06-29 23:06:46 -0700 |
| commit | a21a9f341b96c7dea3814dbc43690cdf4ead063a (patch) | |
| tree | 3b55c05aaffd2f5165b1014e2eb381f92572bb54 | |
| parent | 6fbceb2f704ac9701588ab3882988a62155135e0 (diff) | |
| download | bootstrap-a21a9f341b96c7dea3814dbc43690cdf4ead063a.tar.xz bootstrap-a21a9f341b96c7dea3814dbc43690cdf4ead063a.zip | |
add map function for grays
| -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 f3574d0b3..6c0601c50 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); |
