Skip to content

Commit d733a4f

Browse files
committed
Replace the last posTertiaryText usage in cart placeholder with posOnSurfaceVariantLowest tentatively.
1 parent 0ad0bc4 commit d733a4f

File tree

3 files changed

+1
-42
lines changed

3 files changed

+1
-42
lines changed

WooCommerce/Classes/POS/Colors/Color+POSColorPalette.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ extension Color {
4646
static var posAlert: Color { Color(.posAlert) }
4747
static var posOnAlert: Color { Color(.posOnAlert) }
4848

49-
// MARK: - Text Colors
50-
static var posTertiaryText: Color { Color(.posTertiaryText) }
51-
5249
// MARK: - Other
5350
static var posShadow: Color { Color(.posShadow) }
5451
}

WooCommerce/Classes/POS/Colors/POSColorPalette.xcassets/posTertiaryText.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

WooCommerce/Classes/POS/Presentation/CartView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ private extension CartView {
273273
// avoids issues when the text size is changed through dynamic type.
274274
Text(Localization.addItemsToCartHint)
275275
.font(Constants.secondaryFont)
276-
.foregroundColor(Color.posTertiaryText)
276+
.foregroundColor(Color.posOnSurfaceVariantLowest)
277277
.multilineTextAlignment(.center)
278278
.overlay(alignment: .top) {
279279
Image(decorative: PointOfSaleAssets.shoppingBags.imageName)

0 commit comments

Comments
 (0)