Skip to main content

ModularThemeTokens

type
type ModularThemeTokens = Omit<SemanticTokenContract, 'surface'> & { color: { readonly [Token in PaletteTokenName]: string }; surface: Omit<SemanticTokenContract['surface'], 'material'> & { material: SurfaceMaterial } }

Import

import { ModularThemeTokens } from '@modular/sdk/theme';