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
75.9k stars 4.77k forks source link

Manual installation getting error "border-border` class does not exist" #855

Closed onattech closed 1 year ago

onattech commented 1 year ago

Hi, Thank you for the great work. I am trying the manual setup for a Docusaurus project. I am getting the following error.

The `border-border` class does not exist. If `border-border` is a custom class, make sure it is defined within a `@layer` directive.

I had to turn off preflight to avoid interference with Docusaurus' default styling.

codePassion-dot commented 1 year ago

I think this should be reopen because if you disable the preflight you're losing all the browser resetting and tweaks we used to do manually in the global css file

onattech commented 1 year ago

I closed this issue because I opened another one to better explain the issue. Didn't really get any attention. Feel free to comment there so maybe we grab some attention. Here's the other issue https://github.com/shadcn/ui/issues/856