Chip Variables are missing in the myTheme
React js with vite and primereact
steps to reproduce
- install primereact-sass-theme
- import theme-base and mytheme as written in the documentation.
- run the dev server
expected result: To work without any issues
Actual:
Same.
I am losing my mind with these repos recently. All of these purportedly big libraries do not work out of the box any more.
Do these things not get tested before they are released? Is that not absolutely basic?
Hi, I found a solution to the problem. I hope it helps. Open this file: themes/mytheme/_variables/_misc.scss and then add the following lines.
/// Background of a chip /// @group misc $chipFocusBg:#dee2e6;
/// Text color of a chip /// @group misc $chipFocusTextColor:#dee2e6;
After that, run: sass --update themes/mytheme/theme.scss:themes/mytheme/theme.css.
that is all :)
Thanks so much for your help. Will look into this solution
@dev-fatih-erol The solution you suggested worked like a charm. Thank you so much!
@dev-fatih-erol, thank you for the solution. Have you considered opening a PR for that fix? Hopefully, they will agree there is an issue and it will get fixed.