@@ -170,11 +170,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
170
170
bgSearchInput: const Color (0xffe3e3e3 ),
171
171
textMessage: const Color (0xff262626 ),
172
172
channelColorSwatches: ChannelColorSwatches .light,
173
+ avatarPlaceholderBg: const Color (0x33808080 ),
174
+ avatarPlaceholderIcon: Colors .black.withValues (alpha: 0.5 ),
173
175
contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ),
174
176
contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ),
175
177
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
176
- groupDmConversationIcon: Colors .black.withValues (alpha: 0.5 ),
177
- groupDmConversationIconBg: const Color (0x33808080 ),
178
178
inboxItemIconMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
179
179
loginOrDivider: const Color (0xffdedede ),
180
180
loginOrDividerText: const Color (0xff575757 ),
@@ -231,14 +231,14 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
231
231
bgSearchInput: const Color (0xff313131 ),
232
232
textMessage: const Color (0xffffffff ).withValues (alpha: 0.8 ),
233
233
channelColorSwatches: ChannelColorSwatches .dark,
234
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
235
+ avatarPlaceholderBg: const Color (0x33cccccc ),
236
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
237
+ avatarPlaceholderIcon: Colors .white.withValues (alpha: 0.5 ),
234
238
contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ), // the same as the light mode in Figma
235
239
contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ), // the same as the light mode in Figma
236
240
// TODO(design-dark) need proper dark-theme color (this is ad hoc)
237
241
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
238
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
239
- groupDmConversationIcon: Colors .white.withValues (alpha: 0.5 ),
240
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
241
- groupDmConversationIconBg: const Color (0x33cccccc ),
242
242
inboxItemIconMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
243
243
loginOrDivider: const Color (0xff424242 ),
244
244
loginOrDividerText: const Color (0xffa8a8a8 ),
@@ -300,11 +300,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
300
300
required this .bgSearchInput,
301
301
required this .textMessage,
302
302
required this .channelColorSwatches,
303
+ required this .avatarPlaceholderBg,
304
+ required this .avatarPlaceholderIcon,
303
305
required this .contextMenuCancelBg,
304
306
required this .contextMenuCancelPressedBg,
305
307
required this .dmHeaderBg,
306
- required this .groupDmConversationIcon,
307
- required this .groupDmConversationIconBg,
308
308
required this .inboxItemIconMarker,
309
309
required this .loginOrDivider,
310
310
required this .loginOrDividerText,
@@ -374,11 +374,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
374
374
final ChannelColorSwatches channelColorSwatches;
375
375
376
376
// Not named variables in Figma; taken from older Figma drafts, or elsewhere.
377
+ final Color avatarPlaceholderBg;
378
+ final Color avatarPlaceholderIcon;
377
379
final Color contextMenuCancelBg; // In Figma, but unnamed.
378
380
final Color contextMenuCancelPressedBg; // In Figma, but unnamed.
379
381
final Color dmHeaderBg;
380
- final Color groupDmConversationIcon;
381
- final Color groupDmConversationIconBg;
382
382
final Color inboxItemIconMarker;
383
383
final Color loginOrDivider; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
384
384
final Color loginOrDividerText; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
@@ -435,11 +435,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
435
435
Color ? bgSearchInput,
436
436
Color ? textMessage,
437
437
ChannelColorSwatches ? channelColorSwatches,
438
+ Color ? avatarPlaceholderBg,
439
+ Color ? avatarPlaceholderIcon,
438
440
Color ? contextMenuCancelBg,
439
441
Color ? contextMenuCancelPressedBg,
440
442
Color ? dmHeaderBg,
441
- Color ? groupDmConversationIcon,
442
- Color ? groupDmConversationIconBg,
443
443
Color ? inboxItemIconMarker,
444
444
Color ? loginOrDivider,
445
445
Color ? loginOrDividerText,
@@ -495,11 +495,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
495
495
bgSearchInput: bgSearchInput ?? this .bgSearchInput,
496
496
textMessage: textMessage ?? this .textMessage,
497
497
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
498
+ avatarPlaceholderBg: avatarPlaceholderBg ?? this .avatarPlaceholderBg,
499
+ avatarPlaceholderIcon: avatarPlaceholderIcon ?? this .avatarPlaceholderIcon,
498
500
contextMenuCancelBg: contextMenuCancelBg ?? this .contextMenuCancelBg,
499
501
contextMenuCancelPressedBg: contextMenuCancelPressedBg ?? this .contextMenuCancelPressedBg,
500
502
dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
501
- groupDmConversationIcon: groupDmConversationIcon ?? this .groupDmConversationIcon,
502
- groupDmConversationIconBg: groupDmConversationIconBg ?? this .groupDmConversationIconBg,
503
503
inboxItemIconMarker: inboxItemIconMarker ?? this .inboxItemIconMarker,
504
504
loginOrDivider: loginOrDivider ?? this .loginOrDivider,
505
505
loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
@@ -562,11 +562,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
562
562
bgSearchInput: Color .lerp (bgSearchInput, other.bgSearchInput, t)! ,
563
563
textMessage: Color .lerp (textMessage, other.textMessage, t)! ,
564
564
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
565
+ avatarPlaceholderBg: Color .lerp (avatarPlaceholderBg, other.avatarPlaceholderBg, t)! ,
566
+ avatarPlaceholderIcon: Color .lerp (avatarPlaceholderIcon, other.avatarPlaceholderIcon, t)! ,
565
567
contextMenuCancelBg: Color .lerp (contextMenuCancelBg, other.contextMenuCancelBg, t)! ,
566
568
contextMenuCancelPressedBg: Color .lerp (contextMenuCancelPressedBg, other.contextMenuCancelPressedBg, t)! ,
567
569
dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
568
- groupDmConversationIcon: Color .lerp (groupDmConversationIcon, other.groupDmConversationIcon, t)! ,
569
- groupDmConversationIconBg: Color .lerp (groupDmConversationIconBg, other.groupDmConversationIconBg, t)! ,
570
570
inboxItemIconMarker: Color .lerp (inboxItemIconMarker, other.inboxItemIconMarker, t)! ,
571
571
loginOrDivider: Color .lerp (loginOrDivider, other.loginOrDivider, t)! ,
572
572
loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
0 commit comments