@@ -31,6 +31,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
31
31
dateSeparator: Colors .black,
32
32
dateSeparatorText: const HSLColor .fromAHSL (0.75 , 0 , 0 , 0.15 ).toColor (),
33
33
dmRecipientHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
34
+ editedMovedMarkerCollapsed: const Color .fromARGB (128 , 146 , 167 , 182 ),
34
35
messageTimestamp: const HSLColor .fromAHSL (0.8 , 0 , 0 , 0.2 ).toColor (),
35
36
recipientHeaderText: const HSLColor .fromAHSL (1 , 0 , 0 , 0.15 ).toColor (),
36
37
senderBotIcon: const HSLColor .fromAHSL (1 , 180 , 0.08 , 0.65 ).toColor (),
@@ -57,6 +58,8 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
57
58
dateSeparator: Colors .white,
58
59
dateSeparatorText: const HSLColor .fromAHSL (0.75 , 0 , 0 , 1 ).toColor (),
59
60
dmRecipientHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
61
+ // TODO(#95) need dark-theme color
62
+ editedMovedMarkerCollapsed: const Color .fromARGB (128 , 146 , 167 , 182 ),
60
63
messageTimestamp: const HSLColor .fromAHSL (0.6 , 0 , 0 , 1 ).toColor (),
61
64
recipientHeaderText: const HSLColor .fromAHSL (0.8 , 0 , 0 , 1 ).toColor (),
62
65
senderBotIcon: const HSLColor .fromAHSL (1 , 180 , 0.05 , 0.5 ).toColor (),
@@ -81,6 +84,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
81
84
required this .dateSeparator,
82
85
required this .dateSeparatorText,
83
86
required this .dmRecipientHeaderBg,
87
+ required this .editedMovedMarkerCollapsed,
84
88
required this .messageTimestamp,
85
89
required this .recipientHeaderText,
86
90
required this .senderBotIcon,
@@ -105,6 +109,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
105
109
final Color dateSeparator;
106
110
final Color dateSeparatorText;
107
111
final Color dmRecipientHeaderBg;
112
+ final Color editedMovedMarkerCollapsed;
108
113
final Color messageTimestamp;
109
114
final Color recipientHeaderText;
110
115
final Color senderBotIcon;
@@ -120,6 +125,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
120
125
Color ? dateSeparator,
121
126
Color ? dateSeparatorText,
122
127
Color ? dmRecipientHeaderBg,
128
+ Color ? editedMovedMarkerCollapsed,
123
129
Color ? messageTimestamp,
124
130
Color ? recipientHeaderText,
125
131
Color ? senderBotIcon,
@@ -134,6 +140,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
134
140
dateSeparator: dateSeparator ?? this .dateSeparator,
135
141
dateSeparatorText: dateSeparatorText ?? this .dateSeparatorText,
136
142
dmRecipientHeaderBg: dmRecipientHeaderBg ?? this .dmRecipientHeaderBg,
143
+ editedMovedMarkerCollapsed: editedMovedMarkerCollapsed ?? this .editedMovedMarkerCollapsed,
137
144
messageTimestamp: messageTimestamp ?? this .messageTimestamp,
138
145
recipientHeaderText: recipientHeaderText ?? this .recipientHeaderText,
139
146
senderBotIcon: senderBotIcon ?? this .senderBotIcon,
@@ -155,6 +162,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
155
162
dateSeparator: Color .lerp (dateSeparator, other.dateSeparator, t)! ,
156
163
dateSeparatorText: Color .lerp (dateSeparatorText, other.dateSeparatorText, t)! ,
157
164
dmRecipientHeaderBg: Color .lerp (streamMessageBgDefault, other.dmRecipientHeaderBg, t)! ,
165
+ editedMovedMarkerCollapsed: Color .lerp (editedMovedMarkerCollapsed, other.editedMovedMarkerCollapsed, t)! ,
158
166
messageTimestamp: Color .lerp (messageTimestamp, other.messageTimestamp, t)! ,
159
167
recipientHeaderText: Color .lerp (recipientHeaderText, other.recipientHeaderText, t)! ,
160
168
senderBotIcon: Color .lerp (senderBotIcon, other.senderBotIcon, t)! ,
0 commit comments