Skip to content

Commit d9dca01

Browse files
authored
ui: color from orange to primary
1 parent 611f267 commit d9dca01

File tree

8 files changed

+24
-11
lines changed

8 files changed

+24
-11
lines changed

BDKSwiftExampleWallet/Assets.xcassets/AccentColor.colorset/Contents.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"color" : {
55
"platform" : "universal",
6-
"reference" : "systemOrangeColor"
6+
"reference" : "labelColor"
77
},
88
"idiom" : "universal"
99
}

BDKSwiftExampleWallet/View/Activity/TransactionDetailView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ struct TransactionDetailView: View {
115115
} label: {
116116
Image(systemName: "safari")
117117
.fontWeight(.semibold)
118-
.foregroundStyle(Color.bitcoinOrange)
118+
.foregroundStyle(.primary)
119119
}
120120
Spacer()
121121
}
@@ -142,7 +142,7 @@ struct TransactionDetailView: View {
142142
}
143143
}
144144
.fontWeight(.semibold)
145-
.foregroundStyle(Color.bitcoinOrange)
145+
.foregroundStyle(.primary)
146146
}
147147
}
148148
.fontDesign(.monospaced)

BDKSwiftExampleWallet/View/OnboardingView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ struct OnboardingView: View {
126126
}
127127
.buttonStyle(
128128
BitcoinFilled(
129-
tintColor: .bitcoinOrange,
129+
tintColor: .primary,
130130
textColor: Color(uiColor: .systemBackground),
131131
isCapsule: true
132132
)

BDKSwiftExampleWallet/View/Receive/ReceiveView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct ReceiveView: View {
7575
}
7676
}
7777
.fontWeight(.semibold)
78-
.foregroundStyle(Color.bitcoinOrange)
78+
.foregroundStyle(.primary)
7979
}
8080
}
8181
.padding()

BDKSwiftExampleWallet/View/Send/AmountView.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,13 @@ struct AmountView: View {
7171
)
7272
.labelStyle(.iconOnly)
7373
}
74-
.buttonStyle(BitcoinOutlined(width: 100, isCapsule: true))
74+
.buttonStyle(
75+
BitcoinOutlined(
76+
width: 100,
77+
tintColor: .primary,
78+
isCapsule: true
79+
)
80+
)
7581

7682
}
7783

BDKSwiftExampleWallet/View/Send/BuildTransactionView.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ struct BuildTransactionView: View {
149149
.buttonStyle(
150150
isSent
151151
? BitcoinFilled(
152-
tintColor: .bitcoinRed,
152+
tintColor: .secondary,
153153
textColor: Color(uiColor: .systemBackground),
154154
isCapsule: true
155155
)
156156
: BitcoinFilled(
157-
tintColor: .bitcoinOrange,
157+
tintColor: .primary,
158158
textColor: Color(uiColor: .systemBackground),
159159
isCapsule: true
160160
)
@@ -188,10 +188,11 @@ struct BuildTransactionView: View {
188188
systemName: showCheckmark
189189
? "checkmark" : "doc.on.doc"
190190
)
191+
.foregroundStyle(.primary)
191192
}
192193
}
193194
.fontWeight(.semibold)
194-
.foregroundStyle(Color.bitcoinOrange)
195+
.foregroundStyle(.primary)
195196
}
196197
}
197198
.fontDesign(.monospaced)

BDKSwiftExampleWallet/View/Send/FeeView.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,13 @@ struct FeeView: View {
9898
)
9999
.labelStyle(.iconOnly)
100100
}
101-
.buttonStyle(BitcoinOutlined(width: 100, isCapsule: true))
101+
.buttonStyle(
102+
BitcoinOutlined(
103+
width: 100,
104+
tintColor: .primary,
105+
isCapsule: true
106+
)
107+
)
102108

103109
}
104110
.padding()

BDKSwiftExampleWallet/View/Settings/SeedView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct SeedView: View {
6363
BitcoinFilled(
6464
width: 120,
6565
height: 40,
66-
tintColor: .bitcoinOrange,
66+
tintColor: .primary,
6767
textColor: Color(uiColor: .systemBackground),
6868
isCapsule: true
6969
)

0 commit comments

Comments
 (0)