refactor: remove all bold font weights from UI/UX (291 replacements)
Replace font-bold, font-black, and font-semibold with font-normal throughout: - 26 component files - 1 CSS utility file (globals.css) - 291 total occurrences Text hierarchy now maintained through font-size differences only. All tests passing (291/291). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -34,7 +34,7 @@ export default function BottomNav({
|
||||
className={cn("flex flex-col items-center gap-1 rounded px-2 py-1 cursor-pointer transition-colors focus:ring-2 focus:ring-primary focus:outline-none", isHome && "text-primary")}
|
||||
>
|
||||
<Smartphone size={20} />
|
||||
<span className="text-xs font-bold transition-all">Home</span>
|
||||
<span className="text-xs font-normal transition-all">Home</span>
|
||||
</button>
|
||||
|
||||
{/* Inventory */}
|
||||
@@ -44,7 +44,7 @@ export default function BottomNav({
|
||||
className={cn("flex flex-col items-center gap-1 rounded px-2 py-1 cursor-pointer transition-colors focus:ring-2 focus:ring-primary focus:outline-none", isInventory && "text-primary")}
|
||||
>
|
||||
<Package size={20} />
|
||||
<span className="text-xs font-bold transition-all">Inventory</span>
|
||||
<span className="text-xs font-normal transition-all">Inventory</span>
|
||||
</button>
|
||||
|
||||
{/* Logs */}
|
||||
@@ -54,7 +54,7 @@ export default function BottomNav({
|
||||
className={cn("flex flex-col items-center gap-1 rounded px-2 py-1 cursor-pointer transition-colors focus:ring-2 focus:ring-primary focus:outline-none", isLogs && "text-primary")}
|
||||
>
|
||||
<History size={20} />
|
||||
<span className="text-xs font-bold transition-all">Logs</span>
|
||||
<span className="text-xs font-normal transition-all">Logs</span>
|
||||
</button>
|
||||
|
||||
{/* Admin Settings */}
|
||||
@@ -66,7 +66,7 @@ export default function BottomNav({
|
||||
className={cn("flex flex-col items-center gap-1 rounded px-2 py-1 cursor-pointer transition-colors focus:ring-2 focus:ring-primary focus:outline-none", isAdmin && "text-primary")}
|
||||
>
|
||||
<Settings size={20} />
|
||||
<span className="text-xs font-bold transition-all">Admin</span>
|
||||
<span className="text-xs font-normal transition-all">Admin</span>
|
||||
</button>
|
||||
)}
|
||||
|
||||
@@ -82,7 +82,7 @@ export default function BottomNav({
|
||||
className="flex flex-col items-center gap-1 text-rose-500 hover:text-rose-400 cursor-pointer transition-colors rounded px-2 py-1 focus:ring-2 focus:ring-rose-500 focus:outline-none"
|
||||
>
|
||||
<LogOut size={20} />
|
||||
<span className="text-xs font-bold transition-all">Logout</span>
|
||||
<span className="text-xs font-normal transition-all">Logout</span>
|
||||
</button>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user