darkSeed property

  1. @override
ThemeSeed get darkSeed
override

Dark mode seed colors.

Default: lightSeed.toDark() which:

  • Inverts to black background
  • Adjusts semantic colors to darker variants
  • Preserves primary color

Implementation

@override
ThemeSeed get darkSeed => ThemeSeed(
      // Same accent in dark mode
      primary: accent.color,
      background: 0xFF000000, // OLED black
      // Neutral dark gray secondary/accent (no blue tint)
      secondary: 0xFF1a1a1a,
      accent: 0xFF1a1a1a,
      // Darker semantic colors for dark mode
      destructive: 0xFF7f1d1d,
      success: 0xFF166534,
      warning: 0xFF92400e,
      info: 0xFF1e40af,
      isDark: true,
      // Enable neon glow on shadows
      accentGlow: true,
    );