Skip to content

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 
TokenUse
bg-backgroundThe page. Everything sits directly on it.
text-foregroundTitles, names, body copy in articles.
text-muted-foregroundDescriptions, captions, metadata. The only secondary text color.
bg-surfaceMedia wells, code, panels inside case studies.
bg-accentHover fill on cards and ghost buttons; keyboard focus fill on rows.
border-borderHairlines: dividers, media outlines, tiles.
border-border-strongControl outlines and link underlines.
text-brand · bg-brandGreen as graphic: the logo, the open hero line, focus ring, outline markers, the current dot.
text-brand-textGreen as text: code tokens, the active nav item, row arrows. Darker in light mode for AA.
bg-brand-fillThe 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).

50100200300400500600700800900950

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), ledes
    What the article got right
  • text-2xl · 30024–28 / 1.25 · The home intro, the one large voice
    I'm a designer, and I love to learn.
  • text-base · 35015 / 20 (prose 1.6) · Body copy, entry titles
    Learning has turned me into a generalist.
  • text-sm · 40013 / 20 · Navigation, captions, controls
    Most of the time, I'm illustrating.
  • label12 / 20 · caps · Section titles, column heads, meta, nav
    Experience · 2024 - Present
  • font-mono text-xs12 / 20 · Data that keeps its case: email, handles, token names
    victorzanivan@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.

label · 1fr
content · 2fr
  • gap-14pxIcon and label
  • gap-312pxInside a row or header
  • gap-624pxBetween blocks in an article
  • gap-1040pxBetween home sections, footer
  • gap-1456pxBetween About sections

Radius

rounded-control8px · Buttons, rows, tiles
rounded-media12px · Images and media wells
rounded-full9999px · Badges, dots

Motion

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.

ease-out-expoEntrances, previews, anything that arrives
ease-in-out-quartThings that move between two places
ease-outHover and press feedback (150ms)
<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.

See it on the home page

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.

<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

macOSArchivedCurrent
<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

Back
<BackButton fallback="/projects" />
<ModeToggle />
<SocialLinks />
<EmailCopyButton />

Page anatomy

Every page is the same four parts. Pages only write the middle.

  1. SiteHeaderLogo, Work, About, Design system, theme
  2. PageShellLabel column (back, section, outline) | content on the rule
  3. PageHeaderTitle, mono meta, lede
  4. 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.
Ratios are computed in your browser from the live tokens.
ThemePairRatioTarget
lightForeground on background…
lightMuted on background…
lightMuted on surface…
lightFocus ring on background…
lightGreen text on background…
lightButton text on green fill…
darkForeground on background…
darkMuted on background…
darkMuted on surface…
darkFocus ring on background…
darkGreen text on background…
darkButton 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.