Skip to content

Commit edf731b

Browse files
committed
Update UserSettingsView.swift
1 parent ffa20c7 commit edf731b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

GoInfoGame/GoInfoGame/UI/UserSettingsView.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ struct UserSettingsView: View {
4141
VStack(alignment: .leading, spacing: 12) {
4242
HStack(alignment: .firstTextBaseline) {
4343
Text(selectedWorkspace)
44+
.foregroundStyle(Asset.Colors.huskyPurple.swiftUIColor)
4445

4546

4647
Spacer()
@@ -51,6 +52,7 @@ struct UserSettingsView: View {
5152
Image(systemName: "xmark.circle")
5253
.resizable()
5354
.frame(width: 25, height: 25)
55+
.foregroundStyle(Asset.Colors.accentPink.swiftUIColor)
5456
})
5557
}
5658
.padding(.horizontal, 16)
@@ -65,7 +67,7 @@ struct UserSettingsView: View {
6567
.resizable()
6668
.scaledToFit()
6769
.frame(width: 20, height: 20)
68-
.foregroundColor(Color(red: 69/255, green: 81/255, blue: 108/255))
70+
.foregroundColor(Asset.Colors.huskyPurple.swiftUIColor)
6971

7072
Text(option.title)
7173
.font(.custom("Lato-Bold", size: 16))
@@ -100,3 +102,9 @@ struct UserSettingsView: View {
100102
.clipShape(RoundedRectangle(cornerRadius: 16))
101103
}
102104
}
105+
106+
#Preview {
107+
UserSettingsView( selectedWorkspace: "Title", options: OptionModel.options) { _ in
108+
109+
}
110+
}

0 commit comments

Comments
 (0)