shopify dawn theme how to know if a color scheme is used by one or more sections ?

Hello,

Is there any way to know to which section a color sheme is associated with ?

Sometimes, it’s confusing, and I am not sure if some of the color schemes in my schemes list are used or not.

Thanks,

Seb

Hey Seb!

I’d love to help you with this! It’s a bit technical, but totally doable. Here’s what you can do:

  1. Head over to your Shopify admin.
  2. Click on “Online Store” and then hit the three dots next to your theme.
  3. Select “Edit code.”
  4. Look for the file called “settings_data.json” and open it up.
  5. Inside that file, search for “color_schemes” – that’ll show you all the color scheme IDs in your store.
  6. Copy any of those color scheme IDs (they’ll look something like “scheme-3ae65c33-86d2-4f70-808e-b1e50875f474”) and do a global search to see where they’ve been used. You might need to install a Shopify theme search Chrome extension to search across files easily.

Let me know if you have any questions or need more help!

Cheers!
Roy

Hello Roy,

Thanks a bunch. It totally works, I have no problem to search in the code. I use this Chrome extension for searching inside the theme code : https://chromewebstore.google.com/detail/shopify-theme-search-fast/kehfecdknjlanbagfdianfdmochlaloe

I am able to see in which part of the store the color scheme is used.

Cheers,

Seb