]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove unnecessary comma in 'All colors' (#30010)
authorTy Mick <ty@tymick.me>
Thu, 16 Jan 2020 07:46:42 +0000 (01:46 -0600)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 16 Jan 2020 07:46:42 +0000 (09:46 +0200)
* 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 <xhmikosr@gmail.com>
site/content/docs/4.3/getting-started/theming.md

index aa3c729a3e743fa1a480a19db58e8ec97b3035c4..d54d7668dc4a3229749ff2ff22922c0839995f45 100644 (file)
@@ -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).