ValueKind

db · /index·type

The kind of value a theme token holds, driving which admin control renders for it. color → swatch + hex/CSS text; dimension → free-text (rem/px/%/aspect/shadow/duration); number → numeric input; enum → select; boolean → switch.

Definition

@nordcom/commerce-db
type ValueKind = 'color' | 'dimension' | 'number' | 'enum' | 'boolean';

'color' | 'dimension' | 'number' | 'enum' | 'boolean'

FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme

Metadata@nordcom/commerce-db@0.1.0Open in GitHub ↗

On this page