dark static method
UiThemeTokens
dark({
- UiColorTokens? colors,
- UiSpacingTokens? spacing,
- UiRadiusTokens? radius,
- UiShadowTokens? shadows,
- UiTypographyTokens? typography,
- UiMotionTokens? motion,
- UiEffectsTokens? effects,
Dark theme with neutral Open UI Kit tokens.
Implementation
static UiThemeTokens dark({
UiColorTokens? colors,
UiSpacingTokens? spacing,
UiRadiusTokens? radius,
UiShadowTokens? shadows,
UiTypographyTokens? typography,
UiMotionTokens? motion,
UiEffectsTokens? effects,
}) {
return UiThemeTokens(
colors: colors ?? UiColorTokens.dark,
spacing: spacing ?? UiSpacingTokens.standard,
radius: radius ?? UiRadiusTokens.standard,
shadows: shadows ?? UiShadowTokens.standard,
typography: typography ?? UiTypographyTokens.standard,
motion: motion ?? UiMotionTokens.defaults,
effects: effects ?? UiEffectsTokens.adaptive,
brightness: Brightness.dark,
);
}