Skip to content

Conversation

graycreate
Copy link
Member

Summary

  • Fixed text color adaptation issues in search results for dark mode
  • Ensures proper text visibility in both light and dark themes

Changes

  • Changed title text to use .primaryText for better dark mode support
  • Changed content text to use .secondaryText for visual hierarchy
  • Removed redundant .foregroundColor(Color.bodyText) modifier that was preventing proper color adaptation

Test plan

  • Tested search results display in light mode
  • Tested search results display in dark mode
  • Verified text is clearly visible in both themes

🤖 Generated with Claude Code

- Changed title text to use .primaryText instead of generic .bodyText
- Changed content text to use .secondaryText for better hierarchy
- Removed redundant .foregroundColor modifier on parent VStack
- Ensures consistent text visibility in both light and dark modes
@Copilot Copilot AI review requested due to automatic review settings September 14, 2025 11:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes text color adaptation issues in search results for dark mode by replacing a generic text color with more specific semantic color tokens. The changes ensure proper text visibility and visual hierarchy in both light and dark themes.

  • Updated title and content text to use semantic color tokens (.primaryText and .secondaryText)
  • Removed redundant .foregroundColor(Color.bodyText) modifier that was preventing proper color adaptation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

Code Coverage Report ❌

Current coverage: 0%

@graycreate graycreate merged commit c7f7e4c into main Sep 14, 2025
6 checks passed
@graycreate graycreate deleted the bugfix/search-results-dark-mode-text branch September 14, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant