From 1036efe0666e266027f964efed0e0d602127fdfa Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Sat, 21 Mar 2026 14:15:17 +0000 Subject: [PATCH] [#410] Darker spine band + vivid accent title color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Spine: dark charcoal gradient (#1A0F0A → #2C1810 → #3A2A1A), widened from w-3 to w-5 for visual weight like a cloth-bound book - Inner shadow: deeper blend from dark spine color - Title: new --accent-title token (#8B4513 saddle brown) for vivid contrast against cream cover - Content padding adjusted for wider spine Fixes #410 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/globals.css | 2 ++ src/components/StoryCard.tsx | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 58a6d55c..b4eeeeb5 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -9,6 +9,7 @@ --text-muted: #8B7355; --accent: #DAAA63; --accent-dim: #C4944F; + --accent-title: #8B4513; --border: #D4C5B0; --error: #CC3333; } @@ -20,6 +21,7 @@ --color-muted: var(--text-muted); --color-accent: var(--accent); --color-accent-dim: var(--accent-dim); + --color-accent-title: var(--accent-title); --color-border: var(--border); --color-error: var(--error); --font-heading: var(--font-montserrat); diff --git a/src/components/StoryCard.tsx b/src/components/StoryCard.tsx index d5bf24d4..e302d917 100644 --- a/src/components/StoryCard.tsx +++ b/src/components/StoryCard.tsx @@ -33,11 +33,11 @@ export function StoryCard({ {/* Drop shadow beneath book — grows on hover */}
- {/* Spine — left edge with depth */} + {/* Spine — dark cloth-bound band */}
@@ -53,7 +53,7 @@ export function StoryCard({ {/* Page edges visible on bottom */}
{/* Spine inner shadow overlay */}
{/* Content */} -
+
{/* Top: genre badge + completion */}
@@ -87,7 +87,7 @@ export function StoryCard({ {/* Center: title displayed like printed book cover */}
-

+

{storyline.title}

{storyline.language && storyline.language !== "English" && (