Skip to content

Conversation

@BigDuck430
Copy link
Contributor

這是什麼類型的 PR?

選擇所有符合的項目

  • 重構
  • 新功能
  • 錯誤修復
  • 最佳化
  • 技術文件更新

描述

  • 修復天氣資訊欄在淺色模式下顏色錯誤

相關 issue

  • 相關問題 #
  • closes #

QA 指南、截圖、錄像

Before After

UI 無障礙清單

如果您的 PR 包含 UI 更改,請使用此清單:

  • 變數名稱實現語意化命名?
  • 測試通過 AA 顏色對比?

@lowrt lowrt added this to the v3.1.5 milestone Jan 10, 2026
color: Colors.white.withValues(alpha: 0.25),
color: Theme.of(context).brightness == Brightness.dark
? Colors.white.withValues(alpha: 0.25)
: const Color.fromARGB(255, 0, 0, 0).withValues(alpha: 0.3),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
: const Color.fromARGB(255, 0, 0, 0).withValues(alpha: 0.3),
: const Color.fromARGB(255, 0, 0, 0).withValues(alpha: 0.25),

要一致

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