Config Schema
Full reference of all theme.json fields shipped by DmfGuppyTheme, grouped by area. Admin access: Content → Themes → Guppy Theme → Configure.
Layout & container
Container widths
| Field | Type | Default | Description |
|---|---|---|---|
guppy-container-width-default | text | 1400px | Default container |
guppy-container-width-fluid | text | 100% | Fluid container |
guppy-container-width-sm | text | 1230px | Small container |
Container padding
| Breakpoint | Field | Default |
|---|---|---|
| XXL | guppy-container-default-padding-x-xxl | 48px |
| XL | guppy-container-default-padding-x-xl | 48px |
| LG | guppy-container-default-padding-x-lg | 48px |
| MD | guppy-container-default-padding-x-md | 48px |
| SM | guppy-container-default-padding-x-sm | 24px |
| Mobile | guppy-container-default-padding-x-mobile | 10px |
CMS section padding
Adds extra padding controls to Shopping Experience sections, directly in the section settings modal:
| Field | Type | Default | Description |
|---|---|---|---|
guppy-cms-section-padding-x | text | 48px | Horizontal padding |
guppy-cms-section-padding-y | text | 48px | Default vertical padding |
guppy-cms-section-padding-y-2x | text | 96px | Extra vertical padding (2x) |
Section options in the editor:
| Option | Effect |
|---|---|
| Horizontal padding | Toggle |
| Padding top & bottom | Default Y padding |
| Extra Large (2x) | Double Y padding |
| Padding top | Top only (with No spacing option) |
| Padding bottom | Bottom only (with No spacing option) |
Customise in a child theme:
scss
$guppy-cms-section-padding-x: 32px;
$guppy-cms-section-padding-y: 64px;
$guppy-cms-section-padding-y-2x: 128px;Header
Header variant
| Field | Type | Options | Default |
|---|---|---|---|
guppy-header | select | default, compact, extended, simple | extended |
| Variant | Description |
|---|---|
default | Shopware default header |
compact | Guppy default, compact |
extended | With top bar |
simple | Minimalist |
Header options
| Field | Type | Default | Effect |
|---|---|---|---|
guppy-header-max-height | text | 22px | Max logo height |
guppy-header-skip-to-main-content | bool | false | Skip link to main content |
guppy-header-skip-to-main-nav | bool | false | Skip link to navigation |
guppy-header-skip-to-search | bool | false | Skip link to search |
Footer
Footer variant
| Field | Type | Options | Default |
|---|---|---|---|
guppy-footer | select | default, guppy-default | guppy-default |
Footer configuration
| Field | Type | Default | Effect |
|---|---|---|---|
guppy-footer-border-top-color | text | default-border | Top border color |
guppy-footer-show-payment-methods | bool | false | Show payment methods |
guppy-footer-show-shipping-methods | bool | false | Show shipping methods |
Custom fields for shipping / payment methods
DmfGuppyTheme registers the custom field set guppy_footer_options:
| Field | Type | Effect |
|---|---|---|
guppy_hide_in_footer | bool | If active: don't render the method in the footer |
guppy_alternative_label | text | Overrides the tooltip name on hover |
Social media links
| Field | Type |
|---|---|
guppy-footer-social-media-instagram | text |
guppy-footer-social-media-facebook | text |
guppy-footer-social-media-linkedin | text |
guppy-footer-social-media-youtube | text |
guppy-footer-social-media-x | text |
guppy-footer-social-media-tiktok | text |
Custom section images (1–4)
| Field | Type |
|---|---|
guppy-footer-custom-section-image-1 | media |
guppy-footer-custom-section-image-1-link | text |
guppy-footer-custom-section-image-2 | media |
guppy-footer-custom-section-image-2-link | text |
| (up to image 4) | … |
USP banner
Basics
| Field | Type | Default |
|---|---|---|
guppy-usp-active | bool | false |
guppy-usp-layout | select | benefits |
Benefits layout
| Field | Type |
|---|---|
guppy-usp-layout-benefit1 | text |
guppy-usp-layout-benefit2 | text |
guppy-usp-layout-benefit3 | text |
guppy-usp-layout-benefit4 | text |
Standard layout
| Field | Type | Default |
|---|---|---|
guppy-usp-layout-text | text | "" |
guppy-usp-layout-link | text | "" |
guppy-usp-layout-newTab | bool | false |
Product cards
| Field | Type | Options | Default |
|---|---|---|---|
guppy-productcard-config | select | default, guppy-default | guppy-default |
guppy-productcard-protective-frame | bool | – | true |
guppy-productcard-image-object-fit | select | contain, cover | contain |
Product detail
Buybox
| Field | Type | Default | Effect |
|---|---|---|---|
guppy-detail-buybox-styling | select | default | default, border, background |
guppy-detail-headline-buybox | bool | true | Product name in buybox |
guppy-detail-buybox-contact | bool | false | Show contact info |
guppy-detail-buybox-contact-hotline | bool | false | Show hotline |
guppy-detail-buybox-hide-quantity-buttons | bool | false | Hide quantity buttons |
guppy-detail-mobile-title-above-gallery | bool | false | Product title above gallery on mobile |
Gallery & tabs
| Field | Type | Default | Effect |
|---|---|---|---|
guppy-detail-gallery-scroll | bool | false | Gallery scrolls with content |
guppy-detail-display-properties-as-tab | bool | false | Properties as a separate tab |
Checkout & login
| Field | Type | Options | Default |
|---|---|---|---|
guppy-checkout | select | default, compact | compact |
guppy-login-register | select | default, compact | default |
Badges
Basics
| Field | Type | Default |
|---|---|---|
guppy-badges-show-outline | bool | false |
New badge
| Field | Type | Default |
|---|---|---|
guppy-badges-new-background-color | color | #22C087 |
guppy-badges-new-color | color | #FFFFFF |
guppy-badges-new-outline-color | color | #FFFFFF |
Top-seller badge
| Field | Type | Default |
|---|---|---|
guppy-badges-top-seller-background-color | color | #F89C00 |
guppy-badges-top-seller-color | color | #FFFFFF |
guppy-badges-top-seller-outline-color | color | #FFFFFF |
Discount badge
| Field | Type | Default |
|---|---|---|
guppy-badges-discount-background-color | color | #E10036 |
guppy-badges-discount-color | color | #FFFFFF |
guppy-badges-discount-outline-color | color | #FFFFFF |
Alerts
Colors
| Field | Type | Default | Effect |
|---|---|---|---|
guppy-alert-color-success | color | #D3F2E7 | Success background |
guppy-alert-color-success-text | select | dark | Success text color |
guppy-alert-color-info | color | #CEEDFE | Info background |
guppy-alert-color-info-text | select | dark | Info text color |
guppy-alert-color-warning | color | #FFEFD4 | Warning background |
guppy-alert-color-warning-text | select | dark | Warning text color |
guppy-alert-color-danger | color | #FDE2E7 | Danger background |
guppy-alert-color-danger-text | select | dark | Danger text color |
Options
| Field | Type | Default | Effect |
|---|---|---|---|
guppy-alert-alert-outline-active | bool | false | Outline border on alerts |
Color system
Brand
| Field | Type | Default | Use |
|---|---|---|---|
sw-color-brand-primary | color | #215AFF | Primary |
sw-color-brand-secondary | color | #0B1845 | Secondary |
Greyscales
| Field | Default |
|---|---|
sw-color-gray-100 | #F9F9F9 |
sw-color-gray-200 | #EEEEEE |
sw-color-gray-300 | #BCC1C7 |
sw-color-gray-400 | #CED4DA |
sw-color-gray-500 | #ADB5BD |
sw-color-gray-600 | #798490 |
sw-color-gray-700 | #495057 |
sw-color-gray-800 | #4A545B |
sw-color-gray-900 | #212529 |
Typography
Font sizes
| Field | Type | Default |
|---|---|---|
sw-font-size-base | text | 1rem |
sw-h1-font-size | text | 32px |
sw-h2-font-size | text | 24px |
sw-h3-font-size | text | 20px |
sw-h4-font-size | text | 18px |
sw-h5-font-size | text | 16px |
sw-h6-font-size | text | 15px |
Line heights
| Field | Default |
|---|---|
sw-h1-line-height | 44px |
sw-h2-line-height | 36px |
sw-h3-line-height | 32px |
Buttons & inputs
| Field | Type | Default | Effect |
|---|---|---|---|
sw-input-btn-font-size | text | 16px | Button font size |
sw-input-btn-border-radius | text | 4px | Button corner radius |
sw-input-btn-font-weight | select | normal | Button font weight |
Usage in code
In Twig
twig
{% if theme_config('guppy-header') == 'extended' %}
{# Extended header logic #}
{% endif %}In SCSS
Theme values are exposed as CSS custom properties:
scss
.custom-component {
background-color: var(--sw-color-brand-primary);
font-size: var(--sw-font-size-base);
}Related
- Theme Variables: SCSS counterpart of the configuration fields.
- Twig Blocks: override paths in templates.
- Twig Overrides: using fields in your own templates.
- Variables & Tokens: SCSS architecture and mixins.