Skip to content

Commit

Permalink
Merge pull request #361 from BringingFire/dark-mode-errors
Browse files Browse the repository at this point in the history
Using darker background for error text in dark mode
  • Loading branch information
fzyzcjy authored Jan 9, 2024
2 parents fc4294f + fc42c20 commit 4c43257
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ class HomePageLogEntryWidget extends StatelessWidget {
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
margin: const EdgeInsets.only(left: 32),
decoration: BoxDecoration(
color: Colors.red[50],
color: Theme.of(context).brightness == Brightness.light //
? Colors.red.shade50
: const Color(0xFF6C2827),
border: Border(left: BorderSide(color: Colors.red[200]!, width: 2)),
),
child: Column(
Expand Down

0 comments on commit 4c43257

Please sign in to comment.