Skip to content

style: Replace hardcoded #fff colors with theme.white in program/whats-new components #378

@claude

Description

@claude

Description

Several components use hardcoded #fff color values instead of the semantic theme.white from ThemeContext. This violates the theming guidelines in CLAUDE.md which states:

Use semantic colors from ThemeContext, never raw Palette colors

Files Affected

  1. components/program/DayDetailSheet.tsx

    • Line 66:
    • Line 173: color: '#fff' in styles
  2. components/program/LogMeetingSheet.tsx

    • Line 246: color="#fff"
    • Line 489: color: '#fff'
  3. components/program/MeetingsCalendar.tsx

    • Line 221: color: '#fff'
  4. components/whats-new/WhatsNewVersionSection.tsx

    • Line 223: color: '#ffffff'
    • Line 235: color: '#ffffff'
  5. components/whats-new/WhatsNewFeatureCard.tsx

    • Line 35: Hardcoded skeleton background color
    • Lines 51, 58: TYPE_CONFIG with hardcoded green/purple colors

Recommended Fix

Replace all #fff / #ffffff with theme.white using the theme from useTheme() hook.

For WhatsNewFeatureCard TYPE_CONFIG, consider:

  1. Moving type colors to the theme system, or
  2. Creating semantic constants if these are intentionally fixed brand colors

Priority

Low - cosmetic consistency issue, no functional impact

Related


Generated by automated codebase review

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions