A space to discuss online store customization, theme development, and Liquid templating.
I wanted to add in a new color scheme to dawn but couldn't figure out how. Can anyone advise? I read the doc here but am not knowledgeable enough to add it.
https://shopify.dev/themes/best-practices/design/color-system#additional-colors
Do I just add into presets in settings_data.json?
Do I also need to add the new colors into settings_schema.json and into the en.json file? Is there any other file I need to do set up in?
Also, in the theme layout file when defining styles how does this RGB system work? What is it pointing to exactly?
--color-base-text: {{ settings.colors_text.red }}, {{ settings.colors_text.green }}, {{ settings.colors_text.blue }};
Thank you for any insight.
Solved! Go to the solution
This is an accepted solution.
I successfully added colors by adding to all the above mentioned files. So, maybe I should have put more effort into that before asking. But, maybe this question will help someone else?
This is an accepted solution.
I successfully added colors by adding to all the above mentioned files. So, maybe I should have put more effort into that before asking. But, maybe this question will help someone else?
Can you say a little more about how you did it? I have been trying, but do not manage to do it. I can get a color picker to display in the theme settings menu, but I fail to make it actually change any colors.