slice 4: accent palette refinement — blue → teal
Replace the four accent-family hex codes site-wide with the teal palette (keeps the dark theme; only swaps the accent family, not the dark base): #3b82f6 (accent primary CTA) → #5B7C8D (teal) [839×] #2563eb (accent-dark / hover) → #4A6473 (darker teal) [44×] #60a5fa (info link, lighter) → #8FB0C3 (mid teal) [68×] #1e3a5f (accent-muted bg) → #2F4F5F (navy) [44×] tailwind.config.js tokens updated to match (accent/accent-dark/accent-muted). Sweep also covers tailwind.css. 108 files touched. The dark base (#0d0d0d, #111, #161616, #1a1a1a etc.) is intentionally untouched. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -64,7 +64,7 @@ export default async function FeaturedBento() {
|
||||
<h2 className="font-mono text-xs uppercase tracking-wider text-[#6b7280]">
|
||||
Featured · staff editorial
|
||||
</h2>
|
||||
<Link href="/news?category=Featured" className="text-[11px] font-mono text-[var(--color-text-info,#60a5fa)] hover:underline">
|
||||
<Link href="/news?category=Featured" className="text-[11px] font-mono text-[var(--color-text-info,#8FB0C3)] hover:underline">
|
||||
All featured →
|
||||
</Link>
|
||||
</div>
|
||||
@@ -72,7 +72,7 @@ export default async function FeaturedBento() {
|
||||
<div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
|
||||
<Link
|
||||
href={`/news/${hero.wp_slug}`}
|
||||
className="lg:col-span-2 group block rounded border border-[#252525] bg-[#0b0f17] overflow-hidden hover:border-[var(--color-text-info,#60a5fa)] transition-colors"
|
||||
className="lg:col-span-2 group block rounded border border-[#252525] bg-[#0b0f17] overflow-hidden hover:border-[var(--color-text-info,#8FB0C3)] transition-colors"
|
||||
>
|
||||
<div className="relative aspect-[16/9] bg-[#111]">
|
||||
<img
|
||||
@@ -81,7 +81,7 @@ export default async function FeaturedBento() {
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
<div className="absolute top-2 left-2 flex gap-1 text-[10px] font-mono">
|
||||
<span className="bg-[var(--color-text-info,#60a5fa)] text-black px-2 py-0.5 rounded uppercase tracking-wider font-semibold">
|
||||
<span className="bg-[var(--color-text-info,#8FB0C3)] text-black px-2 py-0.5 rounded uppercase tracking-wider font-semibold">
|
||||
Featured
|
||||
</span>
|
||||
<span className="bg-black/60 text-white px-2 py-0.5 rounded uppercase tracking-wider">
|
||||
@@ -90,7 +90,7 @@ export default async function FeaturedBento() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-5">
|
||||
<h3 className="font-serif text-2xl md:text-3xl leading-snug text-[#e5e7eb] group-hover:text-[var(--color-text-info,#60a5fa)]">
|
||||
<h3 className="font-serif text-2xl md:text-3xl leading-snug text-[#e5e7eb] group-hover:text-[var(--color-text-info,#8FB0C3)]">
|
||||
{hero.title}
|
||||
</h3>
|
||||
{hero.excerpt && (
|
||||
@@ -111,16 +111,16 @@ export default async function FeaturedBento() {
|
||||
<Link
|
||||
key={r.wp_slug}
|
||||
href={`/news/${r.wp_slug}`}
|
||||
className="group flex gap-3 rounded border border-[#252525] bg-[#0b0f17] overflow-hidden hover:border-[var(--color-text-info,#60a5fa)] transition-colors"
|
||||
className="group flex gap-3 rounded border border-[#252525] bg-[#0b0f17] overflow-hidden hover:border-[var(--color-text-info,#8FB0C3)] transition-colors"
|
||||
>
|
||||
<div className="shrink-0 w-[120px] aspect-square bg-[#111] relative">
|
||||
<img src={img(r)} alt={r.featured_image_alt || r.title} className="w-full h-full object-cover" />
|
||||
</div>
|
||||
<div className="flex-1 p-2 pr-3">
|
||||
<div className="text-[9px] font-mono uppercase tracking-wider text-[var(--color-text-info,#60a5fa)] mb-1">
|
||||
<div className="text-[9px] font-mono uppercase tracking-wider text-[var(--color-text-info,#8FB0C3)] mb-1">
|
||||
{r.category || "News"}
|
||||
</div>
|
||||
<h4 className="font-serif text-sm leading-tight text-[#e5e7eb] group-hover:text-[var(--color-text-info,#60a5fa)] line-clamp-3">
|
||||
<h4 className="font-serif text-sm leading-tight text-[#e5e7eb] group-hover:text-[var(--color-text-info,#8FB0C3)] line-clamp-3">
|
||||
{r.title}
|
||||
</h4>
|
||||
<div className="text-[10px] font-mono text-[#6b7280] mt-2">
|
||||
|
||||
Reference in New Issue
Block a user