I am using the Switcher stack as an accordion. I would like the unselected title to have black font with white background and for selected titles, the inverse.
Now Switcher can do this quite easily for regular text but I want my titles to be h3 tags. Once I assign an h3 tag in the title, then the colors within the Switcher stack don’t apply anymore.
I can see how to apply a color to my h3 tag but not in a way that the color changes depending on whether it is the active title in the accordion. Is there a way to set up an h tag with colors that change based on whether or not the accordion title is active or not?