forked from cartsnitch/cartsnitch
Merge pull request #241 from cartsnitch/dev
promote: dev → uat (color contrast accessibility fix)
This commit is contained in:
@@ -126,7 +126,7 @@ function AlertCard({
|
|||||||
</Link>
|
</Link>
|
||||||
<div className="mt-1 flex items-center gap-2">
|
<div className="mt-1 flex items-center gap-2">
|
||||||
<span className="text-xs text-gray-500">Target: ${alert.targetPrice.toFixed(2)}</span>
|
<span className="text-xs text-gray-500">Target: ${alert.targetPrice.toFixed(2)}</span>
|
||||||
<span className="text-xs text-gray-400">·</span>
|
<span className="text-xs text-gray-500">·</span>
|
||||||
<span className={`text-xs font-medium ${isBelow ? 'text-green-700' : 'text-gray-500'}`}>
|
<span className={`text-xs font-medium ${isBelow ? 'text-green-700' : 'text-gray-500'}`}>
|
||||||
Now: ${alert.currentPrice.toFixed(2)}
|
Now: ${alert.currentPrice.toFixed(2)}
|
||||||
</span>
|
</span>
|
||||||
@@ -145,7 +145,7 @@ function AlertCard({
|
|||||||
)}
|
)}
|
||||||
<button
|
<button
|
||||||
onClick={() => onDelete(alert.id)}
|
onClick={() => onDelete(alert.id)}
|
||||||
className="min-h-12 min-w-12 rounded-lg p-2 text-gray-400 active:bg-gray-100"
|
className="min-h-12 min-w-12 rounded-lg p-2 text-gray-500 active:bg-gray-100"
|
||||||
aria-label="Delete alert"
|
aria-label="Delete alert"
|
||||||
>
|
>
|
||||||
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
|
<svg className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={1.5}>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export function Coupons() {
|
|||||||
<p className="mt-0.5 text-xs text-gray-500">{coupon.storeName}</p>
|
<p className="mt-0.5 text-xs text-gray-500">{coupon.storeName}</p>
|
||||||
<p
|
<p
|
||||||
className={`mt-1 text-xs ${
|
className={`mt-1 text-xs ${
|
||||||
expiringSoon ? 'font-medium text-orange-600' : 'text-gray-400'
|
expiringSoon ? 'font-medium text-orange-600' : 'text-gray-500'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
Expires{' '}
|
Expires{' '}
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ export function Purchases() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Item preview */}
|
{/* Item preview */}
|
||||||
<p className="mt-2 truncate text-xs text-gray-400">
|
<p className="mt-2 truncate text-xs text-gray-500">
|
||||||
{purchase.items
|
{purchase.items
|
||||||
.slice(0, 3)
|
.slice(0, 3)
|
||||||
.map((i) => i.name)
|
.map((i) => i.name)
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ export function Settings() {
|
|||||||
{copied ? 'Copied!' : 'Copy'}
|
{copied ? 'Copied!' : 'Copy'}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<p className="mt-2 text-xs text-gray-400">
|
<p className="mt-2 text-xs text-gray-500">
|
||||||
Supports Meijer, Kroger, and Target receipt emails.
|
Supports Meijer, Kroger, and Target receipt emails.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ export function StoreComparison() {
|
|||||||
{pp.price === lowestPrice ? (
|
{pp.price === lowestPrice ? (
|
||||||
<span className="text-xs font-medium text-green-600">Best price</span>
|
<span className="text-xs font-medium text-green-600">Best price</span>
|
||||||
) : (
|
) : (
|
||||||
<span className="text-xs text-gray-400">
|
<span className="text-xs text-gray-500">
|
||||||
+${(pp.price - lowestPrice).toFixed(2)}
|
+${(pp.price - lowestPrice).toFixed(2)}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
@@ -99,7 +99,7 @@ export function StoreComparison() {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className="mt-6 text-center text-xs text-gray-400">
|
<p className="mt-6 text-center text-xs text-gray-500">
|
||||||
Prices last verified from store loyalty card data. Map view coming soon.
|
Prices last verified from store loyalty card data. Map view coming soon.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user