mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
warning text color fix
This commit is contained in:
parent
2edc0c1102
commit
0f4ef21c70
7 changed files with 35 additions and 21 deletions
|
@ -177,7 +177,8 @@ class _Step4ViewState extends ConsumerState<Step4View> {
|
||||||
text:
|
text:
|
||||||
"You must send at least ${model.sendAmount.toString()} ${model.sendTicker}. ",
|
"You must send at least ${model.sendAmount.toString()} ${model.sendTicker}. ",
|
||||||
style: STextStyles.label.copyWith(
|
style: STextStyles.label.copyWith(
|
||||||
color: StackTheme.instance.color.textDark,
|
color:
|
||||||
|
StackTheme.instance.color.warningForeground,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
|
@ -185,7 +186,8 @@ class _Step4ViewState extends ConsumerState<Step4View> {
|
||||||
text:
|
text:
|
||||||
"If you send less than ${model.sendAmount.toString()} ${model.sendTicker}, your transaction may not be converted and it may not be refunded.",
|
"If you send less than ${model.sendAmount.toString()} ${model.sendTicker}, your transaction may not be converted and it may not be refunded.",
|
||||||
style: STextStyles.label.copyWith(
|
style: STextStyles.label.copyWith(
|
||||||
color: StackTheme.instance.color.textDark,
|
color: StackTheme
|
||||||
|
.instance.color.warningForeground,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -245,7 +245,7 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
|
||||||
trade.fromCurrency.toLowerCase() == "xmr" ? 12 : 8,
|
trade.fromCurrency.toLowerCase() == "xmr" ? 12 : 8,
|
||||||
)} ${trade.fromCurrency.toUpperCase()}. ",
|
)} ${trade.fromCurrency.toUpperCase()}. ",
|
||||||
style: STextStyles.label.copyWith(
|
style: STextStyles.label.copyWith(
|
||||||
color: StackTheme.instance.color.accentColorDark,
|
color: StackTheme.instance.color.warningForeground,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
|
@ -258,7 +258,7 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
|
||||||
)} ${trade.fromCurrency.toUpperCase()}, your transaction may not be converted and it may not be refunded.",
|
)} ${trade.fromCurrency.toUpperCase()}, your transaction may not be converted and it may not be refunded.",
|
||||||
style: STextStyles.label.copyWith(
|
style: STextStyles.label.copyWith(
|
||||||
color:
|
color:
|
||||||
StackTheme.instance.color.accentColorDark,
|
StackTheme.instance.color.warningForeground,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -633,7 +633,9 @@ class _WalletNetworkSettingsViewState
|
||||||
color: StackTheme.instance.color.warningBackground,
|
color: StackTheme.instance.color.warningBackground,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Please check your internet connection and make sure your current node is not having issues.",
|
"Please check your internet connection and make sure your current node is not having issues.",
|
||||||
style: STextStyles.baseXS,
|
style: STextStyles.baseXS.copyWith(
|
||||||
|
color: StackTheme.instance.color.warningForeground,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -54,7 +54,9 @@ class DeleteWalletWarningView extends ConsumerWidget {
|
||||||
color: StackTheme.instance.color.warningBackground,
|
color: StackTheme.instance.color.warningBackground,
|
||||||
child: Text(
|
child: Text(
|
||||||
"You are going to permanently delete you wallet.\n\nIf you delete your wallet, the only way you can have access to your funds is by using your backup key.\n\nStack Wallet does not keep nor is able to restore your backup key or your wallet.\n\nPLEASE SAVE YOUR BACKUP KEY.",
|
"You are going to permanently delete you wallet.\n\nIf you delete your wallet, the only way you can have access to your funds is by using your backup key.\n\nStack Wallet does not keep nor is able to restore your backup key or your wallet.\n\nPLEASE SAVE YOUR BACKUP KEY.",
|
||||||
style: STextStyles.baseXS,
|
style: STextStyles.baseXS.copyWith(
|
||||||
|
color: StackTheme.instance.color.warningForeground,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
|
|
@ -10,9 +10,6 @@ enum ThemeType {
|
||||||
abstract class StackColorTheme {
|
abstract class StackColorTheme {
|
||||||
Color get background;
|
Color get background;
|
||||||
Color get overlay;
|
Color get overlay;
|
||||||
Color get warningBackground;
|
|
||||||
Color get splash;
|
|
||||||
Color get highlight;
|
|
||||||
|
|
||||||
Color get accentColorBlue;
|
Color get accentColorBlue;
|
||||||
Color get accentColorGreen;
|
Color get accentColorGreen;
|
||||||
|
@ -166,6 +163,11 @@ abstract class StackColorTheme {
|
||||||
|
|
||||||
Color get favoriteStarActive;
|
Color get favoriteStarActive;
|
||||||
Color get favoriteStarInactive;
|
Color get favoriteStarInactive;
|
||||||
|
|
||||||
|
Color get splash;
|
||||||
|
Color get highlight;
|
||||||
|
Color get warningForeground;
|
||||||
|
Color get warningBackground;
|
||||||
}
|
}
|
||||||
|
|
||||||
class CoinThemeColor {
|
class CoinThemeColor {
|
||||||
|
|
|
@ -6,12 +6,6 @@ class DarkColors extends StackColorTheme {
|
||||||
Color get background => const Color(0xFF2A2D34);
|
Color get background => const Color(0xFF2A2D34);
|
||||||
@override
|
@override
|
||||||
Color get overlay => const Color(0xFF111215);
|
Color get overlay => const Color(0xFF111215);
|
||||||
@override
|
|
||||||
Color get warningBackground => const Color(0xFFFFB4A9);
|
|
||||||
@override
|
|
||||||
Color get splash => const Color(0x358E9192);
|
|
||||||
@override
|
|
||||||
Color get highlight => const Color(0x44A9ACAC);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Color get accentColorBlue => const Color(0xFF4C86E9);
|
Color get accentColorBlue => const Color(0xFF4C86E9);
|
||||||
|
@ -289,4 +283,13 @@ class DarkColors extends StackColorTheme {
|
||||||
Color get favoriteStarActive => accentColorYellow;
|
Color get favoriteStarActive => accentColorYellow;
|
||||||
@override
|
@override
|
||||||
Color get favoriteStarInactive => textSubtitle2;
|
Color get favoriteStarInactive => textSubtitle2;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get splash => const Color(0x358E9192);
|
||||||
|
@override
|
||||||
|
Color get highlight => const Color(0x44A9ACAC);
|
||||||
|
@override
|
||||||
|
Color get warningForeground => snackBarTextError;
|
||||||
|
@override
|
||||||
|
Color get warningBackground => const Color(0xFFFFB4A9);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,12 +6,6 @@ class LightColors extends StackColorTheme {
|
||||||
Color get background => const Color(0xFFF7F7F7);
|
Color get background => const Color(0xFFF7F7F7);
|
||||||
@override
|
@override
|
||||||
Color get overlay => const Color(0xFF111215);
|
Color get overlay => const Color(0xFF111215);
|
||||||
@override
|
|
||||||
Color get warningBackground => const Color(0xFFFFDAD3);
|
|
||||||
@override
|
|
||||||
Color get splash => const Color(0x358E9192);
|
|
||||||
@override
|
|
||||||
Color get highlight => const Color(0x44A9ACAC);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Color get accentColorBlue => const Color(0xFF4C86E9);
|
Color get accentColorBlue => const Color(0xFF4C86E9);
|
||||||
|
@ -289,4 +283,13 @@ class LightColors extends StackColorTheme {
|
||||||
Color get favoriteStarActive => infoItemIcons;
|
Color get favoriteStarActive => infoItemIcons;
|
||||||
@override
|
@override
|
||||||
Color get favoriteStarInactive => textSubtitle3;
|
Color get favoriteStarInactive => textSubtitle3;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Color get splash => const Color(0x358E9192);
|
||||||
|
@override
|
||||||
|
Color get highlight => const Color(0x44A9ACAC);
|
||||||
|
@override
|
||||||
|
Color get warningForeground => textDark;
|
||||||
|
@override
|
||||||
|
Color get warningBackground => const Color(0xFFFFDAD3);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue