@@ -203,6 +203,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
203203 subscriptionListHeaderLine: const HSLColor .fromAHSL (0.2 , 240 , 0.1 , 0.5 ).toColor (),
204204 subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.5 ).toColor (),
205205 unreadCountBadgeTextForChannel: Colors .black.withValues (alpha: 0.9 ),
206+ userStatusText: const Color (0xff808080 ),
206207 );
207208
208209 static final dark = DesignVariables ._(
@@ -289,6 +290,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
289290 // TODO(design-dark) need proper dark-theme color (this is ad hoc)
290291 subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.75 ).toColor (),
291292 unreadCountBadgeTextForChannel: Colors .white.withValues (alpha: 0.9 ),
293+ // TODO(design-dark) unchanged in dark theme?
294+ userStatusText: const Color (0xff808080 ),
292295 );
293296
294297 DesignVariables ._({
@@ -363,6 +366,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
363366 required this .subscriptionListHeaderLine,
364367 required this .subscriptionListHeaderText,
365368 required this .unreadCountBadgeTextForChannel,
369+ required this .userStatusText,
366370 });
367371
368372 /// The [DesignVariables] from the context's active theme.
@@ -450,6 +454,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
450454 final Color subscriptionListHeaderLine;
451455 final Color subscriptionListHeaderText;
452456 final Color unreadCountBadgeTextForChannel;
457+ final Color userStatusText; // In Figma, but unnamed.
453458
454459 @override
455460 DesignVariables copyWith ({
@@ -524,6 +529,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
524529 Color ? subscriptionListHeaderLine,
525530 Color ? subscriptionListHeaderText,
526531 Color ? unreadCountBadgeTextForChannel,
532+ Color ? userStatusText,
527533 }) {
528534 return DesignVariables ._(
529535 background: background ?? this .background,
@@ -597,6 +603,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
597603 subscriptionListHeaderLine: subscriptionListHeaderLine ?? this .subscriptionListHeaderLine,
598604 subscriptionListHeaderText: subscriptionListHeaderText ?? this .subscriptionListHeaderText,
599605 unreadCountBadgeTextForChannel: unreadCountBadgeTextForChannel ?? this .unreadCountBadgeTextForChannel,
606+ userStatusText: userStatusText ?? this .userStatusText,
600607 );
601608 }
602609
@@ -677,6 +684,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
677684 subscriptionListHeaderLine: Color .lerp (subscriptionListHeaderLine, other.subscriptionListHeaderLine, t)! ,
678685 subscriptionListHeaderText: Color .lerp (subscriptionListHeaderText, other.subscriptionListHeaderText, t)! ,
679686 unreadCountBadgeTextForChannel: Color .lerp (unreadCountBadgeTextForChannel, other.unreadCountBadgeTextForChannel, t)! ,
687+ userStatusText: Color .lerp (userStatusText, other.userStatusText, t)! ,
680688 );
681689 }
682690}
0 commit comments