@@ -147,7 +147,6 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
147
147
bgSearchInput: const Color (0xffe3e3e3 ),
148
148
textMessage: const Color (0xff262626 ),
149
149
channelColorSwatches: ChannelColorSwatches .light,
150
- colorMessageHeaderIconInteractive: Colors .black.withValues (alpha: 0.2 ),
151
150
contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ),
152
151
contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ),
153
152
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
@@ -167,61 +166,60 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
167
166
);
168
167
169
168
static final dark = DesignVariables ._(
170
- background: const Color (0xff000000 ),
171
- bannerBgIntDanger: const Color (0xff461616 ),
172
- bgBotBar: const Color (0xff222222 ),
173
- bgContextMenu: const Color (0xff262626 ),
174
- bgCounterUnread: const Color (0xff666699 ).withValues (alpha: 0.37 ),
175
- bgMenuButtonActive: Colors .black.withValues (alpha: 0.2 ),
176
- bgMenuButtonSelected: Colors .black.withValues (alpha: 0.25 ),
177
- bgTopBar: const Color (0xff242424 ),
178
- borderBar: Colors .black.withValues (alpha: 0.5 ),
179
- borderMenuButtonSelected: Colors .white.withValues (alpha: 0.1 ),
180
- btnLabelAttLowIntDanger: const Color (0xffff8b7c ),
181
- btnLabelAttMediumIntDanger: const Color (0xffff8b7c ),
182
- composeBoxBg: const Color (0xff0f0f0f ),
183
- contextMenuCancelText: const Color (0xffffffff ).withValues (alpha: 0.75 ),
184
- contextMenuItemBg: const Color (0xff7977fe ),
185
- contextMenuItemText: const Color (0xff9398fd ),
186
- editorButtonPressedBg: Colors .white.withValues (alpha: 0.06 ),
187
- foreground: const Color (0xffffffff ),
188
- icon: const Color (0xff7977fe ),
189
- iconSelected: Colors .white.withValues (alpha: 0.8 ),
190
- labelCounterUnread: const Color (0xffffffff ).withValues (alpha: 0.7 ),
191
- labelEdited: const HSLColor .fromAHSL (0.35 , 0 , 0 , 1 ).toColor (),
192
- labelMenuButton: const Color (0xffffffff ).withValues (alpha: 0.85 ),
193
- mainBackground: const Color (0xff1d1d1d ),
194
- textInput: const Color (0xffffffff ).withValues (alpha: 0.9 ),
195
- title: const Color (0xffffffff ),
196
- bgSearchInput: const Color (0xff313131 ),
197
- textMessage: const Color (0xffffffff ).withValues (alpha: 0.8 ),
198
- channelColorSwatches: ChannelColorSwatches .dark,
199
- contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ), // the same as the light mode in Figma
200
- contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ), // the same as the light mode in Figma
201
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
202
- colorMessageHeaderIconInteractive: Colors .white.withValues (alpha: 0.2 ),
203
- dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
204
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
205
- groupDmConversationIcon: Colors .white.withValues (alpha: 0.5 ),
206
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
207
- groupDmConversationIconBg: const Color (0x33cccccc ),
208
- inboxItemIconMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
209
- loginOrDivider: const Color (0xff424242 ),
210
- loginOrDividerText: const Color (0xffa8a8a8 ),
211
- modalBarrierColor: const Color (0xff000000 ).withValues (alpha: 0.5 ),
212
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
213
- mutedUnreadBadge: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.6 ).toColor (),
214
- navigationButtonBg: Colors .white.withValues (alpha: 0.05 ),
215
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
216
- sectionCollapseIcon: const Color (0x7fb6c8e2 ),
217
- // TODO(design-dark) unchanged in dark theme?
218
- star: const HSLColor .fromAHSL (0.5 , 47 , 1 , 0.41 ).toColor (),
219
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
220
- subscriptionListHeaderLine: const HSLColor .fromAHSL (0.4 , 240 , 0.1 , 0.75 ).toColor (),
221
- // TODO(design-dark) need proper dark-theme color (this is ad hoc)
222
- subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.75 ).toColor (),
223
- unreadCountBadgeTextForChannel: Colors .white.withValues (alpha: 0.9 ),
224
- );
169
+ background: const Color (0xff000000 ),
170
+ bannerBgIntDanger: const Color (0xff461616 ),
171
+ bgBotBar: const Color (0xff222222 ),
172
+ bgContextMenu: const Color (0xff262626 ),
173
+ bgCounterUnread: const Color (0xff393c49 ),
174
+ bgMenuButtonActive: Colors .black.withValues (alpha: 0.2 ),
175
+ bgMenuButtonSelected: Colors .black.withValues (alpha: 0.25 ),
176
+ bgTopBar: const Color (0xff242424 ),
177
+ borderBar: Colors .black.withValues (alpha: 0.5 ),
178
+ borderMenuButtonSelected: Colors .white.withValues (alpha: 0.1 ),
179
+ btnLabelAttLowIntDanger: const Color (0xffff8b7c ),
180
+ btnLabelAttMediumIntDanger: const Color (0xffff8b7c ),
181
+ composeBoxBg: const Color (0xff0f0f0f ),
182
+ contextMenuCancelText: const Color (0xffffffff ).withValues (alpha: 0.75 ),
183
+ contextMenuItemBg: const Color (0xff7977fe ),
184
+ contextMenuItemText: const Color (0xff9398fd ),
185
+ editorButtonPressedBg: Colors .white.withValues (alpha: 0.06 ),
186
+ foreground: const Color (0xffffffff ),
187
+ icon: const Color (0xff7977fe ),
188
+ iconSelected: Colors .white.withValues (alpha: 0.8 ),
189
+ labelCounterUnread: const Color (0xffffffff ).withValues (alpha: 0.73 ),
190
+ labelEdited: const HSLColor .fromAHSL (0.35 , 0 , 0 , 1 ).toColor (),
191
+ labelMenuButton: const Color (0xffffffff ).withValues (alpha: 0.85 ),
192
+ mainBackground: const Color (0xff1d1d1d ),
193
+ textInput: const Color (0xffffffff ).withValues (alpha: 0.9 ),
194
+ title: const Color (0xffffffff ).withValues (alpha: 0.9 ),
195
+ bgSearchInput: const Color (0xff313131 ),
196
+ textMessage: const Color (0xffffffff ).withValues (alpha: 0.8 ),
197
+ channelColorSwatches: ChannelColorSwatches .dark,
198
+ contextMenuCancelBg: const Color (0xff797986 ).withValues (alpha: 0.15 ), // the same as the light mode in Figma
199
+ contextMenuCancelPressedBg: const Color (0xff797986 ).withValues (alpha: 0.20 ), // the same as the light mode in Figma
200
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
201
+ dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
202
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
203
+ groupDmConversationIcon: Colors .white.withValues (alpha: 0.5 ),
204
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
205
+ groupDmConversationIconBg: const Color (0x33cccccc ),
206
+ inboxItemIconMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
207
+ loginOrDivider: const Color (0xff424242 ),
208
+ loginOrDividerText: const Color (0xffa8a8a8 ),
209
+ modalBarrierColor: const Color (0xff000000 ).withValues (alpha: 0.3 ),
210
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
211
+ mutedUnreadBadge: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.6 ).toColor (),
212
+ navigationButtonBg: Colors .white.withValues (alpha: 0.05 ),
213
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
214
+ sectionCollapseIcon: const Color (0x7fb6c8e2 ),
215
+ // TODO(design-dark) unchanged in dark theme?
216
+ star: const HSLColor .fromAHSL (0.5 , 47 , 1 , 0.41 ).toColor (),
217
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
218
+ subscriptionListHeaderLine: const HSLColor .fromAHSL (0.4 , 240 , 0.1 , 0.75 ).toColor (),
219
+ // TODO(design-dark) need proper dark-theme color (this is ad hoc)
220
+ subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.75 ).toColor (),
221
+ unreadCountBadgeTextForChannel: Colors .white.withValues (alpha: 0.9 ),
222
+ );
225
223
226
224
DesignVariables ._({
227
225
required this .background,
@@ -253,7 +251,6 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
253
251
required this .bgSearchInput,
254
252
required this .textMessage,
255
253
required this .channelColorSwatches,
256
- required this .colorMessageHeaderIconInteractive,
257
254
required this .contextMenuCancelBg,
258
255
required this .contextMenuCancelPressedBg,
259
256
required this .dmHeaderBg,
@@ -315,7 +312,6 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
315
312
final ChannelColorSwatches channelColorSwatches;
316
313
317
314
// Not named variables in Figma; taken from older Figma drafts, or elsewhere.
318
- final Color colorMessageHeaderIconInteractive;
319
315
final Color contextMenuCancelBg; // In Figma, but unnamed.
320
316
final Color contextMenuCancelPressedBg; // In Figma, but unnamed.
321
317
final Color dmHeaderBg;
@@ -364,7 +360,6 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
364
360
Color ? bgSearchInput,
365
361
Color ? textMessage,
366
362
ChannelColorSwatches ? channelColorSwatches,
367
- Color ? colorMessageHeaderIconInteractive,
368
363
Color ? contextMenuCancelBg,
369
364
Color ? contextMenuCancelPressedBg,
370
365
Color ? dmHeaderBg,
@@ -412,7 +407,6 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
412
407
bgSearchInput: bgSearchInput ?? this .bgSearchInput,
413
408
textMessage: textMessage ?? this .textMessage,
414
409
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
415
- colorMessageHeaderIconInteractive: colorMessageHeaderIconInteractive ?? this .colorMessageHeaderIconInteractive,
416
410
contextMenuCancelBg: contextMenuCancelBg ?? this .contextMenuCancelBg,
417
411
contextMenuCancelPressedBg: contextMenuCancelPressedBg ?? this .contextMenuCancelPressedBg,
418
412
dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
@@ -467,7 +461,6 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
467
461
bgSearchInput: Color .lerp (bgSearchInput, other.bgSearchInput, t)! ,
468
462
textMessage: Color .lerp (textMessage, other.textMessage, t)! ,
469
463
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
470
- colorMessageHeaderIconInteractive: Color .lerp (colorMessageHeaderIconInteractive, other.colorMessageHeaderIconInteractive, t)! ,
471
464
contextMenuCancelBg: Color .lerp (contextMenuCancelBg, other.contextMenuCancelBg, t)! ,
472
465
contextMenuCancelPressedBg: Color .lerp (contextMenuCancelPressedBg, other.contextMenuCancelPressedBg, t)! ,
473
466
dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
0 commit comments