PT EN
contato@yvesgabriel.com.br LinkedIn ↗ Instagram ↗

After DS: the common ground of a design system built for ticketing companies

Context
Design system for ticketing companies
Deliverable
Design system: foundations, tokens, components and templates
Team
3 product designers
Year
2024

After DS is a design system built for ticketing companies: documented foundations, tokens and components that switch theme, density and platform without redrawing anything.

I built the system with Eliseu Santos and Mirella Quirino, in a team of three product designers. I worked across all four fronts of the project: token and variable architecture, component building, documentation and alignment with the development team.

The context

Before After

Without a common ground, every screen solved the same problems in a different way. Three symptoms kept coming back:

01

Visual inconsistency

Screens and products used different colors, typography and components from one another.

02

No single library

There was no shared library: each designer rebuilt the same pieces.

03

No tokens, no dark theme

Colors and measures were loose values, with no variables. Light and dark themes and different densities had no support.

A system to fix it at the root

Fixing screen by screen would only treat the symptom. The path was to build a single base that every new screen starts from: first the values, then the pieces, and finally the combinations.

How we built it

The structure follows Atomic Design. Each layer only uses what the layer below offers, so a change at the base reaches every screen on its own.

  1. 01

    Foundations

    Colors, typography, spacing and radii, stored in variables.

  2. 02

    Base components

    25 families, from buttons and fields to navigation, cards, alerts and modals.

  3. 03

    Slots and containers

    Structures that receive components and organize content.

  4. 04

    Templates

    Ready-made combinations that speed up the design of new screens.

Foundations

A strong base starts with the foundations

  1. 01Colors
  2. 02Typography
  3. 03Radii
  4. 04Spacing

Colors

Seven color families and a neutral scale. Each family has ten shades for the light theme and ten for the dark one, with the same names.

The brand orange is shade 600 of the orange family: #FF6101. In dark mode the brand role moves to shade 700, which is lighter, to keep contrast.

Neutrals

neutral
0 → 1000#909090

Orange

orange
100 → 1000#FF6101

Blue

blue
100 → 1000#2A89EF

Purple

purple
100 → 1000#5530E8

Green

green
100 → 1000#15BE78

Yellow

yellow
100 → 1000#F9AB10

Red

red
100 → 1000#E61E32

Pink

pink
100 → 1000#E82EBF

Typography

A single family, Switzer, in 39 text styles: display, heading, paragraph and label, plus link, italic and strikethrough formatting.

Size and line height are variables too. That is why the same style changes measure when density changes, without switching styles.

font/family

switzer

SwitzerRegular · Medium · Semibold · Bold · Extrabold

typescale

39 styles
  • Your next night out starts here Display/356px
  • Your next night out starts here Heading/H132px
  • Your next night out starts here Heading/H324px
  • Your next night out starts here Paragraph/220px
  • Your next night out starts here Paragraph/316px
  • Your next night out starts here Label/214px
  • Your next night out starts here Paragraph/512px

Radii

Six radii, from 4 to 24 px, named by proportion (0.25 to 1.50).

Surfaces such as cards and modals use their own token, Surface, at 12 px. Changing the product’s roundness means changing one value.

radii/0,254px
radii/0,508px
radii/0,7512px
radii/1,0016px
radii/1,2520px
radii/1,5024px

Spacing

A scale from 2 to 128 px, with negative values for overlaps.

Components don’t use these numbers directly. They go through the Scale collection, which decides what shrinks or grows in each density.

space

2 → 128 px

2

4

8

12

16

24

32

40

48

64

80

96

128

Tokens

Tokens in layers

No component uses a loose color or measure: everything goes through variables. Primitives hold the raw values; semantic collections decide what changes across theme, density and platform.

Each variable is named by function, not appearance: content, background, border, alert, action. That gave design and development a shared vocabulary to talk about each decision.

  1. Primitive

    01
    color/orange/light/600
    #FF6101
  2. Semantic

    02
    background/brand
    Mode: light
  3. Component

    03
    Brand button
    uses background/brand

The path of a color, from raw value to componentIn the dark theme, background/brand points to color/orange/dark/700 (#FF8134). The button itself doesn’t change.

Primitives

285

Raw values: colors, measures and typography

Mode

54

light · dark

Scale

78

Default · Compact · Expanded

Platform

13

Mobile · Desktop

Shape

7

Radii and surfaces

Switch the mode, not the component

This card uses the real values from the Mode and Scale collections. Change theme and density: the structure stays the same, only the variables change value.

Theme

Density

Modelight

ScaleDefault

Available

New Year’s Eve on the beach

Tue, December 31 · 10 pm

Variables in use

The Mode collection takes the same components from light to dark. No color is redefined by hand. The Scale collection switches density without switching components: the same field, button, segmented control and checkbox in three sizes.

A grid for each platform

The Platform collection holds what changes between phone and desktop: screen widths, columns, margins and what stays hidden on each.

Components

Pieces repeat, decisions don’t

25 families of base components, each with the states and variations the product actually uses.

In total there are 63 component sets and more than 1,100 variants. At the top of Atomic Design, templates combine everything to speed up new screens.

In use

The system in the product

I recreated some screens of a ticketing app to show the system in use: discovery, purchase, ticket and access, built with the same components and tokens, in the dark theme.

Navigation, event card, quantity stepper, error alert, QR code and access code: different pieces, the same decisions about color, type, radius and space.

  1. 01HighlightsEvent card, segmented control and tab bar.
  2. 02Ticket selectionQuantity stepper, subtotal and error alert.
  3. 03TicketQR code that swipes between the tickets in the order.
  4. 04Access checkSix-digit code with focus and confirmation.

Screens recreated in HTML with the system’s components and tokens, with no brands and sample data.

System scoreboard

25

families of base components, plus slots, containers and templates

1,100+

variants across 63 component sets

437

variables in 5 collections

39

text styles in a single type family

Next level

Level 04

From spreadsheet to order in 2 days: the Havaianas franchisee ordering portal

B2BRetailWeb

>75% of orders closed in the first 2 days