Skip to content

Commit

Permalink
Update first step card spacing and text style (#378)
Browse files Browse the repository at this point in the history
* fix: add spacer

* fix: correct text style

* fix: success color when finished
  • Loading branch information
jkoenig134 authored Jan 7, 2025
1 parent 489ceba commit bf44bc7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,14 @@ class _CompleteProfileHeader extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(context.l10n.home_completeProfile, style: Theme.of(context).textTheme.titleLarge),
Gaps.h8,
RichText(
text: TextSpan(
style: DefaultTextStyle.of(context).style,
style: Theme.of(context).textTheme.labelSmall,
children: [
TextSpan(
text: '$countCompleted ${context.l10n.home_of} $count ',
style: TextStyle(color: Theme.of(context).colorScheme.primary),
style: TextStyle(color: count == countCompleted ? context.customColors.success : Theme.of(context).colorScheme.primary),
),
TextSpan(text: context.l10n.home_completed),
],
Expand Down

0 comments on commit bf44bc7

Please sign in to comment.