mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-23 23:58:45 +00:00
A few more color fixes
This commit is contained in:
parent
942a67e6a4
commit
dd122e3610
8 changed files with 19 additions and 6 deletions
|
@ -653,7 +653,9 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
controller: _controllers[i - 1],
|
controller: _controllers[i - 1],
|
||||||
style: STextStyles.field,
|
style: STextStyles.field.copyWith(
|
||||||
|
color: StackTheme.instance.color.overlay,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (_inputStatuses[i - 1] ==
|
if (_inputStatuses[i - 1] ==
|
||||||
|
|
|
@ -74,6 +74,7 @@ class _DeleteWalletRecoveryPhraseViewState
|
||||||
Assets.svg.copy,
|
Assets.svg.copy,
|
||||||
width: 20,
|
width: 20,
|
||||||
height: 20,
|
height: 20,
|
||||||
|
color: StackTheme.instance.color.topNavIconPrimary,
|
||||||
),
|
),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
final words = await _manager.mnemonic;
|
final words = await _manager.mnemonic;
|
||||||
|
|
|
@ -553,8 +553,8 @@ class _TransactionDetailsViewState
|
||||||
.read(prefsChangeNotifierProvider)
|
.read(prefsChangeNotifierProvider)
|
||||||
.hideBlockExplorerWarning ==
|
.hideBlockExplorerWarning ==
|
||||||
false) {
|
false) {
|
||||||
final shouldContinue =
|
final shouldContinue = await showExplorerWarning(
|
||||||
await showExplorerWarning(uri.host);
|
"${uri.scheme}://${uri.host}");
|
||||||
|
|
||||||
if (!shouldContinue) {
|
if (!shouldContinue) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -119,6 +119,8 @@ class _TransactionSearchViewState
|
||||||
|
|
||||||
MaterialRoundedDatePickerStyle _buildDatePickerStyle() {
|
MaterialRoundedDatePickerStyle _buildDatePickerStyle() {
|
||||||
return MaterialRoundedDatePickerStyle(
|
return MaterialRoundedDatePickerStyle(
|
||||||
|
backgroundPicker: StackTheme.instance.color.popupBG,
|
||||||
|
// backgroundHeader: StackTheme.instance.color.textSubtitle2,
|
||||||
paddingMonthHeader: const EdgeInsets.only(top: 11),
|
paddingMonthHeader: const EdgeInsets.only(top: 11),
|
||||||
colorArrowNext: StackTheme.instance.color.textSubtitle1,
|
colorArrowNext: StackTheme.instance.color.textSubtitle1,
|
||||||
colorArrowPrevious: StackTheme.instance.color.textSubtitle1,
|
colorArrowPrevious: StackTheme.instance.color.textSubtitle1,
|
||||||
|
@ -156,6 +158,7 @@ class _TransactionSearchViewState
|
||||||
|
|
||||||
MaterialRoundedYearPickerStyle _buildYearPickerStyle() {
|
MaterialRoundedYearPickerStyle _buildYearPickerStyle() {
|
||||||
return MaterialRoundedYearPickerStyle(
|
return MaterialRoundedYearPickerStyle(
|
||||||
|
backgroundPicker: StackTheme.instance.color.popupBG,
|
||||||
textStyleYear: _datePickerTextStyleBase.copyWith(
|
textStyleYear: _datePickerTextStyleBase.copyWith(
|
||||||
color: StackTheme.instance.color.textSubtitle2,
|
color: StackTheme.instance.color.textSubtitle2,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
|
|
|
@ -170,6 +170,7 @@ abstract class StackColorTheme {
|
||||||
Color get warningBackground;
|
Color get warningBackground;
|
||||||
|
|
||||||
Color get loadingOverlayTextColor;
|
Color get loadingOverlayTextColor;
|
||||||
|
Color get myStackContactIconBG;
|
||||||
}
|
}
|
||||||
|
|
||||||
class CoinThemeColor {
|
class CoinThemeColor {
|
||||||
|
|
|
@ -185,7 +185,7 @@ class DarkColors extends StackColorTheme {
|
||||||
@override
|
@override
|
||||||
Color get textFieldErrorBG => const Color(0xFFFFB4A9);
|
Color get textFieldErrorBG => const Color(0xFFFFB4A9);
|
||||||
@override
|
@override
|
||||||
Color get textFieldSuccessBG => const Color(0xFFB9E9D4);
|
Color get textFieldSuccessBG => const Color(0xFF8EF5C3);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Color get textFieldActiveSearchIconLeft => const Color(0xFFA9ACAC);
|
Color get textFieldActiveSearchIconLeft => const Color(0xFFA9ACAC);
|
||||||
|
@ -294,4 +294,6 @@ class DarkColors extends StackColorTheme {
|
||||||
Color get warningBackground => const Color(0xFFFFB4A9);
|
Color get warningBackground => const Color(0xFFFFB4A9);
|
||||||
@override
|
@override
|
||||||
Color get loadingOverlayTextColor => const Color(0xFFF7F7F7);
|
Color get loadingOverlayTextColor => const Color(0xFFF7F7F7);
|
||||||
|
@override
|
||||||
|
Color get myStackContactIconBG => const Color(0x88747778);
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,7 +83,7 @@ class LightColors extends StackColorTheme {
|
||||||
@override
|
@override
|
||||||
Color get buttonTextDisabled => const Color(0xFFB6B6B6);
|
Color get buttonTextDisabled => const Color(0xFFB6B6B6);
|
||||||
@override
|
@override
|
||||||
Color get buttonTextBorderless => const Color(0xFF232323);
|
Color get buttonTextBorderless => const Color(0xFF0052DF);
|
||||||
@override
|
@override
|
||||||
Color get buttonTextBorderlessDisabled => const Color(0xFFB6B6B6);
|
Color get buttonTextBorderlessDisabled => const Color(0xFFB6B6B6);
|
||||||
@override
|
@override
|
||||||
|
@ -294,4 +294,6 @@ class LightColors extends StackColorTheme {
|
||||||
Color get warningBackground => const Color(0xFFFFDAD3);
|
Color get warningBackground => const Color(0xFFFFDAD3);
|
||||||
@override
|
@override
|
||||||
Color get loadingOverlayTextColor => const Color(0xFFF7F7F7);
|
Color get loadingOverlayTextColor => const Color(0xFFF7F7F7);
|
||||||
|
@override
|
||||||
|
Color get myStackContactIconBG => textFieldDefaultBG;
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,9 @@ class _AddressBookCardState extends ConsumerState<AddressBookCard> {
|
||||||
width: 32,
|
width: 32,
|
||||||
height: 32,
|
height: 32,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: StackTheme.instance.color.textFieldDefaultBG,
|
color: contact.id == "default"
|
||||||
|
? StackTheme.instance.color.myStackContactIconBG
|
||||||
|
: StackTheme.instance.color.textFieldDefaultBG,
|
||||||
borderRadius: BorderRadius.circular(32),
|
borderRadius: BorderRadius.circular(32),
|
||||||
),
|
),
|
||||||
child: contact.id == "default"
|
child: contact.id == "default"
|
||||||
|
|
Loading…
Reference in a new issue