Skip to content

Commit

Permalink
Use YaruColors instead of colorScheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuntu committed Nov 26, 2024
1 parent e4737a2 commit a9c1fd8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ class SubscriptionStatus extends StatelessWidget {
Container(
padding: const EdgeInsets.all(16.0),
decoration: BoxDecoration(
border: Border.all(color: theme.colorScheme.success, width: 1.0),
color: theme.colorScheme.success
border:
Border.all(color: YaruColors.of(context).success, width: 1.0),
color: YaruColors.of(context)
.success
.copyWith(lightness: 0.94, saturation: 0.56),
borderRadius: const BorderRadius.all(Radius.circular(4.0)),
),
Expand All @@ -58,7 +60,7 @@ class SubscriptionStatus extends StatelessWidget {
children: [
Icon(
Icons.check_circle_outline_outlined,
color: theme.colorScheme.success,
color: YaruColors.of(context).success,
size: 24.0,
),
const SizedBox(width: 8.0),
Expand Down

0 comments on commit a9c1fd8

Please sign in to comment.