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 @override
Color get numpadTextDefault => const Color(0xFFFFFFFF); Color get numpadTextDefault => const Color(0xFFFFFFFF);
@override @override
Color get bottomNavText => const Color(0xFF232323); Color get bottomNavText => const Color(0xFFFFFFFF);
@override @override
Color get customTextButtonEnabledText => buttonTextBorderless; Color get customTextButtonEnabledText => buttonTextBorderless;
@override @override

View file

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