Miranda is a technical writer and product lead at VMware as well as founder of Books on Code, which is a platform for programmers who love to learn through technical books.
Location
San Francisco, CA
Education
MA English Literature
Work
Senior Technical Writer at VMware (previously Pivotal)
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.
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
body
that allows you to change the skin easily in CSS with only a handful of CSS rules. 😁