# Extend configuration

In the previous post, I explained how to create a child theme. You can add another field to the `theme.json` file supplied:

{% hint style="info" %}
You can find the possible configuration fields in the official Shopware developer documentation.

**Tip:**\
Just look in the main theme, where you can use existing fields as a guide.
{% endhint %}

### 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:

{% content-ref url="/pages/vblHQiJrS8qy6WZ1e3Bm" %}
[Individual SCSS](/shopware-theme/en/for-developers/child-theme/individual-scss.md)
{% endcontent-ref %}

Your `theme.json` should include this code with an additional color field:

{% @github-files/github-code-block url="<https://github.com/rhwebdesign/RHWebChildThemeTemplate/blob/master/src/Examples/_exampleColorField.json>" %}

{% hint style="info" %}
You can now use the SCSS variable **$rhweb-custom-color-field** in your code.
{% endhint %}

You can find more information on theme configuration in the [official Shopware documentation](https://developer.shopware.com/docs/guides/plugins/themes/theme-configuration.html#structure-of-theme-configuration).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rh-webdesign.com/shopware-theme/en/for-developers/child-theme/extend-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
