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

No effect on changing switching themes using different color variables for scss files #34

Open
Arjav97 opened this issue Aug 10, 2021 · 1 comment

Comments

@Arjav97
Copy link

Arjav97 commented Aug 10, 2021

I am using three separate theme modes and I am using themeswitcherprovider at top and is wrapping a route path and in that component of route path i am using themeswitcher to switch it and using three separate scss files to represent different color variables and using useEffect() to use themeswitcher using switcher function to change the selected theme but it has no effect but while changing it is giving

Refused to apply style from 'https://0.0.0.0:8085/scss/defaultTheme.scss' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

@Mardik
Copy link

Mardik commented Apr 25, 2022

Hello, @Arjav97 did you find a solution? I have the some problem!!

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

2 participants