Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2017-06-30 09:06:46 +0300
committerMark Otto <markdotto@gmail.com>2017-06-30 09:06:46 +0300
commita21a9f341b96c7dea3814dbc43690cdf4ead063a (patch)
tree3b55c05aaffd2f5165b1014e2eb381f92572bb54 /scss/_functions.scss
parent6fbceb2f704ac9701588ab3882988a62155135e0 (diff)
add map function for grays
Diffstat (limited to 'scss/_functions.scss')
-rw-r--r--scss/_functions.scss4
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);