twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

Home Page:https://getbootstrap.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

border-primary shows wrong color (lighter color)

Allmedialab opened this issue · comments

Prerequisites

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

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).

As explained by @coliff (thanks for that), the border-primary utility works as expected. Closing this issue.