ShopThemeTokens
Authored, all-optional theme overrides stored on the shop record (ShopBase.theme). A
DeepPartial of : a shop may set any subset of tokens at any depth, and
every absent token falls back to its platform default via . An absent theme
(the default for every existing shop) therefore resolves byte-identically to today's render.
Definition
type ShopThemeTokens = DeepPartial<ResolvedShopTheme>;DeepPartial<ResolvedShopTheme>
Example
import type { ShopThemeTokens } from '@nordcom/commerce-db';
const theme: ShopThemeTokens = { colors: { background: '#0b0b0b', foreground: '#fafafa' } };Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
ShopService
Read service for the shops tenant roots. Extends the generic Service base with shopspecific queries (domain lookup, collaborator listing) on the deployed db/sho
ShopifyCommerceProvider
Auth and connection configuration for the Shopify commerce integration. Identifies the storefront via domain and storefrontId, carries the Storefront API creden