From a21a9f341b96c7dea3814dbc43690cdf4ead063a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 29 Jun 2017 23:06:46 -0700 Subject: [PATCH] add map function for grays --- scss/_functions.scss | 4 ++++ 1 file changed, 4 insertions(+) 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);