@@ -139,9 +139,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
139
139
mainBackground: const Color (0xfff0f0f0 ),
140
140
title: const Color (0xff1a1a1a ),
141
141
channelColorSwatches: ChannelColorSwatches .light,
142
+ atMentionMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
142
143
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.35 , 0.93 ).toColor (),
143
144
loginOrDivider: const Color (0xffdedede ),
144
145
loginOrDividerText: const Color (0xff575757 ),
146
+ sectionCollapseIcon: const Color (0x7f1e2e48 ),
145
147
star: const HSLColor .fromAHSL (0.5 , 47 , 1 , 0.41 ).toColor (),
146
148
unreadCountBadgeTextForChannel: Colors .black.withOpacity (0.9 ),
147
149
);
@@ -158,9 +160,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
158
160
mainBackground: const Color (0xff1d1d1d ),
159
161
title: const Color (0xffffffff ),
160
162
channelColorSwatches: ChannelColorSwatches .dark,
163
+ // TODO(#95) need proper dark-theme color (this is ad hoc)
164
+ atMentionMarker: const HSLColor .fromAHSL (0.4 , 0 , 0 , 1 ).toColor (),
161
165
dmHeaderBg: const HSLColor .fromAHSL (1 , 46 , 0.15 , 0.2 ).toColor (),
162
166
loginOrDivider: const Color (0xff424242 ),
163
167
loginOrDividerText: const Color (0xffa8a8a8 ),
168
+ // TODO(#95) need proper dark-theme color (this is ad hoc)
169
+ sectionCollapseIcon: const Color (0x7fb6c8e2 ),
164
170
// TODO(#95) unchanged in dark theme?
165
171
star: const HSLColor .fromAHSL (0.5 , 47 , 1 , 0.41 ).toColor (),
166
172
unreadCountBadgeTextForChannel: Colors .white.withOpacity (0.9 ),
@@ -177,9 +183,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
177
183
required this .mainBackground,
178
184
required this .title,
179
185
required this .channelColorSwatches,
186
+ required this .atMentionMarker,
180
187
required this .dmHeaderBg,
181
188
required this .loginOrDivider,
182
189
required this .loginOrDividerText,
190
+ required this .sectionCollapseIcon,
183
191
required this .star,
184
192
required this .unreadCountBadgeTextForChannel,
185
193
});
@@ -208,9 +216,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
208
216
final ChannelColorSwatches channelColorSwatches;
209
217
210
218
// Not named variables in Figma; taken from older Figma drafts, or elsewhere.
219
+ final Color atMentionMarker;
211
220
final Color dmHeaderBg;
212
221
final Color loginOrDivider; // TODO(#95) need proper dark-theme color (this is ad hoc)
213
222
final Color loginOrDividerText; // TODO(#95) need proper dark-theme color (this is ad hoc)
223
+ final Color sectionCollapseIcon;
214
224
final Color star;
215
225
final Color unreadCountBadgeTextForChannel;
216
226
@@ -226,9 +236,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
226
236
Color ? mainBackground,
227
237
Color ? title,
228
238
ChannelColorSwatches ? channelColorSwatches,
239
+ Color ? atMentionMarker,
229
240
Color ? dmHeaderBg,
230
241
Color ? loginOrDivider,
231
242
Color ? loginOrDividerText,
243
+ Color ? sectionCollapseIcon,
232
244
Color ? star,
233
245
Color ? unreadCountBadgeTextForChannel,
234
246
}) {
@@ -243,9 +255,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
243
255
mainBackground: mainBackground ?? this .mainBackground,
244
256
title: title ?? this .title,
245
257
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
258
+ atMentionMarker: atMentionMarker ?? this .atMentionMarker,
246
259
dmHeaderBg: dmHeaderBg ?? this .dmHeaderBg,
247
260
loginOrDivider: loginOrDivider ?? this .loginOrDivider,
248
261
loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
262
+ sectionCollapseIcon: sectionCollapseIcon ?? this .sectionCollapseIcon,
249
263
star: star ?? this .star,
250
264
unreadCountBadgeTextForChannel: unreadCountBadgeTextForChannel ?? this .unreadCountBadgeTextForChannel,
251
265
);
@@ -267,9 +281,11 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
267
281
mainBackground: Color .lerp (mainBackground, other.mainBackground, t)! ,
268
282
title: Color .lerp (title, other.title, t)! ,
269
283
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
284
+ atMentionMarker: Color .lerp (atMentionMarker, other.atMentionMarker, t)! ,
270
285
dmHeaderBg: Color .lerp (dmHeaderBg, other.dmHeaderBg, t)! ,
271
286
loginOrDivider: Color .lerp (loginOrDivider, other.loginOrDivider, t)! ,
272
287
loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
288
+ sectionCollapseIcon: Color .lerp (sectionCollapseIcon, other.sectionCollapseIcon, t)! ,
273
289
star: Color .lerp (star, other.star, t)! ,
274
290
unreadCountBadgeTextForChannel: Color .lerp (unreadCountBadgeTextForChannel, other.unreadCountBadgeTextForChannel, t)! ,
275
291
);
0 commit comments