FontFamilyKey

db · /index·type

Union of valid keys. A resolved theme's typography.fontFamily / headingFamily is always one of these after narrows unrecognized values, so the storefront loader can index its next/font map by this type without a runtime guard.

Definition

@nordcom/commerce-db
type FontFamilyKey = keyof typeof FONT_FAMILIES;

keyof typeof FONT_FAMILIES

FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme

Sourcetheme.ts:43Edit the JSDoc directly
Metadata@nordcom/commerce-db@0.1.0Open in GitHub ↗

On this page