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"
|
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>
|
||||||
<div className="flex flex-col items-start text-left">
|
<div className="flex flex-col items-start text-left">
|
||||||
<span className="font-semibold text-zinc-900 dark:text-zinc-100">{item.name}</span>
|
<span className="font-semibold text-zinc-100">{item.name}</span>
|
||||||
{item.desc && <span className="text-xs text-zinc-500 dark:text-zinc-400">{item.desc}</span>}
|
{item.desc && <span className="text-xs text-zinc-400">{item.desc}</span>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{count !== null && (
|
{count !== null && (
|
||||||
<span className="text-xs font-medium text-zinc-500 dark:text-zinc-400 shrink-0">
|
<span className="text-xs font-medium shrink-0">
|
||||||
{formatCount(count.count)} {count.label}
|
{formatCount(count.count)}
|
||||||
|
<span className="text-zinc-400"> {count.label}</span>
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user