I’m developing a custom oojs-ui theme for my skin. However, despite following the instructions it doesn’t seem to be the case that you can actually create a theme because ResourceLoaderImage cannot actually style the default colors of the SVGs (which is black by default) as seen in this issue if there are other variants.
Example
Expected Result
The first row of button icons in the above image was edited manually from generated files in the demos
folder.
Actual Result
The above image depicts the first row’s icons not having been properly changed to #fff
even though it was enabled with defaultColor
.
Am I correct in assuming, themes that set defaultColor if variants are also set don’t actually set the default color? If so, how do I work around this issue?