Navigation

ThemeWare® Manual

Configuration

Colour configuration


Primary button

Field type:
Color picker

Example value:
$sw-color-brand-primary

Path to the configuration:
Tab "Layout" => Block "Buttons" => Section "Colour configuration"

Technical name:
twt-color-primary-button

Here you can configure the background colour for the primary button.

Text colour / hover effect:
According to Bootstrap, the text colour is automatically inverted from this colour value.
For the hover effect, this colour value is automatically darkened.

Variable: $twt-color-primary-button


Secondary button

Field type:
Color picker

Example value:
$sw-color-brand-secondary

Path to the configuration:
Tab "Layout" => Block "Buttons" => Section "Colour configuration"

Technical name:
twt-color-secondary-button

Here you can configure the background colour for the secondary button.

Text colour / hover effect:
According to Bootstrap, the text colour is automatically inverted from this colour value.
For the hover effect, this colour value is automatically darkened.

Variable: $twt-color-secondary-button


Light button

Field type:
Color picker

Example value:
#f9f9f9

Path to the configuration:
Tab "Layout" => Block "Buttons" => Section "Colour configuration"

Technical name:
twt-color-light-button

Here you can configure the background colour for the light button.

Text colour / hover effect:
According to Bootstrap, the text colour is automatically inverted from this colour value.
For the hover effect, this colour value is automatically darkened.

Variable: $twt-color-light-button


Dark button

Field type:
Color picker

Example value:
#4a545b

Path to the configuration:
Tab "Layout" => Block "Buttons" => Section "Colour configuration"

Technical name:
twt-color-dark-button

Here you can configure the background colour for the dark button.

Text colour / hover effect:
According to Bootstrap, the text colour is automatically inverted from this colour value.
For the hover effect, this colour value is automatically darkened.

Variable: $twt-color-dark-button

Revocation button


Layout type

Field type:
Select

Available values:
• Shopware (default)
• Button
• Button (outline)

Example value:
Shopware (default)

Path to the configuration:
Tab "Layout" => Block "Buttons" => Section "Revocation button"

Technical name:
twt-revocation-btn-layout-type

Look of the revocation button in widgets and footer elements.

Shopware (default): The button stays exactly as Shopware ships it, the button colour has no effect.

In the copyright footer and in the checkout footer a separate field decides whether the button takes over this setting.


Button colour

Field type:
Select

Available values:
• Light
• Primary
• Secondary
• Dark

Example value:
Primary

Path to the configuration:
Tab "Layout" => Block "Buttons" => Section "Revocation button"

Technical name:
twt-revocation-btn-color-type

You configure the colours in the tab "Layout" => area "Buttons" => section "Colour configuration".

Note: For "Button (outline)" choose a colour with sufficient contrast to the background, otherwise the button is barely visible.

Note: In the layout type "Shopware (default)" this configuration has no effect.

Last updated on

This page online: https://docs.themeware.design/manual/layout/buttons/configuration · ThemeWare® Service Portal, service.themeware.design