Skip to content

Commit e267589

Browse files
chrisbobbegnprice
authored andcommitted
msglist: Follow web instead of Figma for message timestamp color
Just because web has a dark-theme variant for this color, and the Figma doesn't yet. (Web actually expresses this with separate `color` and `opacity` attributes. We just collapse those into a Color with the right alpha.)
1 parent 84b64fc commit e267589

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/widgets/message_list.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,5 +1061,4 @@ class MessageWithPossibleSender extends StatelessWidget {
10611061
// TODO web seems to ignore locale in formatting time, but we could do better
10621062
final _kMessageTimestampFormat = DateFormat('h:mm aa', 'en_US');
10631063

1064-
// TODO(#95) need dark-theme color (this one comes from the Figma)
1065-
final _kMessageTimestampColor = const HSLColor.fromAHSL(1, 0, 0, 0.5).toColor();
1064+
final _kMessageTimestampColor = const HSLColor.fromAHSL(0.8, 0, 0, 0.2).toColor();

0 commit comments

Comments
 (0)