Update styling and color scheme across components to implement spaghetti-themed design system with consistent typography and visual hierarchy.
This commit is contained in:
1 parent
fd5536c5ee
commit
39eba48efd
15 files changed
+482
-48
No files matched your search
@@ -12,7 +12,7 @@ export default function ArrowCard({entry, pill}: Props) {
|
||||
<div class="w-full group-hover:text-black group-hover:dark:text-white blend">
|
||||
<div class="flex flex-wrap items-center gap-2">
|
||||
{pill &&
|
||||
<div class="text-sm capitalize px-2 py-0.5 rounded-full border border-black/15 dark:border-white/25">
|
||||
<div class="text-sm capitalize px-2 py-0.5 rounded-full border border-black/15 dark:border-white/20 bg-spaghetti-yellow/20 dark:bg-spaghetti-yellow/20 text-spaghetti-brown">
|
||||
{entry.collection === "blog" ? "post" : "project"}
|
||||
</div>
|
||||
}
|
||||
@@ -20,16 +20,16 @@ export default function ArrowCard({entry, pill}: Props) {
|
||||
{formatDate(entry.data.date)}
|
||||
</div>
|
||||
</div>
|
||||
<div class="font-semibold mt-3 text-black dark:text-white">
|
||||
<div class="font-semibold mt-3 text-spaghetti-brown">
|
||||
{entry.data.title}
|
||||
</div>
|
||||
|
||||
<div class="text-sm line-clamp-2">
|
||||
<div class="text-sm line-clamp-2 text-spaghetti-brown">
|
||||
{entry.data.summary}
|
||||
</div>
|
||||
<ul class="flex flex-wrap mt-2 gap-1">
|
||||
{entry.data.tags.map((tag:string) => ( // this line has an error; Parameter 'tag' implicitly has an 'any' type.ts(7006)
|
||||
<li class="text-xs uppercase py-0.5 px-1 rounded bg-black/5 dark:bg-white/20 text-black/75 dark:text-white/75">
|
||||
<li class="text-xs uppercase py-0.5 px-1 rounded bg-spaghetti-yellow/20 dark:bg-spaghetti-yellow/20 text-spaghetti-brown">
|
||||
{tag}
|
||||
</li>
|
||||
))}
|
||||
@@ -41,4 +41,4 @@ export default function ArrowCard({entry, pill}: Props) {
|
||||
</svg>
|
||||
</a>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user