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
b45a2ab1
Commit
b45a2ab1
authored
4 years ago
by
Gaël Poupard
Committed by
Gaël Poupard
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
docs(customize/colors): dump grays swatches (unused) and merge -500 in swatches
parent
e03ef123
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/assets/scss/_colors.scss
+1
-8
site/assets/scss/_colors.scss
site/content/docs/5.0/customize/color.md
+1
-1
site/content/docs/5.0/customize/color.md
with
2 additions
and
9 deletions
+2
-9
site/assets/scss/_colors.scss
+
1
-
8
View file @
b45a2ab1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
// Docs color palette classes
// Docs color palette classes
//
//
@each
$color
,
$value
in
$colors
{
@each
$color
,
$value
in
map-merge
(
$colors
,
(
"gray-500"
:
$gray-500
))
{
.swatch-
#{
$color
}
{
.swatch-
#{
$color
}
{
color
:
color-contrast
(
$value
);
color
:
color-contrast
(
$value
);
background-color
:
#{
$value
}
;
background-color
:
#{
$value
}
;
...
@@ -40,13 +40,6 @@
...
@@ -40,13 +40,6 @@
}
}
}
}
@each
$color
,
$value
in
$grays
{
.swatch-
#{
$color
}
{
color
:
color-contrast
(
$value
);
background-color
:
#{
$value
}
;
}
}
// stylelint-disable declaration-block-single-line-max-declarations
// stylelint-disable declaration-block-single-line-max-declarations
.bd-blue-100
{
color
:
color-contrast
(
$blue-100
);
background-color
:
$blue-100
;
}
.bd-blue-100
{
color
:
color-contrast
(
$blue-100
);
background-color
:
$blue-100
;
}
...
...
This diff is collapsed.
Click to expand it.
site/content/docs/5.0/customize/color.md
+
1
-
1
View file @
b45a2ab1
...
@@ -49,7 +49,7 @@ Be sure to monitor contrast ratios as you customize colors. As shown below, we'v
...
@@ -49,7 +49,7 @@ Be sure to monitor contrast ratios as you customize colors. As shown below, we'v
{{ end -}}
{{ end -}}
<div
class=
"col-md-4 mb-3"
>
<div
class=
"col-md-4 mb-3"
>
<div
class=
"p-3 mb-2
bd
-gray-500"
>
<div
class=
"p-3 mb-2
position-relative swatch
-gray-500"
>
<strong
class=
"d-block"
>
$gray-500
</strong>
<strong
class=
"d-block"
>
$gray-500
</strong>
#adb5bd
#adb5bd
</div>
</div>
...
...
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