# settings (/themes/sdk/reference/settings)

```ts
import { … } from '@poltura/theme-sdk/settings';
```

## [Hooks](/themes/sdk/reference/settings/hooks) [#hooks]

| Name | What it is |
| --- | --- |
| [`useThemeSettings`](/themes/sdk/reference/settings/hooks#usethemesettings) | The theme settings in the page language, live while the merchant edits them in the customizer. |
| [`useTemplateSettings`](/themes/sdk/reference/settings/hooks#usetemplatesettings) | The settings of a template's own section, for an element placed elsewhere on the page. |
| [`useColorScheme`](/themes/sdk/reference/settings/hooks#usecolorscheme) | The colour scheme the component renders in: the nearest section's or block's scheme, live while the merchant edits it. |

## [Types](/themes/sdk/reference/settings/types) [#types]

| Name | What it is |
| --- | --- |
| [`TemplateId`](/themes/sdk/reference/settings/types#templateid) | A page template of the storefront, such as `product` or `layout.header`. |
| [`TemplateSettings`](/themes/sdk/reference/settings/types#templatesettings) | The settings of a template's own locked section, such as the product information of `product`. |
| [`SettingValue`](/themes/sdk/reference/settings/types#settingvalue) | A stored setting value: text, a number, a switch, or a list or group of them. |
| [`ThemeSettings`](/themes/sdk/reference/settings/types#themesettings) | The theme's settings: the platform's groups typed, the theme's own keys as stored. |
| [`ColorScheme`](/themes/sdk/reference/settings/types#colorscheme) | One of the theme's named colour schemes, as a section or block draws in it. |

<AnchorRedirect to={{"hooks":"/themes/sdk/reference/settings/hooks","usethemesettings":"/themes/sdk/reference/settings/hooks","usetemplatesettings":"/themes/sdk/reference/settings/hooks","usecolorscheme":"/themes/sdk/reference/settings/hooks","types":"/themes/sdk/reference/settings/types","templateid":"/themes/sdk/reference/settings/types","templatesettings":"/themes/sdk/reference/settings/types","settingvalue":"/themes/sdk/reference/settings/types","themesettings":"/themes/sdk/reference/settings/types","colorscheme":"/themes/sdk/reference/settings/types"}} />
