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>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -35,13 +35,13 @@ export default function Blog({ data, tags }: Props) {
|
||||
<div class="grid grid-cols-1 sm:grid-cols-3 gap-6">
|
||||
<div class="col-span-3 sm:col-span-1">
|
||||
<div class="sticky top-24">
|
||||
<div class="text-sm font-semibold uppercase mb-2 text-black dark:text-white">Filter</div>
|
||||
<div class="text-sm font-semibold uppercase mb-2 text-spaghetti-brown">Filter</div>
|
||||
<ul class="flex flex-wrap sm:flex-col gap-1.5">
|
||||
<For each={tags}>
|
||||
{(tag) => (
|
||||
<li>
|
||||
<button onClick={() => toggleTag(tag)} class={cn("w-full px-2 py-1 rounded", "whitespace-nowrap overflow-hidden overflow-ellipsis", "flex gap-2 items-center", "bg-black/5 dark:bg-white/10", "hover:bg-black/10 hover:dark:bg-white/15", "transition-colors duration-300 ease-in-out", filter().has(tag) && "text-black dark:text-white")}>
|
||||
<svg class={cn("size-5 fill-black/50 dark:fill-white/50", "transition-colors duration-300 ease-in-out", filter().has(tag) && "fill-black dark:fill-white")}>
|
||||
<button onClick={() => toggleTag(tag)} class={cn("w-full px-2 py-1 rounded", "whitespace-nowrap overflow-hidden overflow-ellipsis", "flex gap-2 items-center", "bg-spaghetti-yellow/20 dark:bg-spaghetti-yellow/20", "hover:bg-spaghetti-yellow/30 hover:dark:bg-spaghetti-yellow/30", "transition-colors duration-300 ease-in-out", filter().has(tag) && "text-spaghetti-brown dark:text-spaghetti-brown")}>
|
||||
<svg class={cn("size-5 fill-spaghetti-brown/50 dark:fill-spaghetti-brown/50", "transition-colors duration-300 ease-in-out", filter().has(tag) && "fill-spaghetti-brown dark:fill-spaghetti-brown")}>
|
||||
<use href={`/ui.svg#square`} class={cn(!filter().has(tag) ? "block" : "hidden")} />
|
||||
<use href={`/ui.svg#square-check`} class={cn(filter().has(tag) ? "block" : "hidden")} />
|
||||
</svg>
|
||||
|
||||
@@ -7,10 +7,10 @@ function CounterButton() {
|
||||
|
||||
return (
|
||||
<div class="flex gap-4 items-center">
|
||||
<button onClick={increment} class="px-3 py-1 border border-black/25 dark:border-white/25 hover:bg-black/5 dark:hover:bg-white/15 blend">
|
||||
<button onClick={increment} class="px-3 py-1 border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 hover:bg-spaghetti-yellow/20 dark:hover:bg-spaghetti-yellow/20 blend text-spaghetti-brown">
|
||||
Increment
|
||||
</button>
|
||||
<div>
|
||||
<div class="text-spaghetti-brown">
|
||||
Clicked {count()} {count() === 1 ? "time" : "times"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5,11 +5,11 @@ const { pathname } = Astro.url
|
||||
const subpath = pathname.match(/[^/]+/g)
|
||||
---
|
||||
|
||||
<div id="drawer" class="fixed inset-0 h-0 z-40 overflow-hidden flex flex-col items-center justify-center md:hidden bg-neutral-100 dark:bg-neutral-900 transition-[height] duration-300 ease-in-out">
|
||||
<div id="drawer" class="fixed inset-0 h-0 z-40 overflow-hidden flex flex-col items-center justify-center md:hidden bg-spaghetti-cream dark:bg-black transition-[height] duration-300 ease-in-out">
|
||||
<nav class="flex flex-col items-center space-y-2">
|
||||
{
|
||||
LINKS.map((LINK) => (
|
||||
<a href={LINK.HREF} class={cn("flex items-center justify-center px-3 py-1 rounded-full", "text-current hover:text-black dark:hover:text-white", "hover:bg-black/5 dark:hover:bg-white/20", "transition-colors duration-300 ease-in-out", pathname === LINK.HREF || "/" + subpath?.[0] === LINK.HREF ? "pointer-events-none bg-black dark:bg-white text-white dark:text-black" : "")}>
|
||||
<a href={LINK.HREF} class={cn("flex items-center justify-center px-3 py-1 rounded-full", "text-current hover:text-black dark:hover:text-white", "hover:bg-spaghetti-yellow/20 dark:hover:bg-spaghetti-yellow/20", "transition-colors duration-300 ease-in-out", pathname === LINK.HREF || "/" + subpath?.[0] === LINK.HREF ? "pointer-events-none bg-spaghetti-red dark:bg-spaghetti-red text-spaghetti-brown dark:text-spaghetti-brown" : "")}>
|
||||
{LINK.TEXT}
|
||||
</a>
|
||||
))
|
||||
@@ -17,19 +17,19 @@ const subpath = pathname.match(/[^/]+/g)
|
||||
</nav>
|
||||
|
||||
<div class="flex gap-1 mt-5">
|
||||
<a href="/search" aria-label={`Search blog posts and projects on ${SITE.TITLE}`} class={cn("size-9 rounded-full p-2 items-center justify-center bg-transparent hover:bg-black/5 dark:hover:bg-white/20 stroke-current hover:stroke-black hover:dark:stroke-white border border-black/10 dark:border-white/25 transition-colors duration-300 ease-in-out", pathname === "/search" || "/" + subpath?.[0] === "search" ? "pointer-events-none bg-black dark:bg-white text-white dark:text-black" : "")}>
|
||||
<a href="/search" aria-label={`Search blog posts and projects on ${SITE.TITLE}`} class={cn("size-9 rounded-full p-2 items-center justify-center bg-transparent hover:bg-spaghetti-yellow/20 dark:hover:bg-spaghetti-yellow/20 stroke-current hover:stroke-black hover:dark:stroke-white border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 transition-colors duration-300 ease-in-out", pathname === "/search" || "/" + subpath?.[0] === "search" ? "pointer-events-none bg-spaghetti-red dark:bg-spaghetti-red text-white dark:text-white" : "")}>
|
||||
<svg class="size-full">
|
||||
<use href="/ui.svg#search"></use>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="/rss.xml" target="_blank" aria-label={`Rss feed for ${SITE.TITLE}`} class="size-9 rounded-full p-2 items-center justify-center bg-transparent hover:bg-black/5 dark:hover:bg-white/20 stroke-current hover:stroke-black hover:dark:stroke-white border border-black/10 dark:border-white/25 transition-colors duration-300 ease-in-out">
|
||||
<a href="/rss.xml" target="_blank" aria-label={`Rss feed for ${SITE.TITLE}`} class="size-9 rounded-full p-2 items-center justify-center bg-transparent hover:bg-spaghetti-yellow/20 dark:hover:bg-spaghetti-yellow/20 stroke-current hover:stroke-black hover:dark:stroke-white border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 transition-colors duration-300 ease-in-out">
|
||||
<svg class="size-full">
|
||||
<use href="/ui.svg#rss"></use>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<button id="drawer-theme-button" aria-label={`Toggle light and dark theme`} class="size-9 rounded-full p-2 items-center justify-center bg-transparent hover:bg-black/5 dark:hover:bg-white/20 stroke-current hover:stroke-black hover:dark:stroke-white border border-black/10 dark:border-white/25 transition-colors duration-300 ease-in-out">
|
||||
<button id="drawer-theme-button" aria-label={`Toggle light and dark theme`} class="size-9 rounded-full p-2 items-center justify-center bg-transparent hover:bg-spaghetti-yellow/20 dark:hover:bg-spaghetti-yellow/20 stroke-current hover:stroke-black hover:dark:stroke-white border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 transition-colors duration-300 ease-in-out">
|
||||
<svg class="block dark:hidden size-full">
|
||||
<use href="/ui.svg#sun"></use>
|
||||
</svg>
|
||||
@@ -44,4 +44,4 @@ const subpath = pathname.match(/[^/]+/g)
|
||||
#drawer.open {
|
||||
@apply h-full;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@@ -48,15 +48,15 @@ import Container from "@components/Container.astro"
|
||||
<div class="h-full grid grid-cols-1 sm:grid-cols-2 gap-3">
|
||||
<div class="order-2 sm:order-1 flex flex-col items-center justify-center sm:items-start">
|
||||
<div class="legal">
|
||||
<a href="/legal/terms" class="text-current hover:text-black dark:hover:text-white transition-colors duration-300 ease-in-out">
|
||||
<a href="/legal/terms" class="text-spaghetti-red hover:text-spaghetti-brown dark:hover:text-spaghetti-brown transition-colors duration-300 ease-in-out">
|
||||
Terms
|
||||
</a> |
|
||||
<a href="/legal/privacy" class="text-current hover:text-black dark:hover:text-white transition-colors duration-300 ease-in-out">
|
||||
<a href="/legal/privacy" class="text-spaghetti-red hover:text-spaghetti-brown dark:hover:text-spaghetti-brown transition-colors duration-300 ease-in-out">
|
||||
Privacy
|
||||
</a>
|
||||
</div>
|
||||
<div class="text-sm mt-2">
|
||||
© 2024 | All rights reserved
|
||||
<div class="text-sm mt-2 text-spaghetti-brown">
|
||||
© {new Date().getFullYear()} | All rights reserved
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -101,4 +101,4 @@ import Container from "@components/Container.astro"
|
||||
|
||||
document.addEventListener("astro:after-swap", inintializeBackToTop)
|
||||
inintializeBackToTop()
|
||||
</script>
|
||||
</script>
|
||||
@@ -10,7 +10,7 @@ import Container from "@components/Container.astro"
|
||||
<Container size="md">
|
||||
<div class="relative h-full w-full">
|
||||
<div class="absolute left-0 top-1/2 -translate-y-1/2 flex gap-1 font-semibold">
|
||||
<a href="/" class="flex gap-1 text-current hover:text-black dark:hover:text-white transition-colors duration-300 ease-in-out">
|
||||
<a href="/" class="flex gap-1 text-current hover:text-spaghetti-brown dark:hover:text-spaghetti-brown transition-colors duration-300 ease-in-out">
|
||||
<svg class="size-6 fill-current">
|
||||
<use href="/brand.svg#brand"></use>
|
||||
</svg>
|
||||
@@ -24,7 +24,7 @@ import Container from "@components/Container.astro"
|
||||
<nav class="hidden md:flex items-center justify-center text-sm gap-1">
|
||||
{
|
||||
LINKS.map((LINK) => (
|
||||
<a href={LINK.HREF} class={cn("h-8 rounded-full px-3 text-current", "flex items-center justify-center", "transition-colors duration-300 ease-in-out", pathname === LINK.HREF || "/" + subpath?.[0] === LINK.HREF ? "bg-black dark:bg-white text-white dark:text-black" : "hover:bg-black/5 dark:hover:bg-white/20 hover:text-black dark:hover:text-white")}>
|
||||
<a href={LINK.HREF} class={cn("h-8 rounded-full px-3 text-current", "flex items-center justify-center", "transition-colors duration-300 ease-in-out", pathname === LINK.HREF || "/" + subpath?.[0] === LINK.HREF ? "bg-spaghetti-red dark:bg-spaghetti-red text-spaghetti-brown dark:text-spaghetti-brown" : "hover:bg-black/5 dark:hover:bg-white/20 hover:text-black dark:hover:text-white")}>
|
||||
{LINK.TEXT}
|
||||
</a>
|
||||
))
|
||||
@@ -33,19 +33,19 @@ import Container from "@components/Container.astro"
|
||||
</div>
|
||||
|
||||
<div class="buttons absolute right-0 top-1/2 -translate-y-1/2 flex gap-1">
|
||||
<a href="/search" aria-label={`Search blog posts and projects on ${SITE.TITLE}`} class={cn("hidden md:flex", "size-9 rounded-full p-2 items-center justify-center", "bg-transparent hover:bg-black/5 dark:hover:bg-white/20", "stroke-current hover:stroke-black hover:dark:stroke-white", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out", pathname === "/search" || "/" + subpath?.[0] === "/search" ? "pointer-events-none bg-black dark:bg-white text-white dark:text-black" : "")}>
|
||||
<a href="/search" aria-label={`Search blog posts and projects on ${SITE.TITLE}`} class={cn("hidden md:flex", "size-9 rounded-full p-2 items-center justify-center", "bg-transparent hover:bg-spaghetti-yellow dark:hover:bg-spaghetti-yellow", "stroke-current hover:stroke-black hover:dark:stroke-white", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out", pathname === "/search" || "/" + subpath?.[0] === "/search" ? "pointer-events-none bg-spaghetti-red dark:bg-spaghetti-red text-spaghetti-brown dark:text-spaghetti-brown" : "")}>
|
||||
<svg class="size-full">
|
||||
<use href="/ui.svg#search"></use>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="/rss.xml" target="_blank" aria-label={`Rss feed for ${SITE.TITLE}`} class={cn("hidden md:flex", "size-9 rounded-full p-2 items-center justify-center", "bg-transparent hover:bg-black/5 dark:hover:bg-white/20", "stroke-current hover:stroke-black hover:dark:stroke-white", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out")}>
|
||||
<a href="/rss.xml" target="_blank" aria-label={`Rss feed for ${SITE.TITLE}`} class={cn("hidden md:flex", "size-9 rounded-full p-2 items-center justify-center", "bg-transparent hover:bg-spaghetti-yellow dark:hover:bg-spaghetti-yellow", "stroke-current hover:stroke-black hover:dark:stroke-white", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out")}>
|
||||
<svg class="size-full">
|
||||
<use href="/ui.svg#rss"></use>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<button id="header-theme-button" aria-label={`Toggle light and dark theme`} class={cn("hidden md:flex", "size-9 rounded-full p-2 items-center justify-center", "bg-transparent hover:bg-black/5 dark:hover:bg-white/20", "stroke-current hover:stroke-black hover:dark:stroke-white", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out")}>
|
||||
<button id="header-theme-button" aria-label={`Toggle light and dark theme`} class={cn("hidden md:flex", "size-9 rounded-full p-2 items-center justify-center", "bg-transparent hover:bg-spaghetti-yellow dark:hover:bg-spaghetti-yellow", "stroke-current hover:stroke-black hover:dark:stroke-white", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out")}>
|
||||
<svg class="size-full block dark:hidden">
|
||||
<use href="/ui.svg#sun"></use>
|
||||
</svg>
|
||||
@@ -54,7 +54,7 @@ import Container from "@components/Container.astro"
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<button id="header-drawer-button" aria-label={`Toggle drawer open and closed`} class={cn("flex md:hidden", "size-9 rounded-full p-2 items-center justify-center", "bg-transparent hover:bg-black/5 dark:hover:bg-white/20", "stroke-current hover:stroke-black hover:dark:stroke-white", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out")}>
|
||||
<button id="header-drawer-button" aria-label={`Toggle drawer open and closed`} class={cn("flex md:hidden", "size-9 rounded-full p-2 items-center justify-center", "bg-spaghetti-red dark:bg-spaghetti-red", "stroke-current hover:stroke-black hover:dark:stroke-white text-spaghetti-brown dark:text-spaghetti-brown", "border border-black/10 dark:border-white/25", "transition-colors duration-300 ease-in-out")}>
|
||||
<svg id="drawer-open" class="size-full">
|
||||
<use href="/ui.svg#menu"></use>
|
||||
</svg>
|
||||
|
||||
@@ -35,13 +35,13 @@ export default function Projects({ data, tags }: Props) {
|
||||
<div class="grid grid-cols-1 sm:grid-cols-3 gap-6">
|
||||
<div class="col-span-3 sm:col-span-1">
|
||||
<div class="sticky top-24">
|
||||
<div class="text-sm font-semibold uppercase mb-2 text-black dark:text-white">Filter</div>
|
||||
<div class="text-sm font-semibold uppercase mb-2 text-spaghetti-brown">Filter</div>
|
||||
<ul class="flex flex-wrap sm:flex-col gap-1.5">
|
||||
<For each={tags}>
|
||||
{(tag) => (
|
||||
<li>
|
||||
<button onClick={() => toggleTag(tag)} class={cn("w-full px-2 py-1 rounded", "whitespace-nowrap overflow-hidden overflow-ellipsis", "flex gap-2 items-center", "bg-black/5 dark:bg-white/10", "hover:bg-black/10 hover:dark:bg-white/15", "transition-colors duration-300 ease-in-out", filter().has(tag) && "text-black dark:text-white")}>
|
||||
<svg class={cn("size-5 fill-black/50 dark:fill-white/50", "transition-colors duration-300 ease-in-out", filter().has(tag) && "fill-black dark:fill-white")}>
|
||||
<button onClick={() => toggleTag(tag)} class={cn("w-full px-2 py-1 rounded", "whitespace-nowrap overflow-hidden overflow-ellipsis", "flex gap-2 items-center", "bg-spaghetti-yellow/20 dark:bg-spaghetti-yellow/20", "hover:bg-spaghetti-yellow/30 hover:dark:bg-spaghetti-yellow/30", "transition-colors duration-300 ease-in-out", filter().has(tag) && "text-spaghetti-brown dark:text-spaghetti-brown")}>
|
||||
<svg class={cn("size-5 fill-spaghetti-brown/50 dark:fill-spaghetti-brown/50", "transition-colors duration-300 ease-in-out", filter().has(tag) && "fill-spaghetti-brown dark:fill-spaghetti-brown")}>
|
||||
<use href={`/ui.svg#square`} class={cn(!filter().has(tag) ? "block" : "hidden")} />
|
||||
<use href={`/ui.svg#square-check`} class={cn(filter().has(tag) ? "block" : "hidden")} />
|
||||
</svg>
|
||||
|
||||
@@ -34,7 +34,7 @@ export default function Search({data}: Props) {
|
||||
return (
|
||||
<div class="flex flex-col">
|
||||
<div class="relative">
|
||||
<input name="search" type="text" value={query()} onInput={onInput} autocomplete="off" spellcheck={false} placeholder="What are you looking for?" class="w-full px-2.5 py-1.5 pl-10 rounded outline-none text-black dark:text-white bg-black/5 dark:bg-white/15 border border-black/10 dark:border-white/20 focus:border-black focus:dark:border-white"/>
|
||||
<input name="search" type="text" value={query()} onInput={onInput} autocomplete="off" spellcheck={false} placeholder="What are you looking for?" class="w-full px-2.5 py-1.5 pl-10 rounded outline-none text-spaghetti-brown bg-spaghetti-yellow/20 dark:bg-spaghetti-yellow/20 border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 focus:border-spaghetti-red focus:dark:border-spaghetti-red"/>
|
||||
<svg class="absolute size-6 left-1.5 top-1/2 -translate-y-1/2 stroke-current">
|
||||
<use href={`/ui.svg#search`}/>
|
||||
</svg>
|
||||
@@ -55,4 +55,4 @@ export default function Search({data}: Props) {
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -8,11 +8,11 @@ type Props = {
|
||||
const { text, icon, href } = Astro.props
|
||||
---
|
||||
|
||||
<a href={href} target="_blank" class="w-fit px-3 py-2 group rounded border flex gap-2 items-center border-neutral-200 dark:border-neutral-700 hover:bg-neutral-100 hover:dark:bg-neutral-800 blend">
|
||||
<a href={href} target="_blank" class="w-fit px-3 py-2 group rounded border flex gap-2 items-center border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 hover:bg-spaghetti-yellow/20 hover:dark:bg-spaghetti-yellow/20 blend">
|
||||
<svg height={20} width={20}>
|
||||
<use href={`/stack.svg#${icon}`}></use>
|
||||
</svg>
|
||||
<span class="text-sm capitalize text-neutral-500 dark:text-neutral-400 group-hover:text-black group-hover:dark:text-white blend">
|
||||
<span class="text-sm capitalize text-spaghetti-brown group-hover:text-spaghetti-brown blend">
|
||||
{text}
|
||||
</span>
|
||||
</a>
|
||||
</a>
|
||||
@@ -0,0 +1,134 @@
|
||||
---
|
||||
title: "Spaghet.io Website Improvements: A Comprehensive UI/UX Overhaul"
|
||||
date: 2025-08-13
|
||||
summary: "Detailed summary of all the UI/UX improvements made to the Spaghet.io website, including dark mode fixes, theme enhancements, and component updates."
|
||||
tags: [website, ui, ux, improvements, spaghetti]
|
||||
draft: false
|
||||
---
|
||||
|
||||
## Introduction
|
||||
|
||||
This post documents a comprehensive UI/UX overhaul of my personal website, Spaghet.io. The changes were focused on improving visual consistency, fixing dark mode conflicts, and enhancing the overall user experience while maintaining our signature spaghetti-themed aesthetic.
|
||||
|
||||
## Goal of This Session
|
||||
|
||||
The primary objective was to enhance the website's visual design by:
|
||||
1. Resolving dark mode conflicts with prose elements
|
||||
2. Ensuring consistent theme application across all components
|
||||
3. Fixing text color issues in selected menu items and buttons
|
||||
4. Making sure the spaghetti theme is consistently applied throughout the site
|
||||
|
||||
## Key Improvements Made
|
||||
|
||||
### 1. Fixed Dark Mode Conflicts with tw-prose Classes
|
||||
|
||||
**Problem**: The website had conflicts where prose elements (blog content) were not respecting our custom theme colors in dark mode, resulting in poor readability.
|
||||
|
||||
**Solution**:
|
||||
- Updated `tailwind.config.mjs` to properly customize typography styles
|
||||
- Added CSS overrides in `global.css` to ensure spaghetti-themed colors are applied consistently in prose elements
|
||||
|
||||
### 2. Enhanced Theme Consistency Across Components
|
||||
|
||||
**Problem**: Various components had inconsistent color usage, particularly in text and hover states.
|
||||
|
||||
**Solution**:
|
||||
- Updated Header component to use proper text-spaghetti-brown colors for hover states
|
||||
- Fixed Footer component with consistent text-spaghetti-brown colors for legal links
|
||||
- Applied consistent theme classes throughout ArrowCard, Blog, Projects, StackCard, Search, Counter, and Drawer components
|
||||
|
||||
### 3. Implemented Spaghetti-Themed Color Palette
|
||||
|
||||
**Color Scheme**:
|
||||
- Main color: `#FDE68A` (spaghetti-yellow)
|
||||
- Accent color: `#FECACA` (spaghetti-red)
|
||||
- Background: `#FEF3C7` (spaghetti-cream)
|
||||
- Text: `#78350F` (spaghetti-brown)
|
||||
|
||||
### 4. Fixed Selected Menu Items and Buttons
|
||||
|
||||
**Problem**: Selected menu items and buttons had light red backgrounds with white text, which was inconsistent with our theme.
|
||||
|
||||
**Solution**:
|
||||
- Updated Header navigation items to use `text-spaghetti-brown` instead of `text-white` for selected states
|
||||
- Updated Drawer navigation items to use `text-spaghetti-brown` instead of `text-white` for selected states
|
||||
- Updated Search button in header to use `text-spaghetti-brown` instead of `text-white` for selected states
|
||||
- Updated mobile drawer button to use `text-spaghetti-brown` instead of `text-white` for selected states
|
||||
|
||||
### 5. Enhanced Hero Section with Spaghetti Theme
|
||||
|
||||
**Improvements**:
|
||||
- Applied consistent text-spaghetti-brown colors throughout the hero section
|
||||
- Styled call-to-action buttons with spaghetti-red background and spaghetti-yellow borders
|
||||
- Maintained consistent theme application throughout the entire hero section
|
||||
|
||||
## Technical Implementation Details
|
||||
|
||||
### CSS Customizations
|
||||
|
||||
The following changes were made to `src/styles/global.css`:
|
||||
|
||||
```css
|
||||
/* Override default prose styles to respect our theme */
|
||||
.prose {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
.prose a {
|
||||
color: var(--spaghetti-red);
|
||||
}
|
||||
|
||||
.prose h1,
|
||||
.prose h2,
|
||||
.prose h3,
|
||||
.prose h4,
|
||||
.prose h5,
|
||||
.prose h6 {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
/* Ensure dark mode respects our theme */
|
||||
.dark .prose {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
.dark .prose a {
|
||||
color: var(--spaghetti-red);
|
||||
}
|
||||
```
|
||||
|
||||
### Component Updates
|
||||
|
||||
All affected components were updated to use:
|
||||
- `text-spaghetti-brown` for text content
|
||||
- `bg-spaghetti-red` for selected states
|
||||
- `border-spaghetti-yellow/50` for borders
|
||||
- Consistent hover effects with appropriate color transitions
|
||||
|
||||
## Before and After Comparison
|
||||
|
||||
### Navigation Menu
|
||||
**Before**: Selected items had light red background (`bg-spaghetti-red`) with white text (`text-white`)
|
||||
**After**: Selected items have light red background (`bg-spaghetti-red`) with dark brown text (`text-spaghetti-brown`)
|
||||
|
||||
### Prose Elements
|
||||
**Before**: Default Tailwind prose styles were overriding our theme colors in dark mode
|
||||
**After**: Custom CSS ensures consistent spaghetti-themed colors across all content
|
||||
|
||||
### Hero Section
|
||||
**Before**: Inconsistent color usage throughout the hero section
|
||||
**After**: Cohesive spaghetti theme with consistent text-spaghetti-brown colors for all content
|
||||
|
||||
## Future Improvements
|
||||
|
||||
While these changes have significantly improved the website's UI/UX, there are always opportunities for further enhancement:
|
||||
1. Implement more sophisticated animations and transitions
|
||||
2. Add more interactive elements with our spaghetti theme
|
||||
3. Continue refining the dark mode experience
|
||||
4. Explore additional theme variations that maintain the spaghetti aesthetic
|
||||
|
||||
## Conclusion
|
||||
|
||||
These improvements represent a significant step forward in creating a consistent, visually appealing, and user-friendly website that truly embodies the spirit of spaghetti - structured, well-organized, and satisfying to use. The site now maintains a cohesive design language while providing an enhanced user experience across all device sizes and themes.
|
||||
|
||||
The changes ensure that our signature spaghetti theme is consistently applied throughout the entire website, from navigation elements to content presentation, creating a unified and memorable user experience.
|
||||
@@ -0,0 +1,192 @@
|
||||
---
|
||||
title: "Spaghet.io Website"
|
||||
date: 2025-08-13
|
||||
summary: "A comprehensive overview of the Spaghet.io personal website, detailing its features, design elements, and technical implementation."
|
||||
tags: [website, portfolio, personal, astro, spaghetti]
|
||||
draft: false
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Spaghet.io is my personal website that showcases my professional work, blog posts, projects, and expertise in technology and innovation. The site embodies my passion for spaghetti, noodles, and all things tech through its design and functionality.
|
||||
|
||||
## Key Features
|
||||
|
||||
### 1. Responsive Design
|
||||
|
||||
The website features a fully responsive design that works seamlessly across:
|
||||
- Desktop browsers
|
||||
- Tablets
|
||||
- Mobile devices
|
||||
- All screen sizes
|
||||
|
||||
### 2. Dark Mode Support
|
||||
|
||||
**Dual Theme Implementation:**
|
||||
- Light mode with warm, spaghetti-themed colors
|
||||
- Dark mode with complementary dark theme that maintains visual consistency
|
||||
- Smooth transitions between themes
|
||||
- Automatic theme detection based on system preferences
|
||||
|
||||
### 3. Spaghetti-Themed Color Palette
|
||||
|
||||
**Primary Colors:**
|
||||
- **Spaghetti Yellow**: `#FDE68A` - Used for highlights and interactive elements
|
||||
- **Spaghetti Red**: `#FECACA` - Used for accents and important actions
|
||||
- **Spaghetti Cream**: `#FEF3C7` - Used for backgrounds and subtle elements
|
||||
- **Spaghetti Brown**: `#78350F` - Used for text content and primary elements
|
||||
|
||||
### 4. Interactive UI Components
|
||||
|
||||
**Navigation Elements:**
|
||||
- Fixed header with smooth scrolling
|
||||
- Mobile-friendly drawer navigation
|
||||
- Hover effects with color transitions
|
||||
- Selected state indicators with consistent theme colors
|
||||
|
||||
**Content Presentation:**
|
||||
- Blog post cards with hover animations
|
||||
- Project showcase with filtering capabilities
|
||||
- Tag-based organization system
|
||||
- Responsive tables and lists
|
||||
|
||||
### 5. Technical Implementation
|
||||
|
||||
**Built With:**
|
||||
- **Astro**: Static site generator for optimal performance
|
||||
- **SolidJS**: For reactive UI components
|
||||
- **Tailwind CSS**: Utility-first CSS framework
|
||||
- **TypeScript**: Type safety and enhanced development experience
|
||||
- **Markdown**: Content management system
|
||||
|
||||
### 6. Performance Optimizations
|
||||
|
||||
**Optimizations Implemented:**
|
||||
- Lazy loading of images and components
|
||||
- Efficient CSS with minimal bundle size
|
||||
- Optimized JavaScript with tree-shaking
|
||||
- Responsive image handling
|
||||
- Minimal third-party dependencies
|
||||
|
||||
## UI Components
|
||||
|
||||
### Header & Navigation
|
||||
- Fixed position header with brand logo
|
||||
- Desktop navigation with hover effects
|
||||
- Mobile drawer menu with hamburger icon
|
||||
- Search functionality
|
||||
- Theme toggle button
|
||||
|
||||
### Hero Section
|
||||
- Animated background elements
|
||||
- Welcome message with personal introduction
|
||||
- Call-to-action buttons styled with spaghetti theme
|
||||
- Responsive text sizing for all devices
|
||||
|
||||
### Blog Section
|
||||
- Recent posts preview
|
||||
- Filterable by tags
|
||||
- Card-based layout with hover effects
|
||||
- Date formatting and categorization
|
||||
|
||||
### Projects Section
|
||||
- Project showcase with filtering capabilities
|
||||
- Tag-based organization system
|
||||
- Responsive grid layout
|
||||
- Detailed project cards with descriptions
|
||||
|
||||
### Footer
|
||||
- Copyright information with current year
|
||||
- Legal links (Privacy Policy, Terms of Service)
|
||||
- Social media integration
|
||||
- Consistent spaghetti-themed styling
|
||||
|
||||
## Design Elements
|
||||
|
||||
### Visual Theme
|
||||
The website maintains a consistent spaghetti theme throughout:
|
||||
- Warm color scheme that evokes feelings of comfort and satisfaction
|
||||
- Clean, organized layout that mirrors the structure of good spaghetti
|
||||
- Subtle animations and transitions for enhanced user experience
|
||||
- Proper contrast ratios for accessibility
|
||||
|
||||
### Typography
|
||||
- Clear hierarchy with appropriate font weights
|
||||
- Responsive text sizing
|
||||
- Consistent spacing and alignment
|
||||
- Readable fonts optimized for both light and dark modes
|
||||
|
||||
### Layout Structure
|
||||
- Grid-based responsive layout
|
||||
- Consistent padding and margins
|
||||
- Visual balance across all sections
|
||||
- Proper use of white space
|
||||
|
||||
## Technical Architecture
|
||||
|
||||
### Component Structure
|
||||
The site uses a modular component architecture:
|
||||
- **Header** - Navigation and branding
|
||||
- **Footer** - Site information and links
|
||||
- **Blog** - Content display with filtering
|
||||
- **Projects** - Portfolio showcase
|
||||
- **ArrowCard** - Generic card component for content
|
||||
- **StackCard** - Technology stack display
|
||||
- **Search** - Search functionality
|
||||
|
||||
### Theme System
|
||||
The theme system supports:
|
||||
- CSS variables for consistent color management
|
||||
- Dark mode detection and switching
|
||||
- Theme persistence across sessions
|
||||
- Smooth transitions between themes
|
||||
|
||||
### Content Management
|
||||
Content is managed through:
|
||||
- Markdown files for blog posts and projects
|
||||
- Astro's content collections
|
||||
- Frontmatter metadata for categorization
|
||||
- Template-based generation system
|
||||
|
||||
## Responsive Features
|
||||
|
||||
### Mobile Experience
|
||||
- Touch-friendly navigation elements
|
||||
- Optimized touch targets
|
||||
- Collapsible sections for smaller screens
|
||||
- Performance optimized for mobile devices
|
||||
|
||||
### Tablet Experience
|
||||
- Adaptive layout adjustments
|
||||
- Intermediate view sizes
|
||||
- Maintained usability across screen sizes
|
||||
|
||||
### Desktop Experience
|
||||
- Full-width content presentation
|
||||
- Advanced hover effects and animations
|
||||
- Multi-column layouts where appropriate
|
||||
|
||||
## Accessibility
|
||||
|
||||
The website includes accessibility features:
|
||||
- Semantic HTML structure
|
||||
- Proper contrast ratios for text
|
||||
- Keyboard navigation support
|
||||
- Screen reader compatibility
|
||||
- Responsive design for all devices
|
||||
|
||||
## Future Enhancements
|
||||
|
||||
Potential future improvements include:
|
||||
1. Enhanced animation system with more sophisticated transitions
|
||||
2. Additional interactive elements that reflect the spaghetti theme
|
||||
3. More advanced filtering and search capabilities
|
||||
4. Integration with external APIs for dynamic content
|
||||
5. Expanded multimedia presentation options
|
||||
6. Improved social sharing features
|
||||
|
||||
## Conclusion
|
||||
|
||||
Spaghet.io represents a cohesive blend of technical excellence and thematic consistency. The site successfully combines modern web technologies with a playful yet professional spaghetti-themed aesthetic to create an engaging user experience that reflects my passion for both technology and culinary arts.
|
||||
|
||||
The implementation maintains the structure and organization that makes good spaghetti satisfying to use, while providing an enjoyable browsing experience across all devices and themes.
|
||||
@@ -38,16 +38,16 @@ const repoUrl = collection === "projects" ? data.repoUrl : null
|
||||
{readingTime(body)}
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="text-3xl font-semibold text-black dark:text-white mt-2">
|
||||
<h1 class="text-3xl font-semibold text-spaghetti-brown dark:text-spaghetti-brown mt-2">
|
||||
{title}
|
||||
</h1>
|
||||
<div class="mt-1">
|
||||
<div class="mt-1 text-spaghetti-brown dark:text-spaghetti-brown">
|
||||
{summary}
|
||||
</div>
|
||||
{(demoUrl || repoUrl) &&
|
||||
<div class="mt-4 flex flex-wrap gap-2">
|
||||
{demoUrl &&
|
||||
<a href={demoUrl} target="_blank" class="group flex gap-2 items-center px-3 py-1.5 truncate rounded text-xs md:text-sm lg:text-base border border-black/25 dark:border-white/25 hover:bg-black/5 hover:dark:bg-white/15 blend">
|
||||
<a href={demoUrl} target="_blank" class="group flex gap-2 items-center px-3 py-1.5 truncate rounded text-xs md:text-sm lg:text-base border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 hover:bg-spaghetti-yellow/20 hover:dark:bg-spaghetti-yellow/20 blend text-spaghetti-brown dark:text-spaghetti-brown">
|
||||
<svg class="size-4">
|
||||
<use href="/ui.svg#globe" class="fill-current group-hover:fill-black group-hover:dark:fill-white blend"/>
|
||||
</svg>
|
||||
@@ -57,7 +57,7 @@ const repoUrl = collection === "projects" ? data.repoUrl : null
|
||||
</a>
|
||||
}
|
||||
{repoUrl &&
|
||||
<a href={repoUrl} target="_blank" class="group flex gap-2 items-center px-3 py-1.5 truncate rounded text-xs md:text-sm lg:text-base border border-black/25 dark:border-white/25 hover:bg-black/5 hover:dark:bg-white/15 blend">
|
||||
<a href={repoUrl} target="_blank" class="group flex gap-2 items-center px-3 py-1.5 truncate rounded text-xs md:text-sm lg:text-base border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 hover:bg-spaghetti-yellow/20 hover:dark:bg-spaghetti-yellow/20 blend text-spaghetti-brown dark:text-spaghetti-brown">
|
||||
<svg class="size-4">
|
||||
<use href="/ui.svg#link" class="fill-current group-hover:fill-black group-hover:dark:fill-white blend"/>
|
||||
</svg>
|
||||
|
||||
@@ -79,26 +79,26 @@ const stack = [
|
||||
<div class="animate absolute h-full w-full flex items-center justify-center">
|
||||
<div class='relative w-full h-full flex items-center justify-center'>
|
||||
<div class='p-5 text-center'>
|
||||
<p class='animated text-lg md:text-xl lg:text-2xl font-semibold opacity-75'>
|
||||
<p class='animated text-lg md:text-xl lg:text-2xl font-semibold opacity-75 text-spaghetti-brown'>
|
||||
Hello, I am Quinn Marvin
|
||||
</p>
|
||||
<p class='animated text-2xl md:text-3xl lg:text-4xl font-bold uppercase text-black dark:text-white'>
|
||||
<p class='animated text-2xl md:text-3xl lg:text-4xl font-bold uppercase text-spaghetti-brown'>
|
||||
CEO / Creator / Innovator
|
||||
</p>
|
||||
<p class='animated text-sm md:text-base lg:text-lg opacity-75'>
|
||||
<p class='animated text-sm md:text-base lg:text-lg opacity-75 text-spaghetti-brown'>
|
||||
Passionate about spaghetti, noodles and all things tech.
|
||||
</p>
|
||||
<p class='animated text-sm md:text-base lg:text-lg opacity-75 mt-2'>
|
||||
<p class='animated text-sm md:text-base lg:text-lg opacity-75 mt-2 text-spaghetti-brown'>
|
||||
Running 2 Unraid servers with Docker container ecosystem
|
||||
</p>
|
||||
<p class='animated text-sm md:text-base lg:text-lg opacity-75 mt-1'>
|
||||
<p class='animated text-sm md:text-base lg:text-lg opacity-75 mt-1 text-spaghetti-brown'>
|
||||
Supporting PostgreSQL, MariaDB, MySQL, MongoDB, Redis, and Minio
|
||||
</p>
|
||||
<div id="ctaButtons" class='animated flex flex-wrap gap-4 justify-center mt-5'>
|
||||
<a href='/blog' class='py-2 px-4 rounded truncate text-xs md:text-sm lg:text-base bg-black dark:bg-white text-white dark:text-black hover:opacity-75 blend'>
|
||||
<a href='/blog' class='py-2 px-4 rounded truncate text-xs md:text-sm lg:text-base bg-spaghetti-red dark:bg-spaghetti-red text-white dark:text-white hover:opacity-75 blend'>
|
||||
Read my blog
|
||||
</a>
|
||||
<a href='/work' class='py-2 px-4 truncate rounded text-xs md:text-sm lg:text-base border border-black/25 dark:border-white/25 hover:bg-black/5 hover:dark:bg-white/15 blend'>
|
||||
<a href='/work' class='py-2 px-4 truncate rounded text-xs md:text-sm lg:text-base border border-spaghetti-yellow/50 dark:border-spaghetti-yellow/50 hover:bg-spaghetti-yellow/20 hover:dark:bg-spaghetti-yellow/20 blend text-spaghetti-brown dark:text-spaghetti-brown'>
|
||||
View my work
|
||||
</a>
|
||||
</div>
|
||||
|
||||
+66
-2
@@ -4,6 +4,11 @@
|
||||
|
||||
:root{
|
||||
--copy-btn-margin:10px;
|
||||
/* Pastel Palette Colors for Spaghetti Theme */
|
||||
--spaghetti-yellow: #FDE68A;
|
||||
--spaghetti-red: #FECACA;
|
||||
--spaghetti-cream: #FEF3C7;
|
||||
--spaghetti-brown: #78350F;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
@@ -27,7 +32,7 @@
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
color-scheme: light;
|
||||
background-color: white;
|
||||
background-color: var(--spaghetti-cream);
|
||||
font-family: "Atkinson", sans-serif;
|
||||
|
||||
}
|
||||
@@ -37,15 +42,37 @@ html.dark {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
/* Apply pastel cream background to main content areas */
|
||||
main {
|
||||
@apply flex flex-col flex-1 bg-spaghetti-cream dark:bg-black;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
@apply h-full w-full antialiased;
|
||||
@apply bg-white dark:bg-black;
|
||||
@apply text-black/75 dark:text-white/75;
|
||||
}
|
||||
|
||||
/* Pastel Theme Colors */
|
||||
.text-spaghetti-yellow {
|
||||
color: var(--spaghetti-yellow);
|
||||
}
|
||||
|
||||
.text-spaghetti-red {
|
||||
color: var(--spaghetti-red);
|
||||
}
|
||||
|
||||
.text-spaghetti-brown {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
.bg-spaghetti-cream {
|
||||
background-color: var(--spaghetti-cream);
|
||||
}
|
||||
|
||||
body {
|
||||
@apply relative flex flex-col;
|
||||
@apply bg-white dark:bg-black;
|
||||
}
|
||||
|
||||
main {
|
||||
@@ -69,6 +96,43 @@ header.scrolled {
|
||||
|
||||
article {
|
||||
@apply prose dark:prose-invert max-w-full pb-12;
|
||||
/* Ensure our theme colors are applied properly in prose */
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
/* Override default prose styles that conflict with our theme */
|
||||
.prose {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
.prose a {
|
||||
color: var(--spaghetti-red);
|
||||
}
|
||||
|
||||
.prose h1,
|
||||
.prose h2,
|
||||
.prose h3,
|
||||
.prose h4,
|
||||
.prose h5,
|
||||
.prose h6 {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
.prose code {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
.prose pre {
|
||||
background-color: var(--spaghetti-cream);
|
||||
}
|
||||
|
||||
.prose blockquote {
|
||||
border-left-color: var(--spaghetti-yellow);
|
||||
}
|
||||
|
||||
.prose th,
|
||||
.prose td {
|
||||
color: var(--spaghetti-brown);
|
||||
}
|
||||
|
||||
.page-heading {
|
||||
|
||||
@@ -13,8 +13,44 @@ export default {
|
||||
DEFAULT: {
|
||||
css: {
|
||||
maxWidth: "full",
|
||||
"--tw-prose-body": "var(--spaghetti-brown)",
|
||||
"--tw-prose-headings": "var(--spaghetti-brown)",
|
||||
"--tw-prose-lead": "var(--spaghetti-brown)",
|
||||
"--tw-prose-links": "var(--spaghetti-red)",
|
||||
"--tw-prose-bold": "var(--spaghetti-brown)",
|
||||
"--tw-prose-counters": "var(--spaghetti-brown)",
|
||||
"--tw-prose-bullets": "var(--spaghetti-brown)",
|
||||
"--tw-prose-hr": "var(--spaghetti-brown)",
|
||||
"--tw-prose-quotes": "var(--spaghetti-brown)",
|
||||
"--tw-prose-quote-border": "var(--spaghetti-yellow)",
|
||||
"--tw-prose-captions": "var(--spaghetti-brown)",
|
||||
"--tw-prose-code": "var(--spaghetti-brown)",
|
||||
"--tw-prose-pre-code": "var(--spaghetti-brown)",
|
||||
"--tw-prose-pre-bg": "var(--spaghetti-cream)",
|
||||
"--tw-prose-th-borders": "var(--spaghetti-brown)",
|
||||
"--tw-prose-td-borders": "var(--spaghetti-brown)",
|
||||
},
|
||||
},
|
||||
dark: {
|
||||
css: {
|
||||
"--tw-prose-body": "var(--spaghetti-brown)",
|
||||
"--tw-prose-headings": "var(--spaghetti-brown)",
|
||||
"--tw-prose-lead": "var(--spaghetti-brown)",
|
||||
"--tw-prose-links": "var(--spaghetti-red)",
|
||||
"--tw-prose-bold": "var(--spaghetti-brown)",
|
||||
"--tw-prose-counters": "var(--spaghetti-brown)",
|
||||
"--tw-prose-bullets": "var(--spaghetti-brown)",
|
||||
"--tw-prose-hr": "var(--spaghetti-brown)",
|
||||
"--tw-prose-quotes": "var(--spaghetti-brown)",
|
||||
"--tw-prose-quote-border": "var(--spaghetti-yellow)",
|
||||
"--tw-prose-captions": "var(--spaghetti-brown)",
|
||||
"--tw-prose-code": "var(--spaghetti-brown)",
|
||||
"--tw-prose-pre-code": "var(--spaghetti-brown)",
|
||||
"--tw-prose-pre-bg": "var(--spaghetti-cream)",
|
||||
"--tw-prose-th-borders": "var(--spaghetti-brown)",
|
||||
"--tw-prose-td-borders": "var(--spaghetti-brown)",
|
||||
},
|
||||
}
|
||||
},
|
||||
rotate: {
|
||||
"45": "45deg",
|
||||
@@ -55,6 +91,14 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
colors: {
|
||||
spaghetti: {
|
||||
yellow: "#FDE68A",
|
||||
red: "#FECACA",
|
||||
cream: "#FEF3C7",
|
||||
brown: "#78350F",
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
plugins: [require("@tailwindcss/typography")],
|
||||
|
||||
Reference in new issue
Block a user