gwt-material
gwt-material copied to clipboard
Custom colors
Hi. I'm migrating my application from GMD 1.6.2 to GMD 2.2. I had my own custom colors, directly into the ui.xml file, like this:
<m:MaterialPanel backgroundColor="blu-VM">
where blu-VM is a CSS style:
.blu-VM {
background-color:#0F3556;
}
Now it doesn't work anymore, and I didn't find an how-to example. I don't want to replace all occurrence from ui.xml to programmatically instructions, if I can. Can anyone help me? Thanks in advance.
P.S.: it's not properly an issue: maybe it's a explanation request.
The backgroundColor
property param is enum but I think there's a benefit of using string too but Im not sure how we handle both enum and string in the UiBinder. Will add this feature request on 2.4.