# Konfiguration erweitern

Im vorherigen Beitrag habe ich dir erklärt, wie du ein Child-Theme anlegst. Die mitgelieferte `theme.json` Datei kannst du um ein weiteres Feld erweitern:

{% hint style="info" %}
In der offiziellen Entwickler-Dokumentation von Shopware findest du die möglichen Konfigurationsfelder.

**Tipp:**\
Schau einfach im Haupt-Theme nach, dort kannst du dich an bestehenden Feldern orientieren.
{% endhint %}

### Beispiel für ein zusätzliches Farbfeld

Im Folgenden Beispiel füge ich ein Farbfeld in die Konfiguration ein, das du dann aus deiner Administration heraus nutzen kannst. Das Farbfeld wird auch als Beispiel in einem der folgenden Schritte als CSS kompiliert:

{% content-ref url="/pages/vblHQiJrS8qy6WZ1e3Bm" %}
[Individuelles SCSS](/shopware-theme/fur-entwickler/child-theme/individuelles-scss.md)
{% endcontent-ref %}

Füge diesen Content an der entsprechenden Stelle in deiner theme.json Datei ein.

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

{% hint style="info" %}
Die SCSS Variable **`$rhweb-custom-color-field`** kannst du jetzt in deinem Code verwenden.
{% endhint %}

Weitere Informationen zur Theme-Konfiguration erhältst du in der [offiziellen Dokumentation von Shopware](https://developer.shopware.com/docs/guides/plugins/themes/add-theme-inheritance.html#configinheritance-section).


---

# 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/fur-entwickler/child-theme/konfiguration-erweitern.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.
