@@ -213,6 +213,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
213213 subscriptionListHeaderLine: const HSLColor .fromAHSL (0.2 , 240 , 0.1 , 0.5 ).toColor (),
214214 subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.5 ).toColor (),
215215 unreadCountBadgeTextForChannel: Colors .black.withValues (alpha: 0.9 ),
216+ userStatusText: const Color (0xff808080 ),
216217 );
217218
218219 static final dark = DesignVariables ._(
@@ -309,6 +310,8 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
309310 // TODO(design-dark) need proper dark-theme color (this is ad hoc)
310311 subscriptionListHeaderText: const HSLColor .fromAHSL (1.0 , 240 , 0.1 , 0.75 ).toColor (),
311312 unreadCountBadgeTextForChannel: Colors .white.withValues (alpha: 0.9 ),
313+ // TODO(design-dark) unchanged in dark theme?
314+ userStatusText: const Color (0xff808080 ),
312315 );
313316
314317 DesignVariables ._({
@@ -388,6 +391,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
388391 required this .subscriptionListHeaderLine,
389392 required this .subscriptionListHeaderText,
390393 required this .unreadCountBadgeTextForChannel,
394+ required this .userStatusText,
391395 });
392396
393397 /// The [DesignVariables] from the context's active theme.
@@ -480,6 +484,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
480484 final Color subscriptionListHeaderLine;
481485 final Color subscriptionListHeaderText;
482486 final Color unreadCountBadgeTextForChannel;
487+ final Color userStatusText; // In Figma, but unnamed.
483488
484489 @override
485490 DesignVariables copyWith ({
@@ -559,6 +564,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
559564 Color ? subscriptionListHeaderLine,
560565 Color ? subscriptionListHeaderText,
561566 Color ? unreadCountBadgeTextForChannel,
567+ Color ? userStatusText,
562568 }) {
563569 return DesignVariables ._(
564570 background: background ?? this .background,
@@ -637,6 +643,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
637643 subscriptionListHeaderLine: subscriptionListHeaderLine ?? this .subscriptionListHeaderLine,
638644 subscriptionListHeaderText: subscriptionListHeaderText ?? this .subscriptionListHeaderText,
639645 unreadCountBadgeTextForChannel: unreadCountBadgeTextForChannel ?? this .unreadCountBadgeTextForChannel,
646+ userStatusText: userStatusText ?? this .userStatusText,
640647 );
641648 }
642649
@@ -722,6 +729,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
722729 subscriptionListHeaderLine: Color .lerp (subscriptionListHeaderLine, other.subscriptionListHeaderLine, t)! ,
723730 subscriptionListHeaderText: Color .lerp (subscriptionListHeaderText, other.subscriptionListHeaderText, t)! ,
724731 unreadCountBadgeTextForChannel: Color .lerp (unreadCountBadgeTextForChannel, other.unreadCountBadgeTextForChannel, t)! ,
732+ userStatusText: Color .lerp (userStatusText, other.userStatusText, t)! ,
725733 );
726734 }
727735}
0 commit comments