Setting $background-color in common.variables.styl has no effect
-
Hi,
I try to change the background color of all webpages. I set $background-color but the page stays white. Is it a bug or did I miss something?
Thanks
-
There’s no
$background-color
Stylus variable. Just use CSS to set the background of whatever element you want.
-
always check the list of available variables here: https://quasar-framework.org/components/stylus-variables.html .
-
Sorry, I made a mistake: the name of variable is $body-background, and I set it correctly.
I noticed today that the background appears well on Chrome, but not on Firefox. Very strange! Could someone test it? Set $body-background in common.variables.styl and try it on Chrome and Firefox.