Skip to content

Conversation

graycreate
Copy link
Member

Summary

This PR fixes visibility issues with UI elements in dark mode by improving color contrast for better readability.

Changes Made

  1. Section title visibility fix

    • Changed section title color from bodyText to primaryText for better contrast
    • Affects all section headers in Explore page including "今日热议", "最热节点", "新增节点", and "节点导航"
  2. Tab bar icon improvements for dark mode

    • Added .renderingMode(.template) to tab icons to enable proper tinting
    • Applied different opacity for selected (100%) vs unselected (60%) tab items
    • Icons now properly use TintColor which automatically switches to white in dark mode
    • Improved visual hierarchy with clearer selected/unselected state distinction

Testing

  • Built and tested on physical device
  • Verified section titles are visible in both light and dark modes
  • Confirmed tab bar icons show proper contrast in dark mode
  • Tested selected/unselected tab states

Screenshots

The changes improve the visibility of UI elements that were previously hard to see in dark mode due to insufficient color contrast.

Fixes visibility issues reported in dark mode usage.

graycreate and others added 2 commits September 14, 2025 18:49
…er visibility

- Updated SectionTitleView to use primaryText color instead of bodyText
- Improves visibility of section titles in Explore page
- Affects all section headers including "今日热议", "最热节点", "新增节点", and "节点导航"

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

Co-Authored-By: Claude <[email protected]>
- Added .renderingMode(.template) to tab icons for proper tinting
- Applied different opacity for selected (100%) vs unselected (60%) tab items
- Icons now properly respect TintColor which switches to white in dark mode
- Improved visual hierarchy with clearer selected/unselected state distinction

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

Co-Authored-By: Claude <[email protected]>
@Copilot Copilot AI review requested due to automatic review settings September 14, 2025 10:56
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 addresses dark mode visibility issues by improving color contrast for UI elements. The changes enhance readability of section titles and tab bar icons when using dark themes.

  • Section titles now use higher contrast text color for better visibility
  • Tab bar icons properly adapt to dark mode with template rendering and opacity-based selection states

Reviewed Changes

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

File Description
V2er/View/Widget/SectionTitleView.swift Changes section title color from bodyText to primaryText for improved contrast
V2er/View/Widget/TabBar.swift Adds template rendering mode to icons and implements opacity-based selection states

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 fd656e2 into main Sep 14, 2025
6 checks passed
@graycreate graycreate deleted the bugfix/dark-mode-ui-improvements branch September 14, 2025 11:01
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