All work

A design system that speaks the language of code

Consistency for every brand, speed for every team, and a front-end AI can assemble.

Consistency for every brand, speed for every team, and a front-end AI can assemble.

Brand & Role

Bethink / Design System Lead. Defined the system's foundations and designed the token and component architecture and documentation.

Timeline & Status

Evolving since 2021 · Live across three platforms on web and mobile

Brand & Role

Bethink / Design System Lead. Defined the system's foundations and designed the token and component architecture and documentation.

Timeline & Status

Evolving since 2021 · Live across three platforms on web and mobile

Product

Three e-learning platforms for medical students, doctors and high-school students, from Poland's largest provider of medical courses (7 in 10 young doctors in Poland prepare for their exams with it): wiecejnizlek.pl, medcourses.com, wiecejnizmatura.pl

Team

Product owner, product designers and front-end developers

Product

Three e-learning platforms for medical students, doctors and high-school students, from Poland's largest provider of medical courses (7 in 10 young doctors in Poland prepare for their exams with it): wiecejnizlek.pl, medcourses.com, wiecejnizmatura.pl

Team

Product owner, product designers and front-end developers

Cover of the Bethink design system case study: the title “Multi-brand Design System” beside token documentation in light and dark mode, a table mapping semantic tokens to two brand themes, and the line “Two modes. One language.
What changed

01

01

Turned designers and developers into one product team

Turned designers and developers into one product team

Turned designers and developers into one product team

02

02

New brand themes shipped in a few hours

New brand themes shipped in a few hours

New brand themes shipped in a few hours

03

03

Front-end delivery at least 30% faster with AI

Front-end delivery at least 30% faster with AI

Front-end delivery at least 30% faster with AI

Bethink's learning platform was first built straight in code, before the company had a single designer. By the time the design system started, the platform worked, but underneath it was a patchwork: the same components built several times over, colours copied with a colour picker, and no shared rules between design and code.

I started the design system, designed its foundations and component architecture, and planned how to roll it out into a product that never stopped shipping. Today it covers roughly 85% of the platform, gives each brand its own theme in a matter of hours, and sits so close to the code that developers now build front-end from Figma files with AI, at least 30% faster.

At a glance

  • 100+ components

  • 500+ semantic colour tokens

  • 3 brand themes and a dark mode in beta

  • ~85% of the platform runs on the system

  • 30%+ faster front-end delivery with AI

STARTING POINT

A platform that grew faster than its rules

The first version of the platform was built on Bulma, a CSS framework. Bulma was fine for a start and too rigid for what came next, so new modules brought components built from scratch, outside the framework. Similar elements ended up with different structures and slightly different looks, and a single fix often meant hunting down several copies.

The foundations weren't in better shape. Raw HEX values, Bulma colours and loose variables lived side by side in the code. Designs came from Sketch, and their values didn't always match what was in the code, so developers read colours with a colour picker and guessed the paddings. Nothing was documented, and accessibility wasn't on anyone's list.

And the platform was about to carry more than one brand. Copying the mess once per brand was not a plan anyone wanted to sign.

APPROACH

No freeze, no dedicated team, no big-bang redesign

The product was live, and the people who would build the system were the same people shipping its features. A six-month pause for a full redesign wasn't an option. The system had to grow inside product work, one initiative at a time.

That ruled out the two usual routes. A ready-made Figma UI kit would have saved time on day one, but none was close enough to our code or flexible enough to live next to old components, and Bulma had already shown us what a closed library costs. A system drawn by designers and handed over to developers would have rebuilt the exact gap we were trying to close.

So I proposed a third route: our own system, designed with developers, so it could grow in Figma and in Vue at the same pace. Not everyone was convinced. Several developers and the other designer doubted it would ever pay off. The product owner, a co-owner of the company with a strong technical background, saw it as an investment and helped me make the case. My job was to keep the system alive long enough for it to prove itself.

What I owned: the initiative itself, the token architecture, the component architecture in Figma, the inventories, benchmarking and the migration plan. I also ran documentation and design review in Storybook together with the developers.


FOUNDATIONS

One token structure: every brand and dark mode became a layer, not a redesign

Brands live in colour, so that's where the architecture started. I designed the structure and refined it with developers until it held up in code. It has two layers.

