light static method

UiThemeTokens light({
  1. UiColorTokens? colors,
  2. UiSpacingTokens? spacing,
  3. UiRadiusTokens? radius,
  4. UiShadowTokens? shadows,
  5. UiTypographyTokens? typography,
  6. UiMotionTokens? motion,
  7. UiEffectsTokens? effects,
})

Light theme with neutral Open UI Kit tokens.

Implementation

static UiThemeTokens light({
  UiColorTokens? colors,
  UiSpacingTokens? spacing,
  UiRadiusTokens? radius,
  UiShadowTokens? shadows,
  UiTypographyTokens? typography,
  UiMotionTokens? motion,
  UiEffectsTokens? effects,
}) {
  return UiThemeTokens(
    colors: colors ?? UiColorTokens.light,
    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.light,
  );
}