No .text- utility class for default body color
Created by: razh
There is currently no way of resetting an <a>
element (or any other element) to have the same color as <body>
($gray-900
).
.text-dark
exists, but it's a slightly lighter color ($gray-800
).
https://getbootstrap.com/docs/4.0/utilities/colors/
Maybe something like .text-default
?
Prior art
-
Primer (
.text-gray-dark
&.link-gray-dark
): https://github.com/primer/primer/blob/master/modules/primer-utilities/lib/colors.scss -
Tailwind (
.text-black
): https://tailwindcss.com/docs/text-color
Related issues
-
https://github.com/twbs/bootstrap/pull/19847 (there's a recommendation of
.text-body
here)