From 0aee9378808e4ec7fc3edcecf209dbac716229e6 Mon Sep 17 00:00:00 2001
From: SkateSpots
Date: Sat, 26 Sep 2026 19:05:35 +0700
Subject: [PATCH] fix(a11y): remove duplicate profile status dot; raise
low-contrast text
- Profile showed the live status indicator twice (avatar + name row) -> once
- Stash/Wallet informational text bumped from gray-600/700 to gray-400/500 for
readable contrast on the near-black background
---
src/pages/NIP19Page.tsx | 1 -
src/pages/StashPage.tsx | 28 ++++++++++++++--------------
src/pages/WalletPage.tsx | 2 +-
3 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/src/pages/NIP19Page.tsx b/src/pages/NIP19Page.tsx
index 898bab2..062fb46 100644
--- a/src/pages/NIP19Page.tsx
+++ b/src/pages/NIP19Page.tsx
@@ -261,7 +261,6 @@ function ProfilePage({ pubkey }: { pubkey: string }) {
Bot
)}
-
{nip05 && (
{Array.from({ length: 5 }).map((_, i) => (
-
+
))}
)}
@@ -237,7 +237,7 @@ function StashItemCard({ item, onEdit, onDelete, onListOnMarketplace, isWTB = fa
{!isWTB && (
{Array.from({ length: 5 }).map((_, i) => (
-
+
))}
{condition.label.split(' ')[1]}
@@ -251,7 +251,7 @@ function StashItemCard({ item, onEdit, onDelete, onListOnMarketplace, isWTB = fa
{usdValue && (~${usdValue.toFixed(0)}) }
) : (
- No price set
+ No price set
)}
{item.visibility === 'private' &&
Private }
@@ -800,8 +800,8 @@ export default function StashPage() {
{/* View toggle — only useful when there are items to view */}
{stats.total > 0 && (
- setViewMode('list')} className={cn('px-2.5 py-1.5 transition-colors', viewMode === 'list' ? 'bg-white/12 text-white' : 'text-gray-600 hover:text-gray-300')}>
- setViewMode('grid')} className={cn('px-2.5 py-1.5 transition-colors', viewMode === 'grid' ? 'bg-white/12 text-white' : 'text-gray-600 hover:text-gray-300')}>
+ setViewMode('list')} className={cn('px-2.5 py-1.5 transition-colors', viewMode === 'list' ? 'bg-white/12 text-white' : 'text-gray-400 hover:text-gray-300')}>
+ setViewMode('grid')} className={cn('px-2.5 py-1.5 transition-colors', viewMode === 'grid' ? 'bg-white/12 text-white' : 'text-gray-400 hover:text-gray-300')}>
)}
{/* Mobile-only quick add — desktop has sidebar buttons */}
@@ -833,8 +833,8 @@ export default function StashPage() {
)}
-
{filteredItems.length} item{filteredItems.length !== 1 ? 's' : ''}
+
{filteredItems.length} item{filteredItems.length !== 1 ? 's' : ''}
@@ -922,7 +922,7 @@ export default function StashPage() {
) : (
<>
-
+
No items match
Try adjusting your filters.
@@ -977,7 +977,7 @@ export default function StashPage() {
{stats.totalValue > 999 ? (stats.totalValue / 1000).toFixed(1) + 'k' : stats.totalValue}
- est. sats
+ est. sats
)}
@@ -992,7 +992,7 @@ export default function StashPage() {
].map(({ label, value, color }) => (
{value}
- {label}
+ {label}
))}
@@ -1012,7 +1012,7 @@ export default function StashPage() {
{category.label}
- {count}
+ {count}
@@ -1091,7 +1091,7 @@ export default function StashPage() {
{/* How it works */}
-
How it works
+
How it works
{[
{ icon: '✏️', text: 'Edit items with the pen button' },
@@ -1101,7 +1101,7 @@ export default function StashPage() {
].map(({ icon, text }) => (
{icon}
- {text}
+ {text}
))}
diff --git a/src/pages/WalletPage.tsx b/src/pages/WalletPage.tsx
index 39c0512..80a4818 100644
--- a/src/pages/WalletPage.tsx
+++ b/src/pages/WalletPage.tsx
@@ -70,7 +70,7 @@ function StatusPill({
return (
{label}