Skip to content

Commit

Permalink
theme: Adjust foreground & dateSeparator colors
Browse files Browse the repository at this point in the history
Adjusted the colors for `foreground` in
`DesignVariables` and `dateSeparator` in `MessageListTheme`
as asked.
`foreground`: zulip#1213 (comment)
`dateSeparator`: zulip#1213 (comment)
  • Loading branch information
Gaurav-Kushwaha-1225 committed Jan 12, 2025
1 parent 139d4e5 commit 549fd70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/widgets/message_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {

MessageListTheme.dark() :
this._(
dateSeparator: Colors.white,
dateSeparator: Colors.white.withValues(alpha: 0.2),
dateSeparatorText: const HSLColor.fromAHSL(0.5, 0, 0, 1).toColor(),
dmRecipientHeaderBg: const HSLColor.fromAHSL(1, 0, 0, 0.14).toColor(),
messageTimestamp: const HSLColor.fromAHSL(0.5, 0, 0, 1).toColor(),
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
contextMenuItemBg: const Color(0xff7977fe),
contextMenuItemText: const Color(0xff9398fd),
editorButtonPressedBg: Colors.white.withValues(alpha: 0.06),
foreground: const Color(0xffffffff),
foreground: const Color(0xff0f0f0f),
icon: const Color(0xff7977fe),
iconSelected: Colors.white.withValues(alpha: 0.8),
labelCounterUnread: const Color(0xffffffff).withValues(alpha: 0.73),
Expand Down

0 comments on commit 549fd70

Please sign in to comment.