shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
74.72k stars 4.65k forks source link

[bug]: border-border styling not applying to the component #4983

Closed H4zlq closed 1 month ago

H4zlq commented 1 month ago

index.css file: image

shadcn component using border-border styling: image

Output using border-border styling: image

shadcn component using border styling: image

Output using border styling: image

Isn't the styling should be like border for border-border or i am mistaken?

Affected component/components

Every components that used border-border styling

How to reproduce

...

Codesandbox/StackBlitz link

https://stackblitz.com/edit/vitejs-vite-4zwmdh?file=src%2FApp.tsx

Logs

No response

System Info

Browsers

Before submitting

joseph0926 commented 1 month ago

“border-boder” is the styling for the color of ”border” I think “border boder-boder” would be correct to achieve the behavior you want

H4zlq commented 1 month ago

“border-boder” is the styling for the color of ”border” I think “border boder-boder” would be correct to achieve the behavior you want

So it is not a bug?, because i tried to use a old version for shadcn and it did work as example with Output using border styling thing