You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several color related CSS items that contain the "white" color. These include:
(CSS var) --bs-white
.border-white
.text-white
.bg-white
One can argue that this is the contradictory of -dark elements, but it's not. The opposite of -dark is -light. The opposite of "white" is "black"
Also, "light", "dark" are color aliases, and theme makers would used these to tune their palettes, but named colors should remain logical... i.e. "blue" should be (a shade of) blue. In BS core the white is often used as the antidote for dark (#32810), because the palette is white and one needs something that is not "light" (has a different tint) - but this does not account for alternate themes.
BTW - there is a "white-50" and a "black-50", so it's been thought about... just no "black".
Adding black should be a quick change to the '_utilities.scss' and '_variables.scss' files. (I can create a PR if you agree.)
The text was updated successfully, but these errors were encountered:
Pure black is rarely needed and often avoided in color palettes. As far as I know this is the first request for adding it, so not in a hurry to make the change just yet.
There are several color related CSS items that contain the "white" color. These include:
--bs-white
.border-white
.text-white
.bg-white
One can argue that this is the contradictory of
-dark
elements, but it's not. The opposite of-dark
is-light
. The opposite of "white" is "black"Also, "light", "dark" are color aliases, and theme makers would used these to tune their palettes, but named colors should remain logical... i.e. "blue" should be (a shade of) blue. In BS core the
white
is often used as the antidote fordark
(#32810), because the palette is white and one needs something that is not "light" (has a different tint) - but this does not account for alternate themes.BTW - there is a "white-50" and a "black-50", so it's been thought about... just no "black".
Adding black should be a quick change to the '_utilities.scss' and '_variables.scss' files. (I can create a PR if you agree.)
The text was updated successfully, but these errors were encountered: