I have created a theme with a dark set of colors for the A swatch and a light set for the B swatch, yet when I open the dropdown in the B swatch preview I get the dark colors for the preview. I believe this is simply an issue with specifying the wrong swatch for the dropdown. The generated HTML for the floating div containing the dropdown options is:
I have created a theme with a dark set of colors for the A swatch and a light set for the B swatch, yet when I open the dropdown in the B swatch preview I get the dark colors for the preview. I believe this is simply an issue with specifying the wrong swatch for the dropdown. The generated HTML for the floating div containing the dropdown options is:
Note that the
data-theme
has value "a" even though this is part of the B swatch preview.