Ensure all button states work
I made a demo to test button states: test.py
The results aren't great:
There are too many issues to describe here, but some highlights:
-
.flat
and.outline
doesn't work with.osd
(maybe this is ok and they should be considered mutually exclusive?) -
.suggested-action
and.disabled-action
don't play well with insensitive or drop states. -
.outline.suggested-action
and.outline.destructive-action
have no hover, active or checked states -
.flat.suggested-action
and.flat.destructive-action
are almost invisible in HighContrast+dark. -
.flat
hover, active states are almost invisible in hc+dark, not contrasty enough in hc.
This demo also doesn't show the focus rings, pretty sure e.g. .flat.suggested-action
is broken too.
Edited by Alice Mikhaylenko