2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

add map function for grays

This commit is contained in:
Mark Otto
2017-06-29 23:06:46 -07:00
parent 6fbceb2f70
commit a21a9f341b
+4
View File
@@ -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);