aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_functions.scss4
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);