style: update icon and text colors to a consistent dark theme palette in page component
This commit is contained in:
+6
-5
@@ -78,17 +78,18 @@ export default async function Home() {
|
||||
className="object-contain"
|
||||
/>
|
||||
) : (
|
||||
IconComponent && <IconComponent className="w-6 h-6 text-zinc-700 dark:text-zinc-300" />
|
||||
IconComponent && <IconComponent className="w-6 h-6 text-zinc-300" />
|
||||
)}
|
||||
</div>
|
||||
<div className="flex flex-col items-start text-left">
|
||||
<span className="font-semibold text-zinc-900 dark:text-zinc-100">{item.name}</span>
|
||||
{item.desc && <span className="text-xs text-zinc-500 dark:text-zinc-400">{item.desc}</span>}
|
||||
<span className="font-semibold text-zinc-100">{item.name}</span>
|
||||
{item.desc && <span className="text-xs text-zinc-400">{item.desc}</span>}
|
||||
</div>
|
||||
</div>
|
||||
{count !== null && (
|
||||
<span className="text-xs font-medium text-zinc-500 dark:text-zinc-400 shrink-0">
|
||||
{formatCount(count.count)} {count.label}
|
||||
<span className="text-xs font-medium shrink-0">
|
||||
{formatCount(count.count)}
|
||||
<span className="text-zinc-400"> {count.label}</span>
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user