Design system
v2 · styles/globals.css · components/ui
The tokens, components and patterns this site is built from. Every example below is the real component, and every value is read live from the stylesheet.
Principles
- Work firstA visitor reaches a real case study in one click. Lists beat grids of cards; the work is never behind decoration.
- Set like an indexGeist set light on a tight line for everything people read; Geist Mono in small caps for labels, meta and data. Case, weight and color separate levels before size does.
- Quiet surfacesHairlines instead of shadows, fills only for media and hover. Nothing competes with the screenshots.
- Green is the identityLemon green is Victor's color and the terminal's. It marks the logo, the code side of the hero, the primary action, what is active and what has focus. Everything else stays neutral so it can.
- Design and code, one line apartThe site's signature is the line between the two: it splits the first fold into canvas and source, then keeps going as the rule that organizes every page below. One sweep on arrival; everything else is honest feedback.
Color
Near monochrome neutrals with no tint. Semantic tokens switch with the theme; components never reach for a raw palette value.
Light
- Background
- Foreground
- Muted foreground
- Surface
- Accent
- Border
- Border strong
- Brand
- Brand text
- Brand fill
Dark
- Background
- Foreground
- Muted foreground
- Surface
- Accent
- Border
- Border strong
- Brand
- Brand text
- Brand fill
| Token | Use |
|---|---|
bg-background | The page. Everything sits directly on it. |
text-foreground | Titles, names, body copy in articles. |
text-muted-foreground | Descriptions, captions, metadata. The only secondary text color. |
bg-surface | Media wells, code, panels inside case studies. |
bg-accent | Hover fill on cards and ghost buttons; keyboard focus fill on rows. |
border-border | Hairlines: dividers, media outlines, tiles. |
border-border-strong | Control outlines and link underlines. |
text-brand · bg-brand | Green as graphic: the logo, the open hero line, focus ring, outline markers, the current dot. |
text-brand-text | Green as text: code tokens, the active nav item, row arrows. Darker in light mode for AA. |
bg-brand-fill | The primary button. Light: lemon-green-800 with a white label (5.6:1). Dark: 400 with a near-black label (15:1). |
Brand primitive
Three semantic roles come from the lemon green scale: --brand for graphics (700 light, 400 dark), --brand-text for green type (800 light for AA, 400 dark) and --brand-fill for the primary button (800 light with a white label, 400 dark with a near-black one).
Typography
Geist at weight 350 for everything people read, on a tight 20px line like a typeset index; reading pages open paragraphs up to 1.6. Geist Mono in small caps (label) for section titles, column heads, meta and data. Both self hosted through next/font.
- text-2xl · 50026 / 34 · Page titles (h1)Figma Slots Migration
- text-lg · 50017 / 28 · Article section headings (h2), ledesWhat the article got right
- text-2xl · 30024–28 / 1.25 · The home intro, the one large voiceI'm a designer, and I love to learn.
- text-base · 35015 / 20 (prose 1.6) · Body copy, entry titlesLearning has turned me into a generalist.
- text-sm · 40013 / 20 · Navigation, captions, controlsMost of the time, I'm illustrating.
- label12 / 20 · caps · Section titles, column heads, meta, navExperience · 2024 - Present
- font-mono text-xs12 / 20 · Data that keeps its case: email, handles, token namesvictorzanivan@gmail.com
Layout and spacing
Every page uses the home's composition inside site-container (72rem): a label column on the left (back, section, outline) and the content on the right, in a 1fr 2fr grid. The content column's left border is the one vertical rule. Prose caps at 40rem; media and diagrams fill the column with breakout.
gap-14pxIcon and labelgap-312pxInside a row or headergap-624pxBetween blocks in an articlegap-1040pxBetween home sections, footergap-1456pxBetween About sections
Radius
rounded-control8px · Buttons, rows, tilesrounded-media12px · Images and media wellsrounded-full9999px · Badges, dotsMotion
Exponential ease out for anything arriving, short ease out for feedback. The page entrance rises 6px out of a 4px blur, 60ms apart per block, and is skipped under reduced motion.
<section className="enter" style={{ "--stagger": 1 }}>…</section>Components
Button
Foreground filled for the one primary action, secondary and ghost for everything else. Presses scale to 0.97.
<Button>Primary</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="outline">Outline</Button>
<Button variant="ghost">Ghost</Button>
<Button variant="link">Link</Button><Button size="sm">Small</Button>
<Button size="icon-sm" variant="ghost" aria-label="Next"><ArrowRight /></Button>List row
The core pattern of the site. Title, muted description, mono metadata, optional leading mark. Hovering a list dims the other rows; keyboard focus gets a fill that bleeds past the column so text stays aligned.
<ListRow
href="/experience/mui"
leading={<CompanyMark company="mui" />}
title="Design engineer at MUI"
description="Working to simplify developers' and designers' lives…"
meta="2023 - 2024"
/>Hero: design and code
The first fold on the home page. Left of the rule, a layers panel maps the page: the intro's own layers (they light up as you hover the matching block) and anchors to every section. Right of the rule, the intro itself, readable at once. The rule is a line you can drag: left of it, every block shows the code that renders it, row for row. On load it peeks open once and closes. Hovering a block outlines it with its type spec, like selecting a layer.
Index band and rows
The home and footer grid. A sticky mono label on the left; the content column's left border is the site's vertical rule, so stacked bands draw one continuous line. Rows are visual, title, description and meta, separated by hairlines that meet the rule. Hovering dims the other rows and slides in an arrow.
Experience
Present and past
<IndexBand label="Experience" sublabel="Present and past">
<IndexList>
<IndexRow href="/experience/mui" visual={<CompanyMark company="mui" />}
title="Design engineer at MUI" description="…" meta="2023 - 2024" />
</IndexList>
</IndexBand>Case card
A media well and text, no outer border. Used on experience pages and wherever a case needs its picture up front.
<CaseCard href="/project/agentic-design-system">
<div className="h-56 bg-accent p-4">…media…</div>
<div>
<h3>Title</h3>
<p className="lighter">Description</p>
</div>
</CaseCard>Project info
- Role
- Senior Product Designer
- Duration
- ~2 weeks
- Skills
- Design Systems, AI-Augmented Workflows, Figma
- Tools
- Figma, Claude, Figma MCP
<ProjectInfo info={{ role, duration, skills: [...], tools: [...] }} />Badge and company mark
<Badge>macOS</Badge>
<Badge variant="brand">Current</Badge>
<CompanyMark company="quintoandar" />Links
Inline links use a quiet underline in the border color that darkens on hover, like Material UI or this one.
<ExternalLink href="https://mui.com" label="Material UI" />
<span className="link-quiet">Quiet inline link</span>Navigation and contact controls
<BackButton fallback="/projects" />
<ModeToggle />
<SocialLinks />
<EmailCopyButton />Page anatomy
Every page is the same four parts. Pages only write the middle.
- SiteHeaderLogo, Work, About, Design system, theme
- PageShellLabel column (back, section, outline) | content on the rule
- PageHeaderTitle, mono meta, lede
- SiteFooterContact and copyright, on every page
export default function Case() {
return (
<PageShell>
<PageHeader title="…" meta="Luxury Presence" />
<ProjectInfo info={info} />
<div className="breakout">…media…</div>
<p>…</p>
</PageShell>
);
}Accessibility
- Every interactive element shows a 2px brand focus ring on keyboard focus.
- A skip link jumps past the header to the content.
- Links are real anchors: middle click, open in new tab and copy link all work.
- Images carry descriptions of what they show; decorative previews are hidden from screen readers.
- Under reduced motion, entrances and the preview spring are skipped.
| Theme | Pair | Ratio | Target |
|---|---|---|---|
| light | Foreground on background | … | |
| light | Muted on background | … | |
| light | Muted on surface | … | |
| light | Focus ring on background | … | |
| light | Green text on background | … | |
| light | Button text on green fill | … | |
| dark | Foreground on background | … | |
| dark | Muted on background | … | |
| dark | Muted on surface | … | |
| dark | Focus ring on background | … | |
| dark | Green text on background | … | |
| dark | Button text on green fill | … |
Changelog
- v2: identityNov 2026Inter replaced by Geist set light on a 20px line, mono small caps for labels. The first fold becomes design and code: one composition rendered as canvas and as source, split by a draggable line that continues as the index rule. Home and footer move to label and content bands with hairline rows. Lemon green returns as the identity: logo, primary fills, and terminal green on the code side. New MUI, Luxury Presence and Apple marks.
- v1: the system gets a homeNov 2026Tokens consolidated in globals.css, components rebuilt on them, this page published. Floating dock replaced by a plain header; Elms Sans retired.
- Audit fixesNov 2026Invisible stat text in light mode, eleven wrong image descriptions, cards that reloaded the whole page on click, a theme toggle that could ignore the first click, and pages that each rebuilt the layout by hand.