Claude Design is moving to Artifacts in the Claude app. You can keep using this version until December 14. Learn more
Fore Real Golf Design System
Screenshot 2026-10-22 at 4.51.35 PM.png
Screenshot 2026-10-22 at 4.51.27 PM.png
Screenshot 2026-10-22 at 3.50.46 PM.png
Screenshot 2026-10-22 at 3.49.49 PM.png
i added a new color, gray-white, to each hat style and when I click on it on the live site it is blank. i think there is something wrong in the code that is preventing the images from rendering on the live site. You can see the colors when you haven't selected grey but when it is selected then everything is blank.
The cause is in snippets/fr-variant-gallery.liquid. That file isn't in this project, so I'm going from the guide we wrote for it. The gallery works out each photo's color from its filename, using a fixed list of color words. "gray" isn't on that list. So when gray-white is selected, none of the photos match and the script hides all of them, which leaves the gallery blank.
Fix: in Shopify, go to Online Store → Themes → Edit code → snippets/fr-variant-gallery.liquid. Find var map = [ and paste this as the first line inside the brackets:
['gray', ['gray-white']],
['grey', ['gray-white']],
It has to go first. Gray filenames like SS_gray-white_p1.jpg also contain "white", and the existing "white" line could grab those photos before the gray line gets a chance. The "grey" line covers either spelling in your filenames.
Check the filenames too. Every gray photo needs "gray" or "grey" in its file name. Shopify keeps the name the file had when you uploaded it. If the gray photos were uploaded as something like IMG_4521.jpg, the code change won't help. Rename those files and upload them again.
Test: pick gray-white on each hat that has it. Only the gray photos should show, and the other colors should still work as before.
If you paste the full snippet here, I can also add a safety net: when a color has no matching photos, the gallery shows all of them instead of going blank, so this won't happen with the next new color.
Fixing design-system issues
There's nothing to fix here. Your Adobe Fonts kit (sxw5nkw), which colors_and_type.css imports, loads all four fonts on the site. The check only flags them because the font files aren't stored in the project, and Adobe's license doesn't allow that, so these four notes will keep appearing.
here is the existing code:
Pasted text (116 lines)
The gray photos are getting tagged as white. The script looks for a list of color words in each photo's file name, and "gray" isn't on the list. A gray-white photo still contains "white", so the script files it under white-black/white-green. That's why the gray photos show up in the white-black thumbnails in your screenshot, and why nothing is left when you pick gray-white. If your files say "grey", the code misses that spelling too.
Replace the whole snippet with this. I changed three things, each marked // FR::