@@ -116,7 +116,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
116
116
mainBackground: const Color (0xfff0f0f0 ),
117
117
title: const Color (0xff1a1a1a ),
118
118
channelColorSwatches: ChannelColorSwatches .light,
119
- atMentionMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
119
+ atMentionMarker: const HSLColor .fromAHSL (0.7 , 0 , 0 , 0.2 ).toColor (),
120
+ mutedAtMentionMarker: const HSLColor .fromAHSL (0.35 , 0 , 0 , 0.2 ).toColor (),
120
121
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
121
122
errorBannerBackground: const HSLColor .fromAHSL (1 , 4 , 0.33 , 0.90 ).toColor (),
122
123
errorBannerBorder: const HSLColor .fromAHSL (0.4 , 3 , 0.57 , 0.33 ).toColor (),
@@ -145,7 +146,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
145
146
title: const Color (0xffffffff ),
146
147
channelColorSwatches: ChannelColorSwatches .dark,
147
148
// TODO(design-dark) need proper dark-theme color (this is ad hoc)
148
- atMentionMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
149
+ atMentionMarker: const HSLColor .fromAHSL (0.7 , 0 , 0 , 1 ).toColor (),
150
+ mutedAtMentionMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
149
151
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
150
152
errorBannerBackground: const HSLColor .fromAHSL (1 , 0 , 0.61 , 0.19 ).toColor (),
151
153
errorBannerBorder: const HSLColor .fromAHSL (0.4 , 3 , 0.73 , 0.74 ).toColor (),
@@ -179,6 +181,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
179
181
required this .title,
180
182
required this .channelColorSwatches,
181
183
required this .atMentionMarker,
184
+ required this .mutedAtMentionMarker,
182
185
required this .dmHeaderBg,
183
186
required this .errorBannerBackground,
184
187
required this .errorBannerBorder,
@@ -219,6 +222,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
219
222
220
223
// Not named variables in Figma; taken from older Figma drafts, or elsewhere.
221
224
final Color atMentionMarker;
225
+ final Color mutedAtMentionMarker;
222
226
final Color dmHeaderBg;
223
227
final Color errorBannerBackground;
224
228
final Color errorBannerBorder;
@@ -246,6 +250,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
246
250
Color ? title,
247
251
ChannelColorSwatches ? channelColorSwatches,
248
252
Color ? atMentionMarker,
253
+ Color ? mutedAtMentionMarker,
249
254
Color ? dmHeaderBg,
250
255
Color ? errorBannerBackground,
251
256
Color ? errorBannerBorder,
@@ -272,6 +277,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
272
277
title: title ?? this .title,
273
278
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
274
279
atMentionMarker: atMentionMarker ?? this .atMentionMarker,
280
+ mutedAtMentionMarker: mutedAtMentionMarker ?? this .mutedAtMentionMarker,
275
281
dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
276
282
errorBannerBackground: errorBannerBackground ?? this .errorBannerBackground,
277
283
errorBannerBorder: errorBannerBorder ?? this .errorBannerBorder,
@@ -305,6 +311,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
305
311
title: Color .lerp (title, other.title, t)! ,
306
312
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
307
313
atMentionMarker: Color .lerp (atMentionMarker, other.atMentionMarker, t)! ,
314
+ mutedAtMentionMarker: Color .lerp (mutedAtMentionMarker, other.mutedAtMentionMarker, t)! ,
308
315
dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
309
316
errorBannerBackground: Color .lerp (errorBannerBackground, other.errorBannerBackground, t)! ,
310
317
errorBannerBorder: Color .lerp (errorBannerBorder, other.errorBannerBorder, t)! ,
0 commit comments