@@ -150,6 +150,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
150
150
loginOrDividerText: const Color (0xff575757 ),
151
151
sectionCollapseIcon: const Color (0x7f1e2e48 ),
152
152
star: const HSLColor .fromAHSL (0.5 , 47 , 1 , 0.41 ).toColor (),
153
+ subscriptionListHeaderLine: const HSLColor .fromAHSL (0.2 , 240 , 0.1 , 0.5 ).toColor (),
154
+ subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.5 ).toColor (),
153
155
unreadCountBadgeTextForChannel: Colors .black.withOpacity (0.9 ),
154
156
);
155
157
@@ -181,6 +183,10 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
181
183
sectionCollapseIcon: const Color (0x7fb6c8e2 ),
182
184
// TODO(#95) unchanged in dark theme?
183
185
star: const HSLColor .fromAHSL (0.5 , 47 , 1 , 0.41 ).toColor (),
186
+ // TODO(#95) need proper dark-theme color (this is ad hoc)
187
+ subscriptionListHeaderLine: const HSLColor .fromAHSL (0.4 , 240 , 0.1 , 0.75 ).toColor (),
188
+ // TODO(#95) need proper dark-theme color (this is ad hoc)
189
+ subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.75 ).toColor (),
184
190
unreadCountBadgeTextForChannel: Colors .white.withOpacity (0.9 ),
185
191
);
186
192
@@ -206,6 +212,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
206
212
required this .loginOrDividerText,
207
213
required this .sectionCollapseIcon,
208
214
required this .star,
215
+ required this .subscriptionListHeaderLine,
216
+ required this .subscriptionListHeaderText,
209
217
required this .unreadCountBadgeTextForChannel,
210
218
});
211
219
@@ -244,6 +252,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
244
252
final Color loginOrDividerText; // TODO(#95) need proper dark-theme color (this is ad hoc)
245
253
final Color sectionCollapseIcon;
246
254
final Color star;
255
+ final Color subscriptionListHeaderLine;
256
+ final Color subscriptionListHeaderText;
247
257
final Color unreadCountBadgeTextForChannel;
248
258
249
259
@override
@@ -269,6 +279,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
269
279
Color ? loginOrDividerText,
270
280
Color ? sectionCollapseIcon,
271
281
Color ? star,
282
+ Color ? subscriptionListHeaderLine,
283
+ Color ? subscriptionListHeaderText,
272
284
Color ? unreadCountBadgeTextForChannel,
273
285
}) {
274
286
return DesignVariables ._(
@@ -293,6 +305,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
293
305
loginOrDividerText: loginOrDividerText ?? this .loginOrDividerText,
294
306
sectionCollapseIcon: sectionCollapseIcon ?? this .sectionCollapseIcon,
295
307
star: star ?? this .star,
308
+ subscriptionListHeaderLine: subscriptionListHeaderLine ?? this .subscriptionListHeaderLine,
309
+ subscriptionListHeaderText: subscriptionListHeaderText ?? this .subscriptionListHeaderText,
296
310
unreadCountBadgeTextForChannel: unreadCountBadgeTextForChannel ?? this .unreadCountBadgeTextForChannel,
297
311
);
298
312
}
@@ -324,6 +338,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
324
338
loginOrDividerText: Color .lerp (loginOrDividerText, other.loginOrDividerText, t)! ,
325
339
sectionCollapseIcon: Color .lerp (sectionCollapseIcon, other.sectionCollapseIcon, t)! ,
326
340
star: Color .lerp (star, other.star, t)! ,
341
+ subscriptionListHeaderLine: Color .lerp (subscriptionListHeaderLine, other.subscriptionListHeaderLine, t)! ,
342
+ subscriptionListHeaderText: Color .lerp (subscriptionListHeaderText, other.subscriptionListHeaderText, t)! ,
327
343
unreadCountBadgeTextForChannel: Color .lerp (unreadCountBadgeTextForChannel, other.unreadCountBadgeTextForChannel, t)! ,
328
344
);
329
345
}
0 commit comments