Skip to content

Commit

Permalink
ui: color from orange to primary
Browse files Browse the repository at this point in the history
  • Loading branch information
reez authored Oct 5, 2024
1 parent 611f267 commit d9dca01
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"color" : {
"platform" : "universal",
"reference" : "systemOrangeColor"
"reference" : "labelColor"
},
"idiom" : "universal"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct TransactionDetailView: View {
} label: {
Image(systemName: "safari")
.fontWeight(.semibold)
.foregroundStyle(Color.bitcoinOrange)
.foregroundStyle(.primary)
}
Spacer()
}
Expand All @@ -142,7 +142,7 @@ struct TransactionDetailView: View {
}
}
.fontWeight(.semibold)
.foregroundStyle(Color.bitcoinOrange)
.foregroundStyle(.primary)
}
}
.fontDesign(.monospaced)
Expand Down
2 changes: 1 addition & 1 deletion BDKSwiftExampleWallet/View/OnboardingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ struct OnboardingView: View {
}
.buttonStyle(
BitcoinFilled(
tintColor: .bitcoinOrange,
tintColor: .primary,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
Expand Down
2 changes: 1 addition & 1 deletion BDKSwiftExampleWallet/View/Receive/ReceiveView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct ReceiveView: View {
}
}
.fontWeight(.semibold)
.foregroundStyle(Color.bitcoinOrange)
.foregroundStyle(.primary)
}
}
.padding()
Expand Down
8 changes: 7 additions & 1 deletion BDKSwiftExampleWallet/View/Send/AmountView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ struct AmountView: View {
)
.labelStyle(.iconOnly)
}
.buttonStyle(BitcoinOutlined(width: 100, isCapsule: true))
.buttonStyle(
BitcoinOutlined(
width: 100,
tintColor: .primary,
isCapsule: true
)
)

}

Expand Down
7 changes: 4 additions & 3 deletions BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ struct BuildTransactionView: View {
.buttonStyle(
isSent
? BitcoinFilled(
tintColor: .bitcoinRed,
tintColor: .secondary,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
: BitcoinFilled(
tintColor: .bitcoinOrange,
tintColor: .primary,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
Expand Down Expand Up @@ -188,10 +188,11 @@ struct BuildTransactionView: View {
systemName: showCheckmark
? "checkmark" : "doc.on.doc"
)
.foregroundStyle(.primary)
}
}
.fontWeight(.semibold)
.foregroundStyle(Color.bitcoinOrange)
.foregroundStyle(.primary)
}
}
.fontDesign(.monospaced)
Expand Down
8 changes: 7 additions & 1 deletion BDKSwiftExampleWallet/View/Send/FeeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,13 @@ struct FeeView: View {
)
.labelStyle(.iconOnly)
}
.buttonStyle(BitcoinOutlined(width: 100, isCapsule: true))
.buttonStyle(
BitcoinOutlined(
width: 100,
tintColor: .primary,
isCapsule: true
)
)

}
.padding()
Expand Down
2 changes: 1 addition & 1 deletion BDKSwiftExampleWallet/View/Settings/SeedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct SeedView: View {
BitcoinFilled(
width: 120,
height: 40,
tintColor: .bitcoinOrange,
tintColor: .primary,
textColor: Color(uiColor: .systemBackground),
isCapsule: true
)
Expand Down

0 comments on commit d9dca01

Please sign in to comment.