lightSeed property

  1. @override
ThemeSeed get lightSeed
override

Light mode seed colors.

Only define the essential colors - everything else is derived:

  • Foregrounds (auto-calculated for WCAG contrast)
  • Containers (10% opacity overlays)
  • Hover states (darken/lighten)
  • RGB values (for compositing)

Implementation

@override
ThemeSeed get lightSeed => ThemeSeed(
      // Codex uses the accent color as primary
      primary: accent.color,
      background: 0xFFf9fafb,
      // Light gray secondary/accent
      secondary: 0xFFf3f4f6,
      accent: 0xFFf3f4f6,
      // Semantic colors
      destructive: 0xFFef4444,
      success: 0xFF22c55e,
      warning: 0xFFf59e0b,
      info: 0xFF3b82f6,
    );