react-css-theme-switcher
react-css-theme-switcher copied to clipboard
No effect on changing switching themes using different color variables for scss files
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.
Hello, @Arjav97 did you find a solution? I have the some problem!!