Case study · Design system

Carolina Conte: auditing my own portfolio into a token system

My portfolio grew one section at a time, and its CSS shows it. I audited every value in the stylesheet and designed the token system that replaces 58 loose colors, 22 font sizes, and 8 radii with a small set of named decisions.

Role
Design and front-end
Scope
CSS audit, tokens, components
Deliverables
Token spec · CSS · JSON
Status
System defined, CSS migration next
The audit

Nine variables, and everything else

The site started with nine CSS variables: paper, ink, an accent, one radius. Then came a hero video, galleries, modals, and embeds, and each one brought its own values. I counted what was actually in the 1,363-line stylesheet.

Carolina Conte wordmark in yellow and lilac
9named variables in :root
58different color values in the stylesheet
22different font sizes
8different border radii

All 58 color values found in styles.css. 19 of them are white at a different opacity.

Process

Four steps, in order

  1. 01 · Audit

    Count what exists

    Extracted every color, font size, radius, and spacing value from the stylesheet and grouped the near-duplicates.

  2. 02 · Primitives

    Collapse into scales

    Paper, ink, and ember ramps, plus the two logo colors, which had never been written down as values.

  3. 03 · Semantic

    Name by purpose

    Tokens like color.accent.on-light point to a primitive. Components only read this layer.

  4. 04 · Components

    Prove it on real UI

    Rebuilt the nav, section headers, cards, and stats on both paper and ink surfaces from tokens alone.

Layer 1 · Primitives

Three ramps and a logo

Every stop on the paper and ink ramps already existed somewhere in the site. I kept the values and gave them an order. The ember ramp grows around the existing accent, and the logo colors were sampled from the wordmark.

Value already used in the live site

Overlay opacity

Before · 19 white opacities
.03.04.05.08.1.12.14.15.16.18.2.25.3.35.4.45.5.85.9
After · 5 steps
alpha.1 · .04alpha.2 · .08alpha.3 · .16alpha.4 · .4alpha.5 · .85

Corner radius

Before · 8 values
10px12px14px16px18pxvar(--radius)999px50%
After · 4 tokens
radius.sm · 12radius.md · 18radius.pillradius.round

Font size

Before · 22 values
910111212.5131415171819222644486 clamps1.05em
After · 8 steps
11121417222844display
Layer 2 · Semantic

Tokens named for what they do

Each tile shows the full chain: the primitive a token comes from and the part of the site that reads it.

Section#ECE6DA
color.bg.section
paper.300 → bg.section → section

The paper each content section sits on.

Existing value
Inverse#262421
color.bg.inverse
ink.800 → bg.inverse → header, dark cards

The pill header and every charcoal card.

Existing value
Text#1C1B19
color.text.primary
ink.900 → text.primary → headings, body

A warm near-black for all reading text.

On paper · 13.9:1 AAA
Muted#6B6259
color.text.muted
ink.500 → text.muted → captions, kickers

Replaces body text faded with opacity, which drifted per surface.

On paper · 4.8:1 AA
// Accent#FF5A36
color.accent.on-dark
ember.500 → accent.on-dark → kickers, stats

The brand accent, as text on ink and charcoal.

On charcoal · 5.0:1 AA
// Accent#B83A1B
color.accent.on-light
ember.700 → accent.on-light → links, prices

A deeper ember for accent text on paper.

On paper · 4.6:1 AA
Play#FF5A36
color.accent.fill
ember.500 → accent.fill → button.bg

Filled buttons. The label on top is ink, not white.

Ink on top · 5.6:1 AA
Carolina Contelogo
color.brand.yellow / lilac
logo → brand → wordmark only

Reserved for the wordmark, so the UI accent stays a single color.

Sampled from the logo
Accessibility decision

One accent, two tokens

The site used a single --accent everywhere. On charcoal it reads at 5.0:1. On paper the same orange drops to 2.5:1, well under the 4.5:1 AA minimum for text. The fix was a second token for light surfaces that keeps the hue and passes.

+40%5.0:1 · AA
+40%2.5:1 · Fails
+40%4.6:1 · AA
Type, shape, and space

Three voices, one scale

The site already had a clear type idea: a tight serif for statements, a mono for labels, a sans for reading. The tokens write that idea down so new sections can’t drift from it.

font.display
Fraunces 500 · clamp 56–96 · lh .86
Interface snapshots
font.statement
Fraunces 400 italic · 28
I design what a brand needs, then I build it.
font.body
Inter 400 · 17/28
My work sits between brand, product, and code.
font.label
JetBrains Mono 500 · 12 · +10%
Selected work
radius.sm · 12pxTiles, thumbnails
radius.md · 18pxSections, cards
radius.pillHeader, buttons, tags
space.2 · 8
space.3 · 12
space.4 · 16
space.6 · 24
space.8 · 32
space.14 · 56
Layer 3 · Components

Same parts, two surfaces

The portfolio alternates paper sections and ink sections. With the semantic layer, a component placed on either one picks up the right text, border, and accent without its own overrides.

CAROLINACONTE.COM
SERVICES
Rates & services

Product Design

UX research, wireframes, high-fidelity UI, and scalable design systems.

From $1,200

Design Engineering

Interfaces built in code: components, motion, and working prototypes.

From $1,800
58 → 18NAMED COLORS

Eighteen named colors and five alpha steps replace 58 loose values.

accent → ember.700 · bg.section → paper.300 · text.primary → ink.900

Handoff

What goes into the code

Tokens are written in the W3C Design Tokens Community Group format. Semantic tokens hold a reference to their primitive instead of a hex, so the chain survives into the stylesheet.


    
Takeaways

What I learned

Audit before you design

I expected to invent a palette. Almost every value I needed was already in the site. The work was choosing which ones to keep and putting them in order.

An accent depends on its surface

One --accent variable looked consistent and wasn’t. Splitting it by surface fixed contrast on every paper section at once.

Opacity is not a color system

Nineteen opacities of white came from adjusting each overlay by eye. Five named steps cover all of them and make the next one an easy choice.