#231·tweakcn

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

Author: JJJ4032002Created Oct 22, 2025Updated Feb 22, 2026
Labelsenhancementgood first issue

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