set text color for wallet nav

This commit is contained in:
ryleedavis 2023-04-05 16:58:27 -06:00
parent 848336bb07
commit 05eb6bd20d
3 changed files with 12 additions and 4 deletions

View file

@ -107,7 +107,7 @@ class OrangeColors extends StackColorTheme {
@override
Color get numpadTextDefault => const Color(0xFFFFFFFF);
@override
Color get bottomNavText => const Color(0xFF232323);
Color get bottomNavText => const Color(0xFFFFFFFF);
@override
Color get customTextButtonEnabledText => buttonTextBorderless;
@override

View file

@ -67,7 +67,10 @@ class WalletNavigationBarItem extends ConsumerWidget {
data.overrideText ??
Text(
data.label ?? "",
style: STextStyles.buttonSmall(context),
style: STextStyles.buttonSmall(context).copyWith(
color: Theme.of(context)
.extension<StackColors>()!
.bottomNavText),
),
],
),

View file

@ -187,8 +187,13 @@ class _WalletNavigationBarState extends ConsumerState<WalletNavigationBar> {
overrideText: AnimatedCrossFade(
firstChild: Text(
"More",
style: STextStyles.buttonSmall(
context),
style:
STextStyles.buttonSmall(context)
.copyWith(
color: Theme.of(context)
.extension<
StackColors>()!
.bottomNavText),
),
secondChild: Text(
"More",