Skip to content

Commit 549fd70

Browse files
theme: Adjust foreground & dateSeparator colors
Adjusted the colors for `foreground` in `DesignVariables` and `dateSeparator` in `MessageListTheme` as asked. `foreground`: zulip#1213 (comment) `dateSeparator`: zulip#1213 (comment)
1 parent 139d4e5 commit 549fd70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/widgets/message_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
5555

5656
MessageListTheme.dark() :
5757
this._(
58-
dateSeparator: Colors.white,
58+
dateSeparator: Colors.white.withValues(alpha: 0.2),
5959
dateSeparatorText: const HSLColor.fromAHSL(0.5, 0, 0, 1).toColor(),
6060
dmRecipientHeaderBg: const HSLColor.fromAHSL(1, 0, 0, 0.14).toColor(),
6161
messageTimestamp: const HSLColor.fromAHSL(0.5, 0, 0, 1).toColor(),

lib/widgets/theme.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
186186
contextMenuItemBg: const Color(0xff7977fe),
187187
contextMenuItemText: const Color(0xff9398fd),
188188
editorButtonPressedBg: Colors.white.withValues(alpha: 0.06),
189-
foreground: const Color(0xffffffff),
189+
foreground: const Color(0xff0f0f0f),
190190
icon: const Color(0xff7977fe),
191191
iconSelected: Colors.white.withValues(alpha: 0.8),
192192
labelCounterUnread: const Color(0xffffffff).withValues(alpha: 0.73),

0 commit comments

Comments
 (0)