Extend configuration
Individual setting options in the child theme
In the previous post, I explained how to create a child theme. You can add another field to the theme.json file supplied:
Example of an additional color field
In the following example, I add a color field to the configuration, which you can then use from your administration. The color field is also compiled as CSS as an example in one of the following steps:
Individual SCSSYour theme.json should include this code with an additional color field:
https://github.com/rhwebdesign/RHWebChildThemeTemplate/blob/master/src/Examples/_exampleColorField.json
You can find more information on theme configuration in the official Shopware documentation.
Last updated