AccentToken

db · /index·type

A single brand accent swatch. Shared between the required ShopBase.design.accents source and the optional theme.colors.accents override so both surfaces stay structurally identical.

Properties

color
string
foreground
string
type
'primary' | 'secondary'

Example

import type { AccentToken } from '@nordcom/commerce-db';
const primary: AccentToken = { type: 'primary', color: '#073b4c', foreground: '#ffffff' };

FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme

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

On this page