Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chip Variables are missing in the myTheme #71

Open
stevenovak123 opened this issue Jun 13, 2024 · 5 comments
Open

Chip Variables are missing in the myTheme #71

stevenovak123 opened this issue Jun 13, 2024 · 5 comments

Comments

@stevenovak123
Copy link

React js with vite and primereact

steps to reproduce

  1. install primereact-sass-theme
  2. import theme-base and mytheme as written in the documentation.
  3. run the dev server

expected result: To work without any issues

Actual:
image

@jambudipa
Copy link

jambudipa commented Jun 27, 2024

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?

@dev-fatih-erol
Copy link

dev-fatih-erol commented Jul 3, 2024

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 :)

@stevenovak123
Copy link
Author

Thanks so much for your help. Will look into this solution

@mahip-hiehq
Copy link

@dev-fatih-erol The solution you suggested worked like a charm. Thank you so much!

@stefann01
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants