react-css-theme-switcher icon indicating copy to clipboard operation
react-css-theme-switcher copied to clipboard

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

Open Arjav97 opened this issue 3 years ago • 1 comments

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.

Arjav97 avatar Aug 10 '21 16:08 Arjav97

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

Mardik avatar Apr 25 '22 17:04 Mardik