Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a21a9f34
Commit
a21a9f34
authored
7 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
add map function for grays
parent
6fbceb2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_functions.scss
+4
-0
scss/_functions.scss
with
4 additions
and
0 deletions
+4
-0
scss/_functions.scss
+
4
-
0
View file @
a21a9f34
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment