Styling
Widget themes
One reusable look for every storefront widget, set with eleven tokens, separate from your Shopify theme.
A widget theme is a small set of design tokens that the widgets read. It is separate from your Shopify theme.
Create a theme
- Go to Widget themes and create a theme, or Duplicate one.
- Give it a Name and set the colors and sizes.
- Turn on Use as the shop's default theme if new widgets should follow it.
- Save.
The tokens
| Token | What it sets | Range |
|---|---|---|
| Background | Widget and countdown backgrounds | A color |
| Text | Titles and main text | A color |
| Secondary text | Help text, status lines and subtitles | A color |
| Border | Widget borders and progress bar tracks | A color |
| Accent | Selected tiers, bars, buttons, tags and announcement bars | A color |
| Text on accent | Text on buttons, tags and announcement bars | A color |
| Corner radius | Rounding | 0 to 32 |
| Border width | Line thickness | 0 to 6 |
| Padding | Space inside widgets and countdowns | 0 to 40 |
| Space between parts | Space between a widget's parts | 0 to 32 |
| Font size | Base size. 0 keeps your theme's size | 0 to 24 |
Presets and the default
Every store starts with Classic, Minimal, Bold, Soft and Dark. One theme is the shop default. A discount or promotion without its own choice follows it.
Use a theme on one widget
- Open the discount or promotion and go to its style section.
- Pick a theme, or Shop default.
- To change something for this widget only, turn on Override theme colors, borders and spacing.
- A changed field shows Reset theme value. Save as new theme turns your changes into a theme.
Settings a theme does not control, such as layout and what to show, are always available.
Editing and deleting
Saving a theme restyles every widget that uses it. There is nothing to publish and no block to touch. When you delete a theme, the widgets that chose it follow the default again.
Note: Settings on a block in the Shopify theme editor override the app's styling for that block.