feat(ui): unify card typography across application
This commit is contained in:
@@ -312,8 +312,8 @@ export default function InventoryPage() {
|
||||
<Layers size={20} />
|
||||
</div>
|
||||
<div className="text-left">
|
||||
<h3 className="font-bold text-lg">{cat}</h3>
|
||||
<p className="text-xs font-bold text-slate-400 mt-1 uppercase tracking-tight">
|
||||
<h3 className="card-title text-base sm:text-lg">{cat}</h3>
|
||||
<p className="card-subtitle tracking-tight">
|
||||
{inventory.filter(i => i.category === cat).length} Item types in stock
|
||||
</p>
|
||||
</div>
|
||||
@@ -354,8 +354,8 @@ export default function InventoryPage() {
|
||||
<Package size={14} />
|
||||
</div>
|
||||
<div className="truncate">
|
||||
<h4 className="font-bold text-slate-200 truncate">{item.name}</h4>
|
||||
<p className="text-xs text-slate-400 truncate mt-1">{item.specs}</p>
|
||||
<h4 className="card-title truncate">{item.name}</h4>
|
||||
<p className="card-subtitle mt-0 lowercase opacity-80 truncate">{item.specs}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-right shrink-0">
|
||||
|
||||
Reference in New Issue
Block a user