mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-24 13:15:45 +00:00
84ec2f60790781ec7daaa72b54dc588bef207a20
when building using vite and tailwind vite plugin
this following warning appears
```
rendering chunks (10)...warnings when minifying css:
▲ [WARNING] Unexpected ")" [css-syntax-error]
grid-cols-\[1fr_auto\]:has(:is()){grid-template-columns:1fr
^
```
this is fixed by complying to tailwind new way of writing data attribute documented [here](https://tailwindcss.com/docs/hover-focus-and-other-states#data-attributes)
change
```
[data-slot=card-action]:
```
to
```
data-[slot=card-action]:
```
resolves https://github.com/shadcn-ui/ui/issues/6930
shadcn/ui
Accessible and customizable components that you can copy and paste into your apps. Free. Open Source. Use this to build your own component library.
Documentation
Visit http://ui.shadcn.com/docs to view the documentation.
Contributing
Please read the contributing guide.
License
Licensed under the MIT license.
Description
Languages
TypeScript
90.1%
MDX
6.5%
CSS
3.3%
