@@ -178,11 +178,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
178
178
bgSearchInput: const Color (0xffe3e3e3 ),
179
179
textMessage: const Color (0xff262626 ),
180
180
channelColorSwatches: ChannelColorSwatches .light,
181
+ avatarPlaceholderBg: const Color (0x33808080 ),
182
+ avatarPlaceholderIcon: Colors .black.withValues (alpha: 0.5 ),
181
183
contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ),
182
184
contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ),
183
185
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
184
- groupDmConversationIcon: Colors .black.withValues (alpha: 0.5 ),
185
- groupDmConversationIconBg: const Color (0x33808080 ),
186
186
inboxItemIconMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
187
187
loginOrDivider: const Color (0xffdedede ),
188
188
loginOrDividerText: const Color (0xff575757 ),
@@ -247,14 +247,14 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
247
247
bgSearchInput: const Color (0xff313131 ),
248
248
textMessage: const Color (0xffffffff ).withValues (alpha: 0.8 ),
249
249
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 ),
250
254
contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ), // the same as the light mode in Figma
251
255
contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ), // the same as the light mode in Figma
252
256
// TODO(design-dark) need proper dark-theme color (this is ad hoc)
253
257
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 ),
258
258
inboxItemIconMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
259
259
loginOrDivider: const Color (0xff424242 ),
260
260
loginOrDividerText: const Color (0xffa8a8a8 ),
@@ -324,11 +324,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
324
324
required this .bgSearchInput,
325
325
required this .textMessage,
326
326
required this .channelColorSwatches,
327
+ required this .avatarPlaceholderBg,
328
+ required this .avatarPlaceholderIcon,
327
329
required this .contextMenuCancelBg,
328
330
required this .contextMenuCancelPressedBg,
329
331
required this .dmHeaderBg,
330
- required this .groupDmConversationIcon,
331
- required this .groupDmConversationIconBg,
332
332
required this .inboxItemIconMarker,
333
333
required this .loginOrDivider,
334
334
required this .loginOrDividerText,
@@ -406,11 +406,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
406
406
final ChannelColorSwatches channelColorSwatches;
407
407
408
408
// Not named variables in Figma; taken from older Figma drafts, or elsewhere.
409
+ final Color avatarPlaceholderBg;
410
+ final Color avatarPlaceholderIcon;
409
411
final Color contextMenuCancelBg; // In Figma, but unnamed.
410
412
final Color contextMenuCancelPressedBg; // In Figma, but unnamed.
411
413
final Color dmHeaderBg;
412
- final Color groupDmConversationIcon;
413
- final Color groupDmConversationIconBg;
414
414
final Color inboxItemIconMarker;
415
415
final Color loginOrDivider; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
416
416
final Color loginOrDividerText; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
@@ -475,11 +475,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
475
475
Color ? bgSearchInput,
476
476
Color ? textMessage,
477
477
ChannelColorSwatches ? channelColorSwatches,
478
+ Color ? avatarPlaceholderBg,
479
+ Color ? avatarPlaceholderIcon,
478
480
Color ? contextMenuCancelBg,
479
481
Color ? contextMenuCancelPressedBg,
480
482
Color ? dmHeaderBg,
481
- Color ? groupDmConversationIcon,
482
- Color ? groupDmConversationIconBg,
483
483
Color ? inboxItemIconMarker,
484
484
Color ? loginOrDivider,
485
485
Color ? loginOrDividerText,
@@ -543,11 +543,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
543
543
bgSearchInput: bgSearchInput ?? this .bgSearchInput,
544
544
textMessage: textMessage ?? this .textMessage,
545
545
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
546
+ avatarPlaceholderBg: avatarPlaceholderBg ?? this .avatarPlaceholderBg,
547
+ avatarPlaceholderIcon: avatarPlaceholderIcon ?? this .avatarPlaceholderIcon,
546
548
contextMenuCancelBg: contextMenuCancelBg ?? this .contextMenuCancelBg,
547
549
contextMenuCancelPressedBg: contextMenuCancelPressedBg ?? this .contextMenuCancelPressedBg,
548
550
dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
549
- groupDmConversationIcon: groupDmConversationIcon ?? this .groupDmConversationIcon,
550
- groupDmConversationIconBg: groupDmConversationIconBg ?? this .groupDmConversationIconBg,
551
551
inboxItemIconMarker: inboxItemIconMarker ?? this .inboxItemIconMarker,
552
552
loginOrDivider: loginOrDivider ?? this .loginOrDivider,
553
553
loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
@@ -618,11 +618,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
618
618
bgSearchInput: Color .lerp (bgSearchInput, other.bgSearchInput, t)! ,
619
619
textMessage: Color .lerp (textMessage, other.textMessage, t)! ,
620
620
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
621
+ avatarPlaceholderBg: Color .lerp (avatarPlaceholderBg, other.avatarPlaceholderBg, t)! ,
622
+ avatarPlaceholderIcon: Color .lerp (avatarPlaceholderIcon, other.avatarPlaceholderIcon, t)! ,
621
623
contextMenuCancelBg: Color .lerp (contextMenuCancelBg, other.contextMenuCancelBg, t)! ,
622
624
contextMenuCancelPressedBg: Color .lerp (contextMenuCancelPressedBg, other.contextMenuCancelPressedBg, t)! ,
623
625
dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
624
- groupDmConversationIcon: Color .lerp (groupDmConversationIcon, other.groupDmConversationIcon, t)! ,
625
- groupDmConversationIconBg: Color .lerp (groupDmConversationIconBg, other.groupDmConversationIconBg, t)! ,
626
626
inboxItemIconMarker: Color .lerp (inboxItemIconMarker, other.inboxItemIconMarker, t)! ,
627
627
loginOrDivider: Color .lerp (loginOrDivider, other.loginOrDivider, t)! ,
628
628
loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
0 commit comments