I need help with a unique website feature. I want to implement a button that cycles between two different background colors (white and black) as well as changes the font color from black to white, and vice versa. My goal is to create a negative version of my website that users can switch to with just one click. Can someone provide me with the script and HTML code for this button?
The background color and font color are currently defined in CSS using the following tags:
body {color: $(body.text.color); background: $(body.background);}
I believe the script should modify these values accordingly.
Thank you for your assistance.