Open fabio-oesch opened 3 years ago
Its been a long time since I've worked on this repo (I use Tailwind now unfortunately) however what happens if you move the imports above your code? At a guess my code that comes in is overriding the variable but I can't remember how SaaS variables work.
@jloh, thank you for your response. I've tried that as well but that didn't work either. I've since then switched over to material-ui. Maybe it might be interesting for other people who have the same question so I'll leave it open for the time being.
I presume that the problem I'm having is just about something that I don't understand the mechanics of. As a test I've been trying to have a light and dark mode. I've added
bulma
andbulma-prefers-dark
which work fine on their own. The colour scheme works as intended. I've now wanted to try to change the colour of the background of a button depending on what colour scheme I'm on. But the issue is that non of them change or both of them at the same time in both colour schemes. These are some of the things I've tried without any success.Additional Information: It's a blank
react
project that has only a button added.and
index.js