File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
WooCommerce/Classes/POS/Presentation/Settings Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments