The system behind this site.
A small, documented design system I created for my portfolio: color tokens, type, spacing, and the components every page is built from. Each component comes with the same kind of guidance I write for product teams: what it's for, and when not to use it.
- Scope
- Portfolio site
- Role
- Designer
- Tokens
- CSS custom properties
- Status
- Live on every page
Three principles
Every token and component below traces back to one of these. When two choices compete, the principle decides.
Say what it means
Labels describe the outcome, not the category. A chip says "Shipped to production," not "Status: 3." Nobody should have to decode the interface to understand the work.
One color, one job
Mint marks primary and professional work. Coral marks personal work and AI highlights. Colors never swap roles, so a quick scan always reads correctly.
Calm by default
Generous whitespace, a serif for voice, and a sans for reading. Emphasis is rare on purpose, so it means something when it appears.
Color tokens
A neutral base with two accent families. Every token is a CSS custom property, so a change in one place updates every page.
Text pairings
| Pairing | Used for | Contrast | Text use |
|---|---|---|---|
| Aa | Ink on background | 18.1 : 1 | Pass |
| Aa | Body on background | 6.6 : 1 | Pass |
| Aa | Mint dark on white | 6.4 : 1 | Pass |
| Aa | Mint deep on mint | 8.2 : 1 | Pass |
| Aa | Coral dark on coral light | 5.3 : 1 | Pass |
| Coral on white | 2.8 : 1 | Accent only |
Typography
Two families with clear jobs. Fraunces, a soft serif, carries the voice: headlines and moments of emphasis. DM Sans carries everything you read and scan.
Spacing & radius
A rem-based spacing scale, and a corner radius that grows with the size of the surface, so small things feel precise and large things feel soft.
The building blocks
These are the live components, using the same styles as the rest of the site. Hover and tab through them to see real states.
Buttons
Primary moves someone forward. Secondary offers a quieter alternative next to it.
Use when
- One primary action per view, like "View work"
- Secondary sits beside primary, never alone
Avoid
- Two primary buttons side by side
- Vague labels like "Click here" or "Learn more"
Buttons on dark
The inverse set for ink sections like the contact band. Mint replaces ink as the primary fill.
Use when
- The section background is
--ink
Avoid
- Using the light-surface buttons on dark backgrounds
Chips, badges & tags
Small labels that each have one job. Status chips (solid mint) state facts. Workflow chips (coral) flag how something was made. Descriptor chips (soft mint) name an outcome. Outline tags list focus areas.
Use when
- Status first, then workflow, then descriptor
- Three chips or fewer per card
Avoid
- Tool names as chips. "Figma" says less than "Designed in Figma"
- Making chips look clickable when they aren't
Case card
The main unit of the homepage. The card's color tells you what kind of work it is before you read a word: mint for professional, coral for personal.
Use when
- Context line, then an outcome headline, then proof chips
- The whole card is one link to the case study
Avoid
- Headlines that just repeat the project name
- Mixing mint and coral to mean the same thing
Stat card
One claim, backed by one line of context. Built for a recruiter's five-second scan.
Use when
- The value is true, specific, and holds up on its own
Avoid
- Small counts that undersell the work
- Numbers without the line that explains them
Section navigator
The sticky five-step bar on every case study. It shows where you are in the story and lets you jump ahead. Try clicking a step.
Use when
- A long page follows the same five-part structure
Avoid
- More than five steps, since labels stop fitting on a phone
- Ana LópezalópezAccent
- Mia ChenmchenValid
Result preview row
Shows input, output, and a verdict in one line. Used in the homepage demo to make a rule's consequence visible.
Use when
- The output matters more than the input
- The flag names the reason, like "Accent," not just "Error"
Avoid
- Relying on color alone. Every flag has a text label
Choices I'd defend
The small calls that shaped the system, and why.
Coral stopped carrying text
When I measured it, coral came in at 2.8:1 on white, too low for text. I added --coral-dark for anything readable and kept coral for fills, so the brand stayed and the numerals became legible.
Color encodes the kind of work
All professional projects share the mint card and personal projects share coral. Before this rule, one professional project sat on coral and looked like a side project. Consistency is what makes a scan trustworthy.
Chips state outcomes, not tools
Early cards listed "Tools: Figma." That tells a reviewer almost nothing. Replacing tools with status and outcome chips, like "Shipped to production," turned decoration into evidence.
In progress: a product component library
Next, I'm building a Figma library for a mobile-first, bilingual civic service redesign, with variables, variants, and every component tested in English and Spanish.