From: Mark Otto Date: Fri, 30 Jun 2017 06:06:46 +0000 (-0700) Subject: add map function for grays X-Git-Tag: v4.0.0-beta~115^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a21a9f341b96c7dea3814dbc43690cdf4ead063a;p=thirdparty%2Fbootstrap.git add map function for grays --- 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);