mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
add map function for grays
This commit is contained in:
parent
6fbceb2f70
commit
a21a9f341b
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue