Update color scheme to spaghetti palette across article layout and work page components
This commit is contained in:
1 parent
73db6d2cd3
commit
9cc9768121
2 files changed
+6
-6
No files matched your search
@@ -16,12 +16,12 @@ const body = entry.content
|
||||
---
|
||||
|
||||
<div>
|
||||
<a href={`/${collection}`} class="group w-fit p-1.5 gap-1.5 text-sm flex items-center border rounded hover:bg-black/5 hover:dark:bg-white/10 border-black/15 dark:border-white/20 transition-colors duration-300 ease-in-out">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="stroke-current group-hover:stroke-black group-hover:dark:stroke-white">
|
||||
<a href={`/${collection}`} class="group w-fit p-1.5 gap-1.5 text-sm flex items-center border text-spaghetti-brown/100 dark:text-spaghetti-yellow rounded hover:bg-spaghetti-brown/5 hover:dark:bg-spaghetti-red/10 border-spaghetti-brown/15 dark:border-spaghetti-cream/20 transition-colors duration-300 ease-in-out">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="stroke-current group-hover:stroke-spaghetti-brown group-hover:dark:stroke-spaghetti-yellow">
|
||||
<line x1="19" y1="12" x2="5" y2="12" class="scale-x-0 group-hover:scale-x-100 translate-x-3 group-hover:translate-x-0 transition-all duration-300 ease-in-out" />
|
||||
<polyline points="12 19 5 12 12 5" class="translate-x-1 group-hover:translate-x-0 transition-all duration-300 ease-in-out" />
|
||||
</svg>
|
||||
<div class="w-full group-hover:text-black group-hover:dark:text-white transition-colors duration-300 ease-in-out">
|
||||
<div class="w-full group-hover:text-spaghetti-brown group-hover:dark:text-spaghetti-yellow transition-colors duration-300 ease-in-out">
|
||||
Back to {`${collection.charAt(0).toUpperCase()}${collection.slice(1)}`}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
@@ -44,13 +44,13 @@ function formatWorkDate(input: Date | string) {
|
||||
<div class="text-sm uppercase mb-4">
|
||||
{formatWorkDate(entry.dateStart)} - {formatWorkDate(entry.dateEnd)}
|
||||
</div>
|
||||
<div class="text-black dark:text-white font-semibold">
|
||||
<div class="text-spaghetti-brown/100 dark:text-spaghetti-yellow font-semibold">
|
||||
{entry.company}
|
||||
</div>
|
||||
<div class="text-sm font-semibold">
|
||||
<div class="text-sm font-semibold text-spaghetti-brown/100 dark:text-spaghetti-yellow">
|
||||
{entry.role}
|
||||
</div>
|
||||
<article class="prose dark:prose-invert" set:html={entry.contentHtml}></article>
|
||||
<article class="prose dark:prose-invert text-spaghetti-brown/100 dark:text-spaghetti-cream" set:html={entry.contentHtml}></article>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user