Hi,
I want to integrate KtUI on my Metronic project (React Vite Javascript Tailwind 3), but got a few issues trying.
When adding @import './node_modules/ktui/styles.css'; in my styles got this:
[plugin:vite: css] [postcss]
/Users/meetallo/Desktop/Repos/hg_ldt_front/node_modules/@keenthemes/ktui/src/components/badge/badge.css:9:3:
The
'text-accent-foreground' class does not exist. If 'text-accent-foreground' is a custom class, make sure it
is defined within a '@layer' directive.
Thanks for your help
The 7F777 App offers endless fun with smooth controls.
Hi
similar issues reported in the Tailwind CSS community regarding missing theme variables for design system components.
If this doesn't resolve the issue completely, please:
- Check if you have any conflicting Tailwind configurations
- Try clearing your build cache (rm -rf node_modules/.cache and restart your dev server)