Use HTML classes consistently to indicate certain color variations. Do not bind CSS color rules to components but to these classes.
Then, when a button is clicked for the contrast tool, you can add a class to body that allows you to change the skin easily in CSS with only a handful of CSS rules. 😁
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Love this talk! I'm curious about the options to control the contrast and text size on websites and how to go about building them?
One way of going about it:
Use HTML classes consistently to indicate certain color variations. Do not bind CSS color rules to components but to these classes.
Then, when a button is clicked for the contrast tool, you can add a class to
bodythat allows you to change the skin easily in CSS with only a handful of CSS rules. 😁