@@ -185,11 +185,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
185
185
bgSearchInput: const Color (0xffe3e3e3 ),
186
186
textMessage: const Color (0xff262626 ),
187
187
channelColorSwatches: ChannelColorSwatches .light,
188
+ avatarPlaceholderBg: const Color (0x33808080 ),
189
+ avatarPlaceholderIcon: Colors .black.withValues (alpha: 0.5 ),
188
190
contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ),
189
191
contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ),
190
192
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
191
- groupDmConversationIcon: Colors .black.withValues (alpha: 0.5 ),
192
- groupDmConversationIconBg: const Color (0x33808080 ),
193
193
inboxItemIconMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
194
194
loginOrDivider: const Color (0xffdedede ),
195
195
loginOrDividerText: const Color (0xff575757 ),
@@ -261,14 +261,14 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
261
261
bgSearchInput: const Color (0xff313131 ),
262
262
textMessage: const Color (0xffffffff ).withValues (alpha: 0.8 ),
263
263
channelColorSwatches: ChannelColorSwatches .dark,
264
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
265
+ avatarPlaceholderBg: const Color (0x33cccccc ),
266
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
267
+ avatarPlaceholderIcon: Colors .white.withValues (alpha: 0.5 ),
264
268
contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ), // the same as the light mode in Figma
265
269
contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ), // the same as the light mode in Figma
266
270
// TODO(design-dark) need proper dark-theme color (this is ad hoc)
267
271
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
268
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
269
- groupDmConversationIcon: Colors .white.withValues (alpha: 0.5 ),
270
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
271
- groupDmConversationIconBg: const Color (0x33cccccc ),
272
272
inboxItemIconMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
273
273
loginOrDivider: const Color (0xff424242 ),
274
274
loginOrDividerText: const Color (0xffa8a8a8 ),
@@ -341,11 +341,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
341
341
required this .bgSearchInput,
342
342
required this .textMessage,
343
343
required this .channelColorSwatches,
344
+ required this .avatarPlaceholderBg,
345
+ required this .avatarPlaceholderIcon,
344
346
required this .contextMenuCancelBg,
345
347
required this .contextMenuCancelPressedBg,
346
348
required this .dmHeaderBg,
347
- required this .groupDmConversationIcon,
348
- required this .groupDmConversationIconBg,
349
349
required this .inboxItemIconMarker,
350
350
required this .loginOrDivider,
351
351
required this .loginOrDividerText,
@@ -426,11 +426,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
426
426
final ChannelColorSwatches channelColorSwatches;
427
427
428
428
// Not named variables in Figma; taken from older Figma drafts, or elsewhere.
429
+ final Color avatarPlaceholderBg;
430
+ final Color avatarPlaceholderIcon;
429
431
final Color contextMenuCancelBg; // In Figma, but unnamed.
430
432
final Color contextMenuCancelPressedBg; // In Figma, but unnamed.
431
433
final Color dmHeaderBg;
432
- final Color groupDmConversationIcon;
433
- final Color groupDmConversationIconBg;
434
434
final Color inboxItemIconMarker;
435
435
final Color loginOrDivider; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
436
436
final Color loginOrDividerText; // TODO(design-dark) need proper dark-theme color (this is ad hoc)
@@ -498,11 +498,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
498
498
Color ? bgSearchInput,
499
499
Color ? textMessage,
500
500
ChannelColorSwatches ? channelColorSwatches,
501
+ Color ? avatarPlaceholderBg,
502
+ Color ? avatarPlaceholderIcon,
501
503
Color ? contextMenuCancelBg,
502
504
Color ? contextMenuCancelPressedBg,
503
505
Color ? dmHeaderBg,
504
- Color ? groupDmConversationIcon,
505
- Color ? groupDmConversationIconBg,
506
506
Color ? inboxItemIconMarker,
507
507
Color ? loginOrDivider,
508
508
Color ? loginOrDividerText,
@@ -569,11 +569,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
569
569
bgSearchInput: bgSearchInput ?? this .bgSearchInput,
570
570
textMessage: textMessage ?? this .textMessage,
571
571
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
572
+ avatarPlaceholderBg: avatarPlaceholderBg ?? this .avatarPlaceholderBg,
573
+ avatarPlaceholderIcon: avatarPlaceholderIcon ?? this .avatarPlaceholderIcon,
572
574
contextMenuCancelBg: contextMenuCancelBg ?? this .contextMenuCancelBg,
573
575
contextMenuCancelPressedBg: contextMenuCancelPressedBg ?? this .contextMenuCancelPressedBg,
574
576
dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
575
- groupDmConversationIcon: groupDmConversationIcon ?? this .groupDmConversationIcon,
576
- groupDmConversationIconBg: groupDmConversationIconBg ?? this .groupDmConversationIconBg,
577
577
inboxItemIconMarker: inboxItemIconMarker ?? this .inboxItemIconMarker,
578
578
loginOrDivider: loginOrDivider ?? this .loginOrDivider,
579
579
loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
@@ -647,11 +647,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
647
647
bgSearchInput: Color .lerp (bgSearchInput, other.bgSearchInput, t)! ,
648
648
textMessage: Color .lerp (textMessage, other.textMessage, t)! ,
649
649
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
650
+ avatarPlaceholderBg: Color .lerp (avatarPlaceholderBg, other.avatarPlaceholderBg, t)! ,
651
+ avatarPlaceholderIcon: Color .lerp (avatarPlaceholderIcon, other.avatarPlaceholderIcon, t)! ,
650
652
contextMenuCancelBg: Color .lerp (contextMenuCancelBg, other.contextMenuCancelBg, t)! ,
651
653
contextMenuCancelPressedBg: Color .lerp (contextMenuCancelPressedBg, other.contextMenuCancelPressedBg, t)! ,
652
654
dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
653
- groupDmConversationIcon: Color .lerp (groupDmConversationIcon, other.groupDmConversationIcon, t)! ,
654
- groupDmConversationIconBg: Color .lerp (groupDmConversationIconBg, other.groupDmConversationIconBg, t)! ,
655
655
inboxItemIconMarker: Color .lerp (inboxItemIconMarker, other.inboxItemIconMarker, t)! ,
656
656
loginOrDivider: Color .lerp (loginOrDivider, other.loginOrDivider, t)! ,
657
657
loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
0 commit comments