@@ -114,13 +114,14 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
114
114
mainBackground: const Color (0xfff0f0f0 ),
115
115
title: const Color (0xff1a1a1a ),
116
116
channelColorSwatches: ChannelColorSwatches .light,
117
- atMentionMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
117
+ atMentionMarker: const HSLColor .fromAHSL (0.7 , 0 , 0 , 0.2 ).toColor (),
118
+ mutedAtMentionMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
118
119
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
119
120
errorBannerBackground: const HSLColor .fromAHSL (1 , 4 , 0.33 , 0.90 ).toColor (),
120
121
errorBannerBorder: const HSLColor .fromAHSL (0.4 , 3 , 0.57 , 0.33 ).toColor (),
121
122
errorBannerLabel: const HSLColor .fromAHSL (1 , 4 , 0.58 , 0.33 ).toColor (),
122
123
groupDmConversationIcon: Colors .black.withOpacity (0.5 ),
123
- groupDmConversationIconBg: const Color ( 0x33808080 ),
124
+ groupDmConversationIconBg: const Color . fromARGB ( 51 , 6 , 0 , 0 ),
124
125
loginOrDivider: const Color (0xffdedede ),
125
126
loginOrDividerText: const Color (0xff575757 ),
126
127
sectionCollapseIcon: const Color (0x7f1e2e48 ),
@@ -143,7 +144,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
143
144
title: const Color (0xffffffff ),
144
145
channelColorSwatches: ChannelColorSwatches .dark,
145
146
// TODO(design-dark) need proper dark-theme color (this is ad hoc)
146
- atMentionMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
147
+ atMentionMarker: const HSLColor .fromAHSL (0.7 , 0 , 0 , 1 ).toColor (),
148
+ mutedAtMentionMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
147
149
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
148
150
errorBannerBackground: const HSLColor .fromAHSL (1 , 0 , 0.61 , 0.19 ).toColor (),
149
151
errorBannerBorder: const HSLColor .fromAHSL (0.4 , 3 , 0.73 , 0.74 ).toColor (),
@@ -177,6 +179,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
177
179
required this .title,
178
180
required this .channelColorSwatches,
179
181
required this .atMentionMarker,
182
+ required this .mutedAtMentionMarker,
180
183
required this .dmHeaderBg,
181
184
required this .errorBannerBackground,
182
185
required this .errorBannerBorder,
@@ -217,6 +220,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
217
220
218
221
// Not named variables in Figma; taken from older Figma drafts, or elsewhere.
219
222
final Color atMentionMarker;
223
+ final Color mutedAtMentionMarker;
220
224
final Color dmHeaderBg;
221
225
final Color errorBannerBackground;
222
226
final Color errorBannerBorder;
@@ -244,6 +248,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
244
248
Color ? title,
245
249
ChannelColorSwatches ? channelColorSwatches,
246
250
Color ? atMentionMarker,
251
+ Color ? mutedAtMentionMarker,
247
252
Color ? dmHeaderBg,
248
253
Color ? errorBannerBackground,
249
254
Color ? errorBannerBorder,
@@ -270,6 +275,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
270
275
title: title ?? this .title,
271
276
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
272
277
atMentionMarker: atMentionMarker ?? this .atMentionMarker,
278
+ mutedAtMentionMarker: mutedAtMentionMarker ?? this .mutedAtMentionMarker,
273
279
dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
274
280
errorBannerBackground: errorBannerBackground ?? this .errorBannerBackground,
275
281
errorBannerBorder: errorBannerBorder ?? this .errorBannerBorder,
@@ -303,6 +309,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
303
309
title: Color .lerp (title, other.title, t)! ,
304
310
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
305
311
atMentionMarker: Color .lerp (atMentionMarker, other.atMentionMarker, t)! ,
312
+ mutedAtMentionMarker: Color .lerp (mutedAtMentionMarker, other.mutedAtMentionMarker, t)! ,
306
313
dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
307
314
errorBannerBackground: Color .lerp (errorBannerBackground, other.errorBannerBackground, t)! ,
308
315
errorBannerBorder: Color .lerp (errorBannerBorder, other.errorBannerBorder, t)! ,
0 commit comments