@@ -178,11 +178,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
178178 bgSearchInput: const Color (0xffe3e3e3 ),
179179 textMessage: const Color (0xff262626 ),
180180 channelColorSwatches: ChannelColorSwatches .light,
181+ avatarPlaceholderBg: const Color (0x33808080 ),
182+ avatarPlaceholderIcon: Colors .black.withValues (alpha: 0.5 ),
181183 contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ),
182184 contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ),
183185 dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
184- groupDmConversationIcon: Colors .black.withValues (alpha: 0.5 ),
185- groupDmConversationIconBg: const Color (0x33808080 ),
186186 inboxItemIconMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
187187 loginOrDivider: const Color (0xffdedede ),
188188 loginOrDividerText: const Color (0xff575757 ),
@@ -247,14 +247,14 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
247247 bgSearchInput: const Color (0xff313131 ),
248248 textMessage: const Color (0xffffffff ).withValues (alpha: 0.8 ),
249249 channelColorSwatches: ChannelColorSwatches .dark,
250+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
251+ avatarPlaceholderBg: const Color (0x33cccccc ),
252+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
253+ avatarPlaceholderIcon: Colors .white.withValues (alpha: 0.5 ),
250254 contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ), // the same as the light mode in Figma
251255 contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ), // the same as the light mode in Figma
252256 // TODO(design-dark) need proper dark-theme color (this is ad hoc)
253257 dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
254- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
255- groupDmConversationIcon: Colors .white.withValues (alpha: 0.5 ),
256- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
257- groupDmConversationIconBg: const Color (0x33cccccc ),
258258 inboxItemIconMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
259259 loginOrDivider: const Color (0xff424242 ),
260260 loginOrDividerText: const Color (0xffa8a8a8 ),
@@ -324,11 +324,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
324324 required this .bgSearchInput,
325325 required this .textMessage,
326326 required this .channelColorSwatches,
327+ required this .avatarPlaceholderBg,
328+ required this .avatarPlaceholderIcon,
327329 required this .contextMenuCancelBg,
328330 required this .contextMenuCancelPressedBg,
329331 required this .dmHeaderBg,
330- required this .groupDmConversationIcon,
331- required this .groupDmConversationIconBg,
332332 required this .inboxItemIconMarker,
333333 required this .loginOrDivider,
334334 required this .loginOrDividerText,
@@ -406,11 +406,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
406406 final ChannelColorSwatches channelColorSwatches;
407407
408408 // Not named variables in Figma; taken from older Figma drafts, or elsewhere.
409+ final Color avatarPlaceholderBg;
410+ final Color avatarPlaceholderIcon;
409411 final Color contextMenuCancelBg; // In Figma, but unnamed.
410412 final Color contextMenuCancelPressedBg; // In Figma, but unnamed.
411413 final Color dmHeaderBg;
412- final Color groupDmConversationIcon;
413- final Color groupDmConversationIconBg;
414414 final Color inboxItemIconMarker;
415415 final Color loginOrDivider; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
416416 final Color loginOrDividerText; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
@@ -475,11 +475,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
475475 Color ? bgSearchInput,
476476 Color ? textMessage,
477477 ChannelColorSwatches ? channelColorSwatches,
478+ Color ? avatarPlaceholderBg,
479+ Color ? avatarPlaceholderIcon,
478480 Color ? contextMenuCancelBg,
479481 Color ? contextMenuCancelPressedBg,
480482 Color ? dmHeaderBg,
481- Color ? groupDmConversationIcon,
482- Color ? groupDmConversationIconBg,
483483 Color ? inboxItemIconMarker,
484484 Color ? loginOrDivider,
485485 Color ? loginOrDividerText,
@@ -543,11 +543,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
543543 bgSearchInput: bgSearchInput ?? this .bgSearchInput,
544544 textMessage: textMessage ?? this .textMessage,
545545 channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
546+ avatarPlaceholderBg: avatarPlaceholderBg ?? this .avatarPlaceholderBg,
547+ avatarPlaceholderIcon: avatarPlaceholderIcon ?? this .avatarPlaceholderIcon,
546548 contextMenuCancelBg: contextMenuCancelBg ?? this .contextMenuCancelBg,
547549 contextMenuCancelPressedBg: contextMenuCancelPressedBg ?? this .contextMenuCancelPressedBg,
548550 dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
549- groupDmConversationIcon: groupDmConversationIcon ?? this .groupDmConversationIcon,
550- groupDmConversationIconBg: groupDmConversationIconBg ?? this .groupDmConversationIconBg,
551551 inboxItemIconMarker: inboxItemIconMarker ?? this .inboxItemIconMarker,
552552 loginOrDivider: loginOrDivider ?? this .loginOrDivider,
553553 loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
@@ -618,11 +618,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
618618 bgSearchInput: Color .lerp (bgSearchInput, other.bgSearchInput, t)! ,
619619 textMessage: Color .lerp (textMessage, other.textMessage, t)! ,
620620 channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
621+ avatarPlaceholderBg: Color .lerp (avatarPlaceholderBg, other.avatarPlaceholderBg, t)! ,
622+ avatarPlaceholderIcon: Color .lerp (avatarPlaceholderIcon, other.avatarPlaceholderIcon, t)! ,
621623 contextMenuCancelBg: Color .lerp (contextMenuCancelBg, other.contextMenuCancelBg, t)! ,
622624 contextMenuCancelPressedBg: Color .lerp (contextMenuCancelPressedBg, other.contextMenuCancelPressedBg, t)! ,
623625 dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
624- groupDmConversationIcon: Color .lerp (groupDmConversationIcon, other.groupDmConversationIcon, t)! ,
625- groupDmConversationIconBg: Color .lerp (groupDmConversationIconBg, other.groupDmConversationIconBg, t)! ,
626626 inboxItemIconMarker: Color .lerp (inboxItemIconMarker, other.inboxItemIconMarker, t)! ,
627627 loginOrDivider: Color .lerp (loginOrDivider, other.loginOrDivider, t)! ,
628628 loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
0 commit comments