productCardCustomProperty
●db · /index·function
Maps a key to the CSS custom property it serializes to. Aspect
knobs target the --aspect-product-card-* namespace; every other knob targets --product-card-*.
Signature
function productCardCustomProperty(key: keyof ResolvedProductCardTokens): string;Parameters
| Name | Type | Description |
|---|---|---|
key | keyof ResolvedProductCardTokens |
Returns
The CSS custom-property name (including the leading --).
Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
PayloadType
Fallback widget kind for a theme token's generic form control — the four kinds the editor's autorender offers when no richer valueKind control applies. The name
resolveTheme
Resolves a shop's authored theme overrides against the platform defaults into a fullypopulated token map. This is the single defaultresolution entry point: the