feat: refresh uses, testimonials, and theme
Uses page: - Merge "For work"/"For fun" into one Hardware list; drop the MS-01. - Gaming rig becomes the Arch "Daily driver" (9950X, Looking Glass VM); custom workstation is now the Proxmox box (5900X, 128GB, RTX 3090). - Swap MetaMCP -> ContextForge and Open WebUI -> Paseo; add Codex, OpenCode, and OpenRouter. Testimonials: - Add Douglas Wilhelm; trim all quotes to ~55-60 words of verbatim sentences so cards stay the same size. - Move above projects and restyle as a card with gold-bordered initials, inline gold quote marks, and a countdown line under the divider. - Fix carousel bugs: hooks after an early return, timer not resetting on manual navigation, layout shift between quotes of different lengths. The countdown animation now drives rotation, and hover/keyboard focus pause it. Theme: - Centralize colors and fonts as CSS variables in globals.css; the neutral-* scale reads from them, and the header's hardcoded bg is gone. - New defaults: Manrope (body), EB Garamond (display), zinc greys, gold. - Add a dev-only theme switcher for A/B-ing fonts and palettes; it is compiled out of production builds. - Remove dead runtime-built hover classes on the about page that never generated CSS. Copy: replace em dashes with plain hyphens site-wide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6b6790813b
commit
abd5fd4a58
24 files changed
+765
-313
No files matched your search
+54
-4
@@ -1,15 +1,54 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/*
|
||||
* Site theme. Every color and font on the site reads from these variables, so
|
||||
* swapping a palette or typeface is an edit here (or a live tweak from the
|
||||
* dev-only theme switcher). The `--n-*` scale (Tailwind zinc) feeds every `neutral-*` class.
|
||||
*/
|
||||
:root {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
--background: var(--n-950);
|
||||
--foreground: color-mix(in oklab, var(--n-100), var(--n-200) 60%);
|
||||
--bg-elevated: color-mix(in oklab, var(--n-900), var(--n-800) 30%);
|
||||
--accent: #d4a24a;
|
||||
--accent-hover: #e6b966;
|
||||
|
||||
--site-sans: var(--font-manrope);
|
||||
--site-serif: var(--font-garamond);
|
||||
|
||||
--n-50: oklch(98.5% 0 0);
|
||||
--n-100: oklch(96.7% 0.001 286.375);
|
||||
--n-200: oklch(92% 0.004 286.32);
|
||||
--n-300: oklch(87.1% 0.006 286.286);
|
||||
--n-400: oklch(70.5% 0.015 286.067);
|
||||
--n-500: oklch(55.2% 0.016 285.938);
|
||||
--n-600: oklch(44.2% 0.017 285.786);
|
||||
--n-700: oklch(37% 0.013 285.805);
|
||||
--n-800: oklch(27.4% 0.006 286.033);
|
||||
--n-900: oklch(21% 0.006 285.885);
|
||||
--n-950: oklch(14.1% 0.005 285.823);
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-inter);
|
||||
--font-serif: var(--font-instrument-serif);
|
||||
--color-elevated: var(--bg-elevated);
|
||||
--color-accent: var(--accent);
|
||||
--color-accent-hover: var(--accent-hover);
|
||||
|
||||
--color-neutral-50: var(--n-50);
|
||||
--color-neutral-100: var(--n-100);
|
||||
--color-neutral-200: var(--n-200);
|
||||
--color-neutral-300: var(--n-300);
|
||||
--color-neutral-400: var(--n-400);
|
||||
--color-neutral-500: var(--n-500);
|
||||
--color-neutral-600: var(--n-600);
|
||||
--color-neutral-700: var(--n-700);
|
||||
--color-neutral-800: var(--n-800);
|
||||
--color-neutral-900: var(--n-900);
|
||||
--color-neutral-950: var(--n-950);
|
||||
|
||||
--font-sans: var(--site-sans);
|
||||
--font-serif: var(--site-serif);
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -25,3 +64,14 @@ body {
|
||||
.animate-fade-in {
|
||||
animation: fade-in 400ms ease;
|
||||
}
|
||||
|
||||
@keyframes testimonial-countdown {
|
||||
from { transform: scaleX(1); }
|
||||
to { transform: scaleX(0); }
|
||||
}
|
||||
|
||||
/* Referenced from a class (not only an inline style) so the CSS optimizer keeps
|
||||
the keyframes. Duration comes from --countdown-ms set on the element. */
|
||||
.animate-testimonial-countdown {
|
||||
animation: testimonial-countdown var(--countdown-ms, 10000ms) linear forwards;
|
||||
}
|
||||
Reference in new issue
Block a user