Open AnmAtAnm opened 6 years ago
@AnmAtAnm did you figure out a way to do this?
We have a way to change the text color on all blocks for a theme, however we don't have a great way to do this for individual blocks. If we wanted to add this, then we would probably need to add an option to the font style object.
In case you are curious, the way to do this for all blocks:
.zelos-renderer.classic-theme .blocklyText {
fill: red;
}
Problem statement
Labels always have white text, so they are not readable on white (or even light) colored blocks.
Expected Behavior
FieldLabel colors should adjust based on the block color, ensure sufficient contrast on light color blocks.
Actual Behavior
White text is unreadable.
Steps to Reproduce
See the white block in the playground test blocks, "Styles" category.