You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Hem Gabhawala
committed
feat: redesign to Design System v2 — flat, high-contrast, editorial
Replace the glassmorphism + glow aesthetic with a flat, high-contrast
editorial system per Design System Reference v2. Confidence now comes from
typography scale and whitespace; the accent is a functional signal (CTAs,
active states, key stats, links), never a background flood. No blur, no
glow, no gradient washes.
Foundation
- styles/globals.css: introduce v2 raw palette (--bg-base, --bg-surface,
--text-primary/secondary/muted, --border-subtle, --accent #F57A28,
--accent-hover #FF8C3F) and alias it into the existing semantic tokens so
every component consuming Tailwind classes inherits v2 for free. Expose the
raw palette directly (bg-surface, text-muted, accent-hover, …). Add motion
tokens (--duration-*, --ease-default) and oversized display type steps
(text-7xl/8xl). Fix a stale .dark block that reverted tokens to the old
teal/blue oklch palette for OS-dark visitors.
- Remove all decoration: floating glow orbs + float keyframe, gradient-text
fill (now a flat alias), glow-primary, and the old pill/floating-button
glow utilities. Redefine the `glass` utility as a flat opaque surface
(no blur), which flattens the header and footer automatically.
- lib/motion.ts: adopt the v2 ease-default cubic-bezier and 24px reveal
offset so every scroll reveal inherits v2 timing.
- hooks/use-cursor.ts: flat light dot (mix-blend difference), grows and
turns accent on interactive elements, no glow.
Sections
- Hero: flat rebuild — oversized mixed-weight display headline with a single
italic accent phrase, mono terminal role line, three stat counters on
hairline dividers, flat accent + outline CTAs; line-by-line reveal. Removes
grid background, glow layers, blur, and gradient text.
- section-premium: flat backgrounds and hairline dividers only; headings are
flat high-contrast with an optional italic accent word and numbered-marker
support.
- Sequential section numbering (01–09) with italic accent titles across
About, Journey, Skills, Experience, Projects, Certifications, TryHackMe,
GitHub, and Contact.
New v2 component patterns
- NumberedDetailList: numbered vertical list with an active-item detail panel
(sticky on desktop, accordion on mobile). Journey and Experience now map
their data into it, replacing the old marker/spine timeline.
- ProjectRows: large clickable project rows with a cursor-following
hover-reveal thumbnail (placeholder when no cover image); opens the existing
project dialog. Replaces the project card grid.
- Certifications, TryHackMe, and GitHub now render a shared flat "credential
wall" — a hairline grid of cells where the issuer/owner reads as a label
and the title turns accent on hover. GitHubCard drops shadcn Card/Button.
- ScrollProgress: thin accent scroll-progress bar (spring-eased useScroll)
fixed above the sticky nav; aria-hidden and reduced-motion aware.
Cleanup
- Remove superseded files: timeline-item, timeline-list, experience-item,
experience-list, project-card, project-grid. No tests referenced them;
tsc, ESLint, and a production build all pass.
0 commit comments