@@ -170,11 +170,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
170170 bgSearchInput: const Color (0xffe3e3e3 ),
171171 textMessage: const Color (0xff262626 ),
172172 channelColorSwatches: ChannelColorSwatches .light,
173+ avatarPlaceholderBg: const Color (0x33808080 ),
174+ avatarPlaceholderIcon: Colors .black.withValues (alpha: 0.5 ),
173175 contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ),
174176 contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ),
175177 dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
176- groupDmConversationIcon: Colors .black.withValues (alpha: 0.5 ),
177- groupDmConversationIconBg: const Color (0x33808080 ),
178178 inboxItemIconMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
179179 loginOrDivider: const Color (0xffdedede ),
180180 loginOrDividerText: const Color (0xff575757 ),
@@ -231,14 +231,14 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
231231 bgSearchInput: const Color (0xff313131 ),
232232 textMessage: const Color (0xffffffff ).withValues (alpha: 0.8 ),
233233 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 ),
234238 contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ), // the same as the light mode in Figma
235239 contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ), // the same as the light mode in Figma
236240 // TODO(design-dark) need proper dark-theme color (this is ad hoc)
237241 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 ),
242242 inboxItemIconMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
243243 loginOrDivider: const Color (0xff424242 ),
244244 loginOrDividerText: const Color (0xffa8a8a8 ),
@@ -300,11 +300,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
300300 required this .bgSearchInput,
301301 required this .textMessage,
302302 required this .channelColorSwatches,
303+ required this .avatarPlaceholderBg,
304+ required this .avatarPlaceholderIcon,
303305 required this .contextMenuCancelBg,
304306 required this .contextMenuCancelPressedBg,
305307 required this .dmHeaderBg,
306- required this .groupDmConversationIcon,
307- required this .groupDmConversationIconBg,
308308 required this .inboxItemIconMarker,
309309 required this .loginOrDivider,
310310 required this .loginOrDividerText,
@@ -374,11 +374,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
374374 final ChannelColorSwatches channelColorSwatches;
375375
376376 // Not named variables in Figma; taken from older Figma drafts, or elsewhere.
377+ final Color avatarPlaceholderBg;
378+ final Color avatarPlaceholderIcon;
377379 final Color contextMenuCancelBg; // In Figma, but unnamed.
378380 final Color contextMenuCancelPressedBg; // In Figma, but unnamed.
379381 final Color dmHeaderBg;
380- final Color groupDmConversationIcon;
381- final Color groupDmConversationIconBg;
382382 final Color inboxItemIconMarker;
383383 final Color loginOrDivider; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
384384 final Color loginOrDividerText; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
@@ -435,11 +435,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
435435 Color ? bgSearchInput,
436436 Color ? textMessage,
437437 ChannelColorSwatches ? channelColorSwatches,
438+ Color ? avatarPlaceholderBg,
439+ Color ? avatarPlaceholderIcon,
438440 Color ? contextMenuCancelBg,
439441 Color ? contextMenuCancelPressedBg,
440442 Color ? dmHeaderBg,
441- Color ? groupDmConversationIcon,
442- Color ? groupDmConversationIconBg,
443443 Color ? inboxItemIconMarker,
444444 Color ? loginOrDivider,
445445 Color ? loginOrDividerText,
@@ -495,11 +495,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
495495 bgSearchInput: bgSearchInput ?? this .bgSearchInput,
496496 textMessage: textMessage ?? this .textMessage,
497497 channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
498+ avatarPlaceholderBg: avatarPlaceholderBg ?? this .avatarPlaceholderBg,
499+ avatarPlaceholderIcon: avatarPlaceholderIcon ?? this .avatarPlaceholderIcon,
498500 contextMenuCancelBg: contextMenuCancelBg ?? this .contextMenuCancelBg,
499501 contextMenuCancelPressedBg: contextMenuCancelPressedBg ?? this .contextMenuCancelPressedBg,
500502 dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
501- groupDmConversationIcon: groupDmConversationIcon ?? this .groupDmConversationIcon,
502- groupDmConversationIconBg: groupDmConversationIconBg ?? this .groupDmConversationIconBg,
503503 inboxItemIconMarker: inboxItemIconMarker ?? this .inboxItemIconMarker,
504504 loginOrDivider: loginOrDivider ?? this .loginOrDivider,
505505 loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
@@ -562,11 +562,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
562562 bgSearchInput: Color .lerp (bgSearchInput, other.bgSearchInput, t)! ,
563563 textMessage: Color .lerp (textMessage, other.textMessage, t)! ,
564564 channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
565+ avatarPlaceholderBg: Color .lerp (avatarPlaceholderBg, other.avatarPlaceholderBg, t)! ,
566+ avatarPlaceholderIcon: Color .lerp (avatarPlaceholderIcon, other.avatarPlaceholderIcon, t)! ,
565567 contextMenuCancelBg: Color .lerp (contextMenuCancelBg, other.contextMenuCancelBg, t)! ,
566568 contextMenuCancelPressedBg: Color .lerp (contextMenuCancelPressedBg, other.contextMenuCancelPressedBg, t)! ,
567569 dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
568- groupDmConversationIcon: Color .lerp (groupDmConversationIcon, other.groupDmConversationIcon, t)! ,
569- groupDmConversationIconBg: Color .lerp (groupDmConversationIconBg, other.groupDmConversationIconBg, t)! ,
570570 inboxItemIconMarker: Color .lerp (inboxItemIconMarker, other.inboxItemIconMarker, t)! ,
571571 loginOrDivider: Color .lerp (loginOrDivider, other.loginOrDivider, t)! ,
572572 loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
0 commit comments