Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

KtUI installation issues


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


geometry dash breeze

combines colorful graphics, energetic music, and challenging level design to create an addictive platforming adventure that keeps players coming back for more.



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)


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(