Skip to content

Tweakcn preview panel components are not up to date with the latest shadcn components for dark mode #231

@JJJ4032002

Description

@JJJ4032002

The components provided by shadcn now comes with the dark: variant styles for dark mode. Which causes issues as the preview panel in the tweak cn still uses the older shadcn components which do not support the dark: variant styles. Some components such as input, textarea, tooltip etc looks different as latest shadcn components use different styles.

Ofcourse the components can be updated manually but it would be still nice if the preview panel uses the latest shadcn components so users do not get a surprise later.

Is there any plan to update the components in the preview panel to use the latest shadcn components?

Here are the differences in the tooltip component.
Latest shadcn tooltip component
Tweakcn tooltip component

Example of the latest input component using dark: variant styles
Latest shadcn input component
Tweakcn input component

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions