theme library

Theme infrastructure for Designsystemet Flutter components.

Provides design tokens, theme data, and scoping widgets.

Classes

DsBorderRadiusTokens
Design tokens for border radius values at five scale levels (sm–xl) plus a full value for pill shapes.
DsColor
DsColorAccent
DsColorBrand1
DsColorBrand2
DsColorBrand3
DsColorCustom
DsColorDanger
DsColorInfo
DsColorNeutral
DsColorScale
A 16-step color scale with background, surface, border, text, and base tokens.
DsColorScheme
Named set of DsColorScales for semantic and brand colors.
DsColorScope
Inherited widget that sets the default DsColor for descendant components.
DsColorSuccess
DsColorWarning
DsShadowTokens
Design tokens for box shadows at five elevation levels (xs–xl).
DsSizeScope
Inherited widget that sets the default DsSize for descendant components.
DsSizeTokens
Spacing and sizing tokens generated from a base value and step multiplier, producing 31 sizes (size0–size30).
DsTheme
Provides DsThemeData to all Designsystemet components in the widget tree.
DsThemeData
Immutable collection of all Designsystemet design tokens.
DsTypography
Typography token set generated from Designsystemet font-size and line-height scales.
LucideIcons
Lucide Icons