Roman Gomez

Design & build · My own work

This portfolio

I designed this site in Figma and used AI tools to speed up the build. One system on both sides, and a workflow that keeps them in sync.

Role
Designer and builder
Type
Website + design system
Tools
Figma, Astro, Claude Code
Year
2026
Some of the parts: buttons, tags, links and a project card. Every color here is a token.

Overview

From template to my own code

My old portfolio was a Squarespace template. It looked fine, but every change was a fight, and it didn’t show how I work now. So I designed a new one in Figma and built it with AI tools speeding up the busywork. This page is the system behind it and the workflow that got it live.

01 · Workflow

Figma first, code second

Every page is designed in Figma first, then reviewed before any code. AI tools sped up the slow parts: keeping tokens and components in sync between Figma and code, and checking every page at four screen sizes before anything goes live. The home page loads in about 133 KB.

  1. Design in Figma
  2. My review
  3. Tokens + components
  4. Code
  5. Check 4 sizes
  6. Preview, then live
The same loop for every page, from the home page to this one.

02 · Structure

Two layers of color

Primitives are the raw values, like neutral/900. Roles are what the rest of the site uses, like color/text/primary. Components only ever use roles, so changing a color is one edit, not a hunt through every page.

Primitivepoints toRoleUsed for
neutral/900#111110color/text/primaryHeadings and body text
neutral/600#52524Ecolor/text/secondaryDescriptions
neutral/25#FAFAF9color/bg/pagePage background
orange/500#DE6E21color/accent/brandCard arrows, the playing outline
orange/700#9A4511color/accent/textActive tab text, section numbers
orange/50#FBEADFcolor/accent/subtleActive tab background, this panel
Each role points at a primitive. Components only know the role.

03 · Decisions

Every token has a reason

I kept a short reason next to every choice, and most of them come down to contrast. If a color can’t pass AA where it’s used, it doesn’t go there. Even when it’s the logo color.

  • View work3.3:1 Fails
    View work18.9:1 Passes

    Orange is a signal, not a button

    White on the logo orange is only 3.3:1. So buttons stay ink, and orange marks things: arrows, the active tab, the playing video.

  • 5.5:1 Passes

    The active tab gets a tint

    Dark orange text on a light orange tint reads at 5.5:1. It still feels on brand without using the logo orange for text.

  • A clearer, easier website for a salon in Redlands

    7.5:1 Passes

    Descriptions are body text

    Card and job descriptions use #52524E at full size, 7.5:1 on the page. They read like content, not a faded caption.

Contrast ratios measured on the real token values. AA needs 4.5:1 for normal text.

04 · Components

Built once, used everywhere

Each component has its states and sizes built in, so a page is just parts snapped together. The home cards, the case study sections and the video grid all come from the same set. Try it: the controls below switch the real Button.

Variant
State
Icon
In code<Button>View work</Button>
This is the same Button used across the site, not a picture of it.

05 · Figma to code

Same names on both sides

Every variable in Figma has a CSS variable with the same name, and every component has a matching file. So when a page goes from Figma to code there’s nothing to translate, and the design file and the live site stay in sync.

Tokens
FigmaCode
color/bg/pagevar(--color-bg-page)
color/text/primaryvar(--color-text-primary)
color/accent/brandvar(--color-accent-brand)
space/24var(--space-24)
radius/lgvar(--radius-lg)
Components
FigmaCode
ButtonButton.astro
Project CardProjectCard.astro
Pill NavPillNav.astro
Tab BarTabBar.astro
Case/SectionCaseSection.astro
A few of the matches. The full list lives in tokens.css, with a note to keep it in sync with Figma.

06 · Where it stands

What’s next

Each new case study gets designed in Figma first, then built. Next on the list is motion tokens, so animation follows the same rules as color and spacing. After that, dark mode. The color layer is already split into primitives and roles, so it’s mostly a second set of values.

More work