Skip to content

Commit 8a3b526

Browse files
committed
update foreground for selection items
1 parent 41779c7 commit 8a3b526

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

WooCommerce/Classes/POS/Presentation/Settings/PointOfSaleSettingsView.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ struct PointOfSaleSettingsCard: View {
9999
HStack {
100100
Image(systemName: item.icon)
101101
.font(.posBodyLargeRegular())
102-
.foregroundStyle(isSelected ? .white : .primary)
102+
.foregroundStyle(Color.posOnSurface)
103103
VStack(alignment: .leading) {
104104
Text(item.title)
105105
.font(.posBodyLargeRegular())
106-
.foregroundStyle(isSelected ? .white : .primary)
106+
.foregroundStyle(Color.posOnSurface)
107107
Text(item.subtitle)
108108
.font(.posBodyMediumRegular())
109-
.foregroundStyle(isSelected ? .white.opacity(0.8) : .secondary)
109+
.foregroundStyle(Color.posOnSurface)
110110
}
111111
Spacer()
112112
}
@@ -116,8 +116,8 @@ struct PointOfSaleSettingsCard: View {
116116
}
117117
.buttonStyle(.plain)
118118
.background(
119-
RoundedRectangle(cornerRadius: POSCornerRadiusStyle.large.value, style: .continuous)
120-
.fill(isSelected ? Color.accentColor : Color.clear)
119+
RoundedRectangle(cornerRadius: POSCornerRadiusStyle.small.value, style: .continuous)
120+
.fill(isSelected ? Color.posSecondary : Color.clear)
121121
)
122122
}
123123
}

0 commit comments

Comments
 (0)