DesignSystemTheme.fromBrandTokens constructor
DesignSystemTheme.fromBrandTokens(
- BrandTokens tokens
Implementation
factory DesignSystemTheme.fromBrandTokens(BrandTokens tokens) {
return DesignSystemTheme(
colors: DesignSystemColors.fromTokens(tokens),
typography: DesignSystemTypography.fromTokens(tokens),
spacing: DesignSystemSpacing.fromTokens(tokens),
shapes: DesignSystemShapes.fromTokens(tokens),
tokens: tokens,
);
}