Olga Kalinina

Design system for a SaaS platform

  • Design system
  • SaaS
  • Web platform
  • Product design
  • 2026

The product covered many flows, from onboarding and purchases to an AI copilot. I turned its Figma file into a design system with tokens, components, states and Light and Dark themes, then documented it in a live site, so developers can copy it instead of guessing.

See how the system works

Every component, state and theme, live in your browser.

Open Design System
The design system site in Dark and Light themes: the Buttons page with styles and examples

Project snapshot

Product: The creator community platform, a B2C and B2B product with web and mobile flows and an AI copilot. The product itself is under NDA, so you will not see its screens here. The product case study is behind an access code.

My role: Founding product designer. I designed the library in Figma, defined the tokens and wrote the usage rules. For this case I also built the code version: tokens, components and a small documentation site.

Scope: Design tokens, component library, states, Light and Dark themes, documentation, accessibility checks, developer handoff.

Why a design system

The platform is wide. The Figma file has separate pages for web, onboarding, purchase flows, notifications, menus, an AI copilot and wizard, shop and product, people, profiles and earnings. Those flows use the same buttons, fields, cards, tabs and tables again and again.

A product like that needs one place where each of those parts is defined once. Three reasons drove the work:

  • Designers draw from the same parts. A new screen starts from components, not from a copy of an old screen.
  • Developers get names and values, not screenshots. Each colour, size and state has a name they can paste into code.
  • Both sides use the same words. A token called buttons bg/Primary CTA/bg hover in Figma becomes --buttons-bg-primary-cta-bg-hover in CSS.

What is in the system

These counts come straight from the Figma file.

  • 432Figma variables in six collections: colour, alias, spacing, radius, typography and components
  • 44text styles: Inter in eleven sizes and four weights
  • 68 + 6colour styles and effect styles (shadows and blurs)
  • 68component sets with variants and states
  • 2themes. Component colours hold a Light and a Dark value

Step 1 · Structure the tokens

Three layers of tokens

A colour that is only a hex value tells nobody where to use it. So the tokens are Figma variables, grouped in six collections and built in layers, from raw values to meaning to parts.

  1. Palette75 raw colours as Figma variables: a grey scale, primary blue, secondary pink and a set of accents. Also 10 spacing steps and 6 radius steps. The values never change with the theme.
  2. Meaning45 alias variables that say what a colour is for, such as Neutral, Information, Error and Warning. They point at the palette.
  3. Component tokens290 variables for the parts of components, such as a button fill in hover or an input border when disabled. Each one holds a Light value and a Dark value.
Figma variables panel, Components collection: each token has a Dark column and a Light column, and each points at a colour such as grey 900 or grey 25
Figma variables, the Components collection. Every token has a Dark and a Light column, and each points at a colour from the palette.
Figma variables panel, Colors collection: the raw palette with grey, blue, pink and accent groups and their hex values
Figma variables, the Colors collection. It holds the raw palette. The other collections point at it.
The Colour section of the Figma design system page: grey and primary blue scales with hex values and the role of each shade
The Colour section of the “Design system” page in Figma. Each swatch is linked to its variable, so it updates when the variable changes.
The Typography section of the Figma design system page: the Inter typeface, four weights and the type scale from Header 1 to Text 3
Typography: one typeface, eleven sizes, four weights. Every size is a text style, so nobody sets font size by hand.

Step 2 · Components and states

Every state is drawn, not implied

The library has 68 component sets: buttons, form controls, tabs, tags, cards, navigation, a data table, and loading, empty and error states. A developer cannot build a hover state from a default state, so each interactive part shows its states: default, hover, active and disabled. The same table exists in Light and in Dark, side by side.

Button states in Figma, Light on the left and Dark on the right: default, hover, active and disabled for each button style
Button states in Figma, Light on the left and Dark on the right. Both use the same components. Only the theme mode changes.

A screen is not only its happy path. The library also covers the moments around it: skeletons while content loads, empty states for “nothing yet” and “no results”, and alerts and error pages for failures. Each is a component with variants, in Light and Dark.

Loading, empty and error states in Figma, Light on the left and Dark on the right: skeletons for text, card and row, three empty states, and error, warning and info alerts
Loading, empty and error states in Figma. Light on the left, Dark on the right.
  • Themes are a mode, not a copy. Switching from Light to Dark changes a variable mode, so no component is redrawn.
  • Gaps are visible. Where a style has no separate pressed design, the page says so and treats Active like Default, instead of inventing one.

Step 3 · Document it where designers work

One page that explains the whole system

A library nobody can read is only a pile of components. So the file has a “Design system” page that works as a handbook: a cover, colour, typography, spacing, radius and effects, the components in Light and Dark, accessibility with usage rules, and a developer handoff section.

Accessibility section of the Figma design system page: contrast ratios for main text, supporting text, links, the primary button label, error text and icons
Contrast ratios calculated from the real colours, with a verdict for each pair.

Checking the library this way found things the eye misses. The Error state colour was white instead of red, which I fixed. Two pairs fall short of the contrast targets: the link blue on white (4.1 to 1) and the grey icons (2.5 to 1). I left them visible in the table instead of hiding them. They are next on my list.

Step 4 · Make it usable in code

From Figma names to CSS names

Developers should not have to retype values from Figma. Every token has a matching CSS name, and a small script turns the values exported from Figma into one tokens file. Change a value in Figma, re-export, run the script, and every component updates.

Token map in the Figma handoff section: Figma token names next to their CSS names and values, for colour, spacing, radius, font and component tokens
The token map: Figma name, CSS name and value, side by side.

The components exist as plain HTML and CSS that use only those tokens. There is no framework and no build step, so developers can take them as they are, or translate them into whatever the product uses. Each example on the site shows the code behind it, with a Copy button. A switch in the header changes the theme, and the same code works in both.

The States table on the live design system site, Light on the left and Dark on the right: default, hover, active and disabled for seven button styles
The same states in code, on the live site. Light on the left, Dark on the right.
The event card as built in code, Light and Dark: placeholder image, tags, favourite button, details, price and a Book button

Choices I made

  • One source of truthFigma variables are the source. The CSS is generated from them, not typed again by hand.
  • Names that survive the tripThe Figma name and the CSS name follow one rule, so a designer and a developer can find the same token.
  • Show the gapsMissing states and weak contrast are listed on the page. A system that hides its gaps cannot be trusted.
  • Accessible by defaultNative elements, a visible keyboard focus ring, and no information carried by colour alone.

Try the design system yourself

Switch between Light and Dark, press the buttons, open the code behind each example.

Open Design System