After creating a button in a sub-menu that should change color when clicked, I am struggling to make it work.
Below is the code for the button:
In addition to this code snippet, I have added more code which can be found here
I also want to change the color of the active checkbox to rgba(134, 154, 31, 1)
Here's an example of how it's supposed to look: Link. I have tried using checkboxes but without success.