Switch :focus uses hardcoded color instead of $primary
Created by: antoinematyja
Hello,
I'm testing on macOS 10.15.3 with Chrome 81.
The new switch design uses a hardcoded color in its :focus
style, which results in wrong color if the primary color was overriden.
Here is an example with $primary set to green (the switch checkbox is in :focus
state):
Culprit is here:
Which should be based on $primary instead of a hardcoded value.
Thanks