From e56be410ea14c09f7b4e549fa6a1ff68a9438ac1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 23 Jul 2026 18:20:50 +0000 Subject: [PATCH] Style add to cart button in orange and green Co-authored-by: Kyle Rich --- BugBazaar/Screens/ProductDetailView.swift | 4 ++-- BugBazaar/Theme.swift | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/BugBazaar/Screens/ProductDetailView.swift b/BugBazaar/Screens/ProductDetailView.swift index eea5876..2b53613 100644 --- a/BugBazaar/Screens/ProductDetailView.swift +++ b/BugBazaar/Screens/ProductDetailView.swift @@ -144,10 +144,10 @@ struct ProductDetailView: View { } label: { Text("ADD TO CART") .font(.bodyFont(14, bold: true)) - .foregroundColor(Theme.stickerGreen) + .foregroundColor(Theme.brightGreen) .frame(maxWidth: .infinity) .padding(.vertical, 16) - .background(Capsule().fill(Theme.inkBlack)) + .background(Capsule().fill(Theme.addToCartOrange)) } .buttonStyle(.plain) .accessibilityIdentifier("add-to-cart") diff --git a/BugBazaar/Theme.swift b/BugBazaar/Theme.swift index fb57d13..1213eb4 100644 --- a/BugBazaar/Theme.swift +++ b/BugBazaar/Theme.swift @@ -16,6 +16,8 @@ enum Theme { static let stickerGreen = Color(hex: 0x0000FF) static let mangoOrange = Color(hex: 0x008000) static let mangoYellow = Color(hex: 0xFFD500) + static let addToCartOrange = Color(hex: 0xFF8C00) + static let brightGreen = Color(hex: 0x39FF14) static let inkBlack = Color(hex: 0x080808) static let paperWhite = Color(hex: 0xFCFCFC) static let gray = Color(hex: 0x999999)