settings
Theme settings and the settings of a template's own section.
On this page
import { … } from '@poltura/theme-sdk/settings';
| Name | What it is |
|---|
useThemeSettings | The theme settings in the page language, live while the merchant edits them in the customizer. |
useTemplateSettings | The settings of a template's own section, for an element placed elsewhere on the page. |
useColorScheme | The colour scheme the component renders in: the nearest section's or block's scheme, live while the merchant edits it. |
| Name | What it is |
|---|
TemplateId | A page template of the storefront, such as product or layout.header. |
TemplateSettings | The settings of a template's own locked section, such as the product information of product. |
SettingValue | A stored setting value: text, a number, a switch, or a list or group of them. |
ThemeSettings | The theme's settings: the platform's groups typed, the theme's own keys as stored. |
ColorScheme | One of the theme's named colour schemes, as a section or block draws in it. |
Last updated