Skip to content

Conversation

@graycreate
Copy link
Member

Summary

  • Fixed text visibility issues in dark mode for Explore and Message pages
  • Ensures all text elements use appropriate adaptive colors for both light and dark themes

Changes

  1. Explore Page: Updated "今日热议" (Today's Hot Topics) list item titles to use Color.primaryText instead of .bodyText for better dark mode visibility
  2. Message Page:
    • Added explicit Color.primaryText foreground color to message titles
    • Changed reply content text from Color.bodyText to Color.secondaryText for improved contrast in dark mode

Test Plan

  • Test Explore page in both light and dark modes
  • Verify text visibility for hot topic items in Explore page
  • Test Message page in both light and dark modes
  • Verify message titles and reply content are clearly visible in dark mode
  • Ensure no regressions in light mode appearance

🤖 Generated with Claude Code

- Changed Explore page list item titles to use Color.primaryText for better dark mode visibility
- Added explicit text color to Message page titles using Color.primaryText
- Updated Message page reply content to use Color.secondaryText for improved contrast

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 13, 2025 15:26
Copy link

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 visibility issues in dark mode by updating color assignments for text elements in the Explore and Message pages. The changes ensure proper contrast and readability across both light and dark themes.

  • Updated color assignments from generic body text colors to more appropriate semantic colors
  • Enhanced dark mode compatibility for hot topic titles and message content
  • Improved text hierarchy with better color differentiation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
V2er/View/Message/MessagePage.swift Updated message title color to primaryText and reply content to secondaryText for better dark mode visibility
V2er/View/Explore/ExplorePage.swift Changed hot topic title color from .bodyText to Color.primaryText for improved dark mode contrast

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

@graycreate graycreate merged commit 4fe62dd into main Sep 13, 2025
4 of 6 checks passed
@graycreate graycreate deleted the bugfix/darkmode-text-visibility 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.

2 participants