Skip to content

Commit 3f7720b

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 516bae9 commit 3f7720b

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: 51),
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
@@ -183,7 +183,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
183183
contextMenuItemBg: const Color(0xff7977fe),
184184
contextMenuItemText: const Color(0xff9398fd),
185185
editorButtonPressedBg: Colors.white.withValues(alpha: 0.06),
186-
foreground: const Color(0xffffffff),
186+
foreground: const Color(0xff0f0f0f),
187187
icon: const Color(0xff7977fe),
188188
iconSelected: Colors.white.withValues(alpha: 0.8),
189189
labelCounterUnread: const Color(0xffffffff).withValues(alpha: 0.73),

0 commit comments

Comments
 (0)