Skip to main content
Pass it as themeSchema to the Weaverse client (WeaverseClient on React Router, createWeaverseNextServerClient on Next.js); its settings defaults seed the values returned by useThemeSettings. media is a sibling of settings because its rules are fixed by the theme author rather than edited by merchants. outline lists settings groups in Studio’s Page Outline, keyed by area: header and aside render above the page sections, every other key below them. routes and outline take the ThemeRoutes and ThemeOutline types from @weaverse/schema.

Properties

{ defaultLocale: WeaverseI18n; shopLocales: WeaverseI18n[]; staticContent: Reco…
Type: WeaverseI18nWeaverseI18nTheme localization configuration.
{ author: string; authorProfilePhoto: string; documentationUrl: string; name: s…
required
Theme identity, author, and support metadata.
InspectorGroup[]
{ excludeFilenamePrefixes: string[]; excludeProductFiles: boolean }
Store-wide defaults for the Media Manager gallery. Mirrors MediaInputConfigs in @weaverse/schema, which documents the fields.Deliberately a sibling of settings rather than an entry inside it: settings renders as merchant-editable controls in Studio, and these rules are meant to be fixed by the theme author. An individual image or video input can still override them through its own configs.Note: duplicated instead of imported because this package pins the published @weaverse/schema, which does not export the type yet. Replace with the shared type once schema ships it.
ThemeOutline
Settings groups listed in the Studio Page Outline, keyed by area. Values are settings group names, matched case-insensitively. header and aside render above the page sections, in that order; every other key, footer included, renders below them in declaration order. See ThemeOutline in @weaverse/schema.To let Studio highlight and select a group’s DOM, spread getThemeElementProps('Header') (from @weaverse/schema) on the element that renders it.
Partial<Record<ThemeRoutePageType, string>>
URL patterns for the page types whose routes differ from the Shopify convention, so Studio can navigate to them, e.g. { COLLECTION: '/shop/:handle' }. See ThemeRoutes, which only @weaverse/schema exports.
InspectorGroup[]
Type: InspectorGroupGroups of global theme settings exposed in Studio.