01
Visual inconsistency
Screens and products used different colors, typography and components from one another.
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
Without a common ground, every screen solved the same problems in a different way. Three symptoms kept coming back:
01
Screens and products used different colors, typography and components from one another.
02
There was no shared library: each designer rebuilt the same pieces.
03
Colors and measures were loose values, with no variables. Light and dark themes and different densities had no support.
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.
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.
Colors, typography, spacing and radii, stored in variables.
25 families, from buttons and fields to navigation, cards, alerts and modals.
Structures that receive components and organize content.
Ready-made combinations that speed up the design of new screens.
Foundations
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
neutralOrange
orangeBlue
bluePurple
purpleGreen
greenYellow
yellowRed
redPink
pinkA 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
switzerSwitzerRegular · Medium · Semibold · Bold · Extrabold
typescale
39 stylesSix 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.
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 px2
4
8
12
16
24
32
40
48
64
80
96
128
Tokens
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.
Primitive
01color/orange/light/600 Semantic
02background/brand Component
03The 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 typographyMode
54
light · darkScale
78
Default · Compact · ExpandedPlatform
13
Mobile · DesktopShape
7
Radii and surfacesThis 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
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.
The Platform collection holds what changes between phone and desktop: screen widths, columns, margins and what stays hidden on each.
Components
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
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.
Screens recreated in HTML with the system’s components and tokens, with no brands and sample data.
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
Level 04
>75% of orders closed in the first 2 days