Primitives are the raw palette. I generated it in Leonardo from the old HEX values, so the platform stayed recognisable, with WCAG AA contrast as the target. Each brand adds its own Theme scale.

Semantic tokens name the job a colour does. color-primary-text-strong-hovered reads like a sentence: primary colour, for text, strong, on hover. There are 511 of them. Every time the team touches a view, its leftover raw colours get swapped for these.

So a component never asks for a hex value. It asks for "primary text, strong". A new brand swaps the Theme scale underneath and gets its own mode in Figma. Setting one up takes a few hours.

Typography, spacing, borders, and radii got only the layers they needed. One thing we skipped on purpose: component tokens. We didn't yet know most of the components the system would need, so a structure chosen then might not have held up. Rolling it out would also have taken far more work than the team could spare. Too risky and too costly at that stage, so we left it out by choice.

Then came the real tests. Bodywork, an external client, got the first white-label theme. Medcourses, heading into the US and UK, needed a platform with a look of its own, and got one without a single component rebuilt. Dark mode followed and is now live in beta.

COMPONENTS ARCHITECTURE

Content-agnostic components, built on slots before Figma introduced them

One principle drives the library: a component knows how it looks and behaves, but not what it will carry. A chip doesn't know if it's a tag, a filter or a category. It's just a pill with text, an optional icon and a colour.

Containers like the card follow the same idea through slots. Header, content and footer each accept other components and come with a sensible default whose properties show up on the parent. The common setup takes a few toggles. When a module needs something else, the slot takes it, and the card keeps its spacing and behaviour.

Figma had no native slots back then, so we built our own pattern to mirror Vue, long before they arrived.

Still, props come first because they're predictable. A slot opens only when variants would multiply, the content needs full freedom or props would get too complex. And we built only what the current initiative needed, with no variants for hypothetical futures.

Behaviour-heavy components, like form controls, run on Reka, a headless library. It brings tested mechanics, and the system brings every pixel.

ADOPTION

One language for design and code, and a team that now guards it

Early on, one component could take three to four hours of debate. Component, variant and property meant different things in Figma and in Vue, so we went back to basics and agreed on shared terms. Now every component passes a props and slots review before it's built, names match in design and code, and auto layout behaves like flex. 92 of 95 Storybook components link back to Figma, and anyone on the team can contribute through review.

It took almost two years. Then reviews sped up, developers assembled ready blocks instead of guessing, and the sceptics became the system's guardians.

The rollout followed the product. Colours moved in one big migration. Everything else changes when an initiative reaches a view, refreshed gently so half-old, half-new screens don't look like Frankenstein.

The question bank shows how. In one release, its questions moved into the design system card, with a ribbon and the new discussions inside, while the old answer and explanation components stayed put. Old and new code now share one view in production.

AI IN THE WORKFLOW

Built for people, tuned for AI

We didn't build the system for AI. But when developers started building front-end with Claude Code, they found our Figma files read almost like code. Component names, properties, spacing, text styles and colours map directly onto what already exists in the codebase.

AI reads the design, picks the right components and sets their props. When something doesn't match, it flags it for a developer instead of changing the system on its own. In my view, that works only because design and code shared one language from the start. Once we saw it, we tuned the system on purpose, with stricter files and a leaner handoff.

AI improved design review too. States that are hard to reach on the platform now get their own review page, with switches for language, device and state.

Discussions 2.0 was built this way. The product owner and developers estimate that the same team now ships front-end at least 30% faster, with far fewer rounds of fixes.

I didn't lead the AI work. The developers did. What made it possible was the system.

The Business Impact

Where it stands today

  • High Platform Coverage: Roughly 85% of the entire platform now runs on the design system, and 100% of its colours come from the new foundations.

  • Core Product Scalability: Entire core modules, including the question bank, lesson planner, flashcards and media manager, are built natively from our component library, where design is in sync with code.

  • Brands in Hours, Not Redesigns: Three brand themes and a dark mode in beta run on one token structure. A new theme now takes a few hours.

  • Faster Delivery: Component changes move significantly faster, and with AI the same team ships front-end at least 30% faster.

  • Team-Wide Ownership: All product designers and developers build on the design system and extend it.

  • Cross-Product Influence: The architectural patterns established here successfully laid the groundwork for a secondary multi-brand design system powering Bethink's marketing web ecosystem.