While playing around with various color themes, I noticed that the type widget's foreground is defined by the text style variable. This is problematic because the default #ffffff text already lacks contrast against most background colors defined in Type. I have adjusted the foreground color to always be #ffffff.
Also, foreground_color function was changed to follow proper W3 contrast spec.
While playing around with various color themes, I noticed that the type widget's foreground is defined by the
text
style variable. This is problematic because the default#ffffff
text already lacks contrast against most background colors defined inType
. I have adjusted the foreground color to always be#ffffff
.Also,
foreground_color
function was changed to follow proper W3 contrast spec.