I'm using the brooklyn theme. I'm trying to create colour swatches using the tutorial: https://gist.github.com/carolineschnapp/ed47c42d48ae4100f7be . The problem is that the colours are not showing where the variant is two words (eg 'Golden Pearl') or where it contains a '/' (eg 'Mist/Slate').
I'm using the latest version of Brooklyn, replacing spaces within css, and checking case matches.
One issue is that the products are imported from POS software, which means I can't change the variant names to remove/replace the space or slash. It would need to be done within the code.
store pw: hiezau
Any help/advice would be hugely appreciated!
(If anyone knows of another solution to creating colour swatches in Brooklyn theme, other than using an App, I would also love to hear this. The other methods I've tried don't work.).