1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 20:15:31 -04:00

do tailwind more smarter 🧠

This commit is contained in:
2025-05-19 16:27:10 -04:00
parent 2796ce189b
commit 51708c9b17
12 changed files with 88 additions and 144 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ const Page = async () => {
<div className="text-muted-foreground inline-flex flex-nowrap items-center gap-2">
{repo!.primaryLanguage.color && (
<span
className="inline-block size-4 rounded-full"
style={{ backgroundColor: repo!.primaryLanguage.color }}
className="inline-block size-4 rounded-full bg-[var(--language-color)]"
style={{ ["--language-color" as string]: repo!.primaryLanguage.color }}
/>
)}
<span>{repo!.primaryLanguage.name}</span>