@@ -144,6 +144,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
144
144
errorBannerBackground: const HSLColor .fromAHSL (1 , 4 , 0.33 , 0.90 ).toColor (),
145
145
errorBannerBorder: const HSLColor .fromAHSL (0.4 , 3 , 0.57 , 0.33 ).toColor (),
146
146
errorBannerLabel: const HSLColor .fromAHSL (1 , 4 , 0.58 , 0.33 ).toColor (),
147
+ groupDmConversationIcon: Colors .black.withOpacity (0.5 ),
148
+ groupDmConversationIconBg: const Color (0x33808080 ),
147
149
loginOrDivider: const Color (0xffdedede ),
148
150
loginOrDividerText: const Color (0xff575757 ),
149
151
sectionCollapseIcon: const Color (0x7f1e2e48 ),
@@ -169,6 +171,10 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
169
171
errorBannerBackground: const HSLColor .fromAHSL (1 , 0 , 0.61 , 0.19 ).toColor (),
170
172
errorBannerBorder: const HSLColor .fromAHSL (0.4 , 3 , 0.73 , 0.74 ).toColor (),
171
173
errorBannerLabel: const HSLColor .fromAHSL (1 , 2 , 0.73 , 0.80 ).toColor (),
174
+ // TODO(#95) need proper dark-theme color (this is ad hoc)
175
+ groupDmConversationIcon: Colors .white.withOpacity (0.5 ),
176
+ // TODO(#95) need proper dark-theme color (this is ad hoc)
177
+ groupDmConversationIconBg: const Color (0x33cccccc ),
172
178
loginOrDivider: const Color (0xff424242 ),
173
179
loginOrDividerText: const Color (0xffa8a8a8 ),
174
180
// TODO(#95) need proper dark-theme color (this is ad hoc)
@@ -194,6 +200,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
194
200
required this .errorBannerBackground,
195
201
required this .errorBannerBorder,
196
202
required this .errorBannerLabel,
203
+ required this .groupDmConversationIcon,
204
+ required this .groupDmConversationIconBg,
197
205
required this .loginOrDivider,
198
206
required this .loginOrDividerText,
199
207
required this .sectionCollapseIcon,
@@ -230,6 +238,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
230
238
final Color errorBannerBackground;
231
239
final Color errorBannerBorder;
232
240
final Color errorBannerLabel;
241
+ final Color groupDmConversationIcon;
242
+ final Color groupDmConversationIconBg;
233
243
final Color loginOrDivider; // TODO(#95) need proper dark-theme color (this is ad hoc)
234
244
final Color loginOrDividerText; // TODO(#95) need proper dark-theme color (this is ad hoc)
235
245
final Color sectionCollapseIcon;
@@ -253,6 +263,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
253
263
Color ? errorBannerBackground,
254
264
Color ? errorBannerBorder,
255
265
Color ? errorBannerLabel,
266
+ Color ? groupDmConversationIcon,
267
+ Color ? groupDmConversationIconBg,
256
268
Color ? loginOrDivider,
257
269
Color ? loginOrDividerText,
258
270
Color ? sectionCollapseIcon,
@@ -275,6 +287,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
275
287
errorBannerBackground: errorBannerBackground ?? this .errorBannerBackground,
276
288
errorBannerBorder: errorBannerBorder ?? this .errorBannerBorder,
277
289
errorBannerLabel: errorBannerLabel ?? this .errorBannerLabel,
290
+ groupDmConversationIcon: groupDmConversationIcon ?? this .groupDmConversationIcon,
291
+ groupDmConversationIconBg: groupDmConversationIconBg ?? this .groupDmConversationIconBg,
278
292
loginOrDivider: loginOrDivider ?? this .loginOrDivider,
279
293
loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
280
294
sectionCollapseIcon: sectionCollapseIcon ?? this .sectionCollapseIcon,
@@ -304,6 +318,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
304
318
errorBannerBackground: Color .lerp (errorBannerBackground, other.errorBannerBackground, t)! ,
305
319
errorBannerBorder: Color .lerp (errorBannerBorder, other.errorBannerBorder, t)! ,
306
320
errorBannerLabel: Color .lerp (errorBannerLabel, other.errorBannerLabel, t)! ,
321
+ groupDmConversationIcon: Color .lerp (groupDmConversationIcon, other.groupDmConversationIcon, t)! ,
322
+ groupDmConversationIconBg: Color .lerp (groupDmConversationIconBg, other.groupDmConversationIconBg, t)! ,
307
323
loginOrDivider: Color .lerp (loginOrDivider, other.loginOrDivider, t)! ,
308
324
loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
309
325
sectionCollapseIcon: Color .lerp (sectionCollapseIcon, other.sectionCollapseIcon, t)! ,
0 commit comments