border-primary shows wrong color (lighter color)
Allmedialab opened this issue · comments
David Akinci commented
Prerequisites
- I have searched for duplicate or closed issues
- I have validated any HTML to avoid common problems
- I have read the contributing guidelines
Describe the issue
border-primary
doesn't show the proper border color, but a lighter color
Reduced test cases
border border-primary
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.3
Christian Oliff commented
The border-primary utility class works as expected. It uses the variable --bs-primary-rgb
which uses: --bs-primary-rgb: 13, 110, 253;
which is the same color as is used for bg-primary
(https://getbootstrap.com/docs/5.3/customize/color/#theme-colors).
Julien Déramond commented
As explained by @coliff (thanks for that), the border-primary utility works as expected. Closing this issue.