← All work

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.

In use
Zastrpay design system type, colour and components
RoleProduct Designer
SurfacesPOS terminal and web app
ScopeAudit, tokens, components, themes
ToolsFigma libraries
PowersCustomer App and POS App
Problem

POS and web had grown separately: same brand, diverging buttons, inputs, states and colours, with no path to dark mode or new markets.

My role

I audited both surfaces, defined the tokens and published them as a governed Figma library.

Result

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.

Zastrpay tokens
Deposit 10.00 €

Recipient: Tipico

Mobile number
+49 654 0000 000
PIN
•••
Success: code sent by SMS
Error: wrong PIN, 2 tries left
Info: the code is valid for 15 minutes
Warning: check your amount
H1 Headline26/30 SemiBold
H2 Headline22/26 SemiBold
H3 Headline20/23 SemiBold
H4 Headline18/23 SemiBold
Subhead16/21 SemiBold
Paragraph16/21 Regular
Caption 114/18 Regular
Caption 212/14 Regular

Problem

  • 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.
RoleLight base / tint / outlineDark 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.

Dark blue#4b4b648.43:1 AAwhite text
90#5d5d736.40:1 AAwhite text
80#6f6f834.90:1 AAwhite text
70#8181933.82:1 AA largewhite text
60#9393a23.02:1 AA largewhite text
50#a5a5b23.46:1 AA largeink text
40#b7b7c14.24:1 AA largeink text
30#c9c9d15.12:1 AAink text
20#dbdbe06.11:1 AAink text
10#ededef7.21:1 AAink text
Snow#f7f7f77.87:1 AAink text
White#ffffff8.43:1 AAink text

Dark mode surfaces, ZA-DM

Background#212127
Card#2c2c35
Secondary#323241

A 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

CTA shadow
Header shadow

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

Default
+49 654 0000 000
Focus
+49 654 12
Error
+49 65
Disabled
Not editable
Code sent by SMS
Wrong PIN, 2 tries left
Valid for 15 minutes
Check your amount
PrimarySecondaryDisabled
123456789,0←

Dark ZA-DM

Default
+49 654 0000 000
Focus
+49 654 12
Error
+49 65
Disabled
Not editable
Code sent by SMS
Wrong PIN, 2 tries left
Valid for 15 minutes
Check your amount
PrimarySecondaryDisabled
123456789,0←

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.

Liked these sheets?

Let's build something.

mishakhaliq@gmail.com
LinkedIn Download CV