Created by: flohw
Hi
I create updated this PR to fix issue #35001 (closed) I would like to submit this PR for any comments before taking it further. Hopefully it's the good thing to do. Feel free to add any feedback.
For example at the moment, contrast with other colors than white, not checked switch misses some contrast.
Fixed with another variable $form-switch-bg-off-image
which has an inverted color than the default one. (white instead of black basically)
I also not make any changes for disabled input too.
I didn't make any changes for disabled input but results looks good to me.
I only create this PR to know if I am in the good direction and if it has any chance to be merged.
I updated the documentation too. Let me know if some example needs to be removed and if the line 105 should not be wrapped. It has been done automatically by my IDE and leave as is as I didn't feel comfortable to horizontally scroll to read when editing.
Thanks
PS: my commit is not signed properly, I will sign it properly if I am allowed to go further.
closes #35001 (closed)