You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user I would expect when installing a component via the generator that all of the dependencies of the component to be installed and when rendering the component that it would render like it does in the docs example.
Current behavior
When installing tooltip it seems it has a dependency on hover_card and you need to install both to get tooltip to work. Furthermore in both of these components they have css variables like bg-tooltip, text-tooltip-foreground, bg-hover_card, and text-hover_card-foreground.
But none of these variables are present in shadcn.css after initial installation then generating these components.
Description
As a user I would expect when installing a component via the generator that all of the dependencies of the component to be installed and when rendering the component that it would render like it does in the docs example.
Current behavior
When installing
tooltip
it seems it has a dependency onhover_card
and you need to install both to get tooltip to work. Furthermore in both of these components they have css variables likebg-tooltip
,text-tooltip-foreground
,bg-hover_card
, andtext-hover_card-foreground
.But none of these variables are present in
shadcn.css
after initial installation then generating these components.Steps to Reproduce
rails generate shadcn-ui tooltip hover-card
bg-tooltip
does not exist inshadcn.css
The text was updated successfully, but these errors were encountered: