Design system, Zastrpay, 2022 to 2025
Zastrpay Design System
One visual language for POS terminals and the web app behind them: typography, colour, states and light and dark theming, so a distributed team could ship consistent screens on two very different surfaces.

POS and web had grown separately: same brand, diverging buttons, inputs, states and colours, with no path to dark mode or new markets.
I audited both surfaces, defined the tokens and published them as a governed Figma library.
Both surfaces pull from the same tokens, with every component state documented once and dark mode built in.
Try the system
The real tokens from the Figma library, rebuilt live. Switch themes to see the same components in light and dark, check each colour's contrast, and click a swatch to copy its hex.
Deposit 10.00 €
Recipient: Tipico
Mobile numberProblem
- Inconsistent components. Buttons, inputs and messages were rebuilt per feature and per surface, so spacing, colour and feel drifted.
- No documented states. Error, success and disabled treatments existed but weren't specified, so engineers approximated them.
- No path to dark mode or new markets. Hard-coded colours and copy meant every theme or market needed screen-by-screen rework.
Process: audit, then tokenise
I audited screens across POS and web, sorted shared from surface-specific, and rebuilt the shared layer as named Figma styles instead of one-off values.
- Type scale: Raleway, five heading levels plus caption, subhead and paragraph roles, each with an exact size, line height and weight.
- Colour by role: info, error, warning, success and neutral, each with light and dark values, so one token drives both surfaces and both themes.
- Governed styles: text, colour and effect styles published as a library, including a dark-mode set.
| Role | Light base / tint / outline | Dark ZA-DM base / tint / outline |
|---|---|---|
| Success | Success message #3d8550#f1f9f3#c7ebd0 | Success message #49c297#254125#35693e |
| Error | Error message #c43b4d#fdf2f3#f7caca | Error message #c43b4d#722a30#a4313b |
| Info | Info message #237a90#ebf7fa#b8dcea | Info message #229eb4#234652#236376 |
| Warning | Warning message #efb700#fffcf0#fbf3ad | Warning message #efb700#693c0c#a66407 |
An accessible colour system
The original palette was a flat set of brand swatches with no tonal range. I rebuilt each hue as a 0 to 950 tonal ramp, checked against WCAG AA contrast minimums, and used it to drive both themes from one source.
Before
Flat brand swatches, one value each
After
Tonal steps with contrast checked per use. Ratio shown against the stronger of white or ink text.
#4b4b648.43:1 AAwhite text#5d5d736.40:1 AAwhite text#6f6f834.90:1 AAwhite text#8181933.82:1 AA largewhite text#9393a23.02:1 AA largewhite text#a5a5b23.46:1 AA largeink text#b7b7c14.24:1 AA largeink text#c9c9d15.12:1 AAink text#dbdbe06.11:1 AAink text#ededef7.21:1 AAink text#f7f7f77.87:1 AAink text#ffffff8.43:1 AAink textDark mode surfaces, ZA-DM
#212127#2c2c35#323241A governed library
Type, colour and effect tokens published as named Figma styles, including the ZA-DM dark set and dedicated CTA and header shadows, so the system stays one source.
Text styles
ZA set
- ZA Headline H122 / Auto
- ZA Balance32 / Auto
- ZA Headline H219 / Auto
- ZA Paragraph14 / 20
- ZA Caption12 / Auto
Text style set
- H1 Headline26 / 30
- H2 Headline22 / 26
- H3 Headline20 / 23
- H4 Headline18 / 23
- Body18 / 23
- Subhead16 / 21
- Paragraph16 / 21
- Caption 114 / 18
- Caption 212 / 14
- Results16 / 22
Colour styles 69 tokens
Primary
- Brand red
#c8102e - Light brand red
#df2a48 - Dark brand red
#970c23 - CTA
#158664 - POS CTA
#4b4b64 - Tertiary blue
#237a90 - Tertiary green
#28a95b - Font colour
#4b4b64 - Secondary font
#777384
Secondary
- Light blue
#ebf7fa - Yellow
#efb700 - Light yellow
#fffcf0 - Light red
#c43b4d - Brick
#fae0e0 - Dark green
#3d8550 - Light green
#f1f9f3
ZA-DM
- Background
#212127 - Cards
#2c2c35 - CTA
#24a67d - Greens
#49c297 - Tertiary
#229eb4 - Red base
#722a30 - Green base
#254125 - Blue base
#234652 - Yellow base
#693c0c
Effect styles
Effects
Shadow values here are illustrative of the two named effect styles.
Every state, not just the happy path
Inputs (default, focus, error, disabled), inline messages (success, error, warning, info), buttons, modals and full numeric and QWERTY keyboards, each for light and dark and for POS and web.
Light
Dark ZA-DM
What it unlocked
- One library, two surfaces. New screens start consistent instead of being reconciled later.
- States, specified. Documented once, reused everywhere, closing the gap at handoff.
- Ready for what's next. Dark mode and localisation live in the token layer.