I am creating a page which will have both light mode and dark mode. I have added both the buttons, and have created two different CSS spreadsheets, one for dark mode and one for light mode. I am currently using the light mode CSS file as I imported it at the beginning, however I am unsure how to select a different CSS file to be used. If anyone knows a solution I'd really appreciate some help.
-
stackoverflow.com/questions/28386125/…MyTwoCents– MyTwoCents2021-05-22 12:27:33 +00:00Commented May 22, 2021 at 12:27
-
You can try this alternative: How to achieve dark/light themes in a React App?Ajeet Shah– Ajeet Shah2021-05-22 16:16:03 +00:00Commented May 22, 2021 at 16:16
Add a comment
|