Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions lib/app/home/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,9 @@ class _HomePageState extends State<HomePage> with WidgetsBindingObserver {
color: color.withValues(alpha: 0.15),
borderRadius: BorderRadius.circular(8),
border: Border.all(
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
Copy Markdown
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),

要一致

width: 0.5,
),
),
Expand All @@ -809,14 +811,19 @@ class _HomePageState extends State<HomePage> with WidgetsBindingObserver {
Text(
label,
style: context.texts.labelSmall?.copyWith(
color: Colors.white.withValues(alpha: 0.8),
color: Theme.of(context).brightness == Brightness.dark
? Colors.white
: const Color.fromARGB(255, 60, 60, 60),
fontWeight: FontWeight.w700,
fontSize: 8,
),
),
Text(
value,
style: context.texts.bodySmall?.copyWith(
color: Colors.white,
color: Theme.of(context).brightness == Brightness.dark
? Colors.white
: const Color.fromARGB(255, 60, 60, 60),
fontWeight: FontWeight.w600,
fontSize: 11,
),
Expand Down
Loading