aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTy Mick <[email protected]>2020-01-16 01:46:42 -0600
committerXhmikosR <[email protected]>2020-01-16 09:46:42 +0200
commit430c16dfacebdf1e0d73713958142916b3d23c2c (patch)
tree4d369815208c49871b990595284f3c4a5636f125
parenta79a83e7c470015e00387b3c24eb37bab812fe61 (diff)
downloadbootstrap-430c16dfacebdf1e0d73713958142916b3d23c2c.tar.xz
bootstrap-430c16dfacebdf1e0d73713958142916b3d23c2c.zip
Remove unnecessary comma in 'All colors' (#30010)
* Remove unnecessary comma in 'All colors' (Using a comma between a subject and predicate)[https://en.wikipedia.org/wiki/Comma#Between_the_subject_and_predicate] is nonstandard. * Update theming.md Co-authored-by: XhmikosR <[email protected]>
-rw-r--r--site/content/docs/4.3/getting-started/theming.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/4.3/getting-started/theming.md b/site/content/docs/4.3/getting-started/theming.md
index aa3c729a3..d54d7668d 100644
--- a/site/content/docs/4.3/getting-started/theming.md
+++ b/site/content/docs/4.3/getting-started/theming.md
@@ -280,7 +280,7 @@ Many of Bootstrap's various components and utilities are built through a series
### All colors
-All colors available in Bootstrap 5, are available as Sass variables and a Sass map in `scss/_variables.scss` file. To avoid increased file sizes, we do not create classes for each of these variables.
+All colors available in Bootstrap 5 are available as Sass variables and as a Sass map in `scss/_variables.scss`. To avoid increased file sizes, we do not create classes for each of these variables.
Sass cannot programmatically generate variables, so we must manually create them ourselves. We specify the midpoint value (`500`) and use custom color functions to tint (lighten) or shade (darken) our colors via Sass's `mix()` color function. Using `mix()` is not the same as `lighten()` and `darken()`—the former blends the specified color with white or black, while the latter only adjusts the lightness value of each color. The result is a much more complete suite of colors, as [shown in this CodePen demo](https://codepen.io/emdeoh/pen/zYOQOPB).