]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add map function for grays
authorMark Otto <markdotto@gmail.com>
Fri, 30 Jun 2017 06:06:46 +0000 (23:06 -0700)
committerMark Otto <markdotto@gmail.com>
Fri, 30 Jun 2017 06:06:46 +0000 (23:06 -0700)
scss/_functions.scss

index f3574d0b373d109bdc4ae88b7af96271e408bb94..6c0601c50df40ac08d722252f8924e595c8401b5 100644 (file)
   @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);