Is it possible to change the color on a white background?
melvincarvalho opened this issue · 2 comments
melvincarvalho commented
I tried something like
odoo.default({
el:".spin",value:"£400" , "color" : "black", "background-color" : "green"
})
But it always shows up as white on white ...
coderitual commented
It's a bug. Thanks for reporting this. Color should be handled by fill attribute in css (as it is a svg).
coderitual commented
Hi, now you can change the color with css. As it is a svg element you need to use fill
instead of color
. The cool thing is that you could use some additional attributes like stroke
.
.js-odoo {
fill: black;
background-color: green;
}