ilevar Design System — Case Study | Elias Ricardo Skip to main content

Design system case study · 2026, ongoing

ilevar design system

ilevar is built at AI speed: I design in Figma and ship with coding agents. Speed made every screen a little different, and the product started to look generated. This is the system that gave it one voice, written so that people and AI agents follow the same rules.

The Generate personalised homework dialog from the Figma file: recent lessons with their mistakes and vocabulary, languages, folded advanced options and the Generate & assign button.
The Add New Student dialog after saving: Student registered, with the temporary access password ready to copy and an OK button.
Straight from the Figma file: the AI homework generator, a student just created, and a quiz drawn for the teacher and the student.
607
components in Figma
1,426
variants, states included
271
design variables
30
pages, from tokens to every screen

When

2026 – present

Problem

Built fast with coding agents, ilevar grew screen by screen and started to look generated: two primary buttons, hand-made copies of components, colour that meant nothing.

My role

Designer and owner of the system: the audit, the decisions, the Figma library with every state, the AI feature design, and the rules agents follow in code.

Result

One visual language from landing to live room: 2 identities down to 1, 3 colour maps per meaning down to 1, every colour paired for WCAG AA, 113 automated checks, and 607 components with 1,426 variants in Figma that people and AI agents follow.

Part I

The system

What was breaking, how I worked, and the principles, components and states that made ilevar look like one product again.

01Problem

Fast, and starting to look generated

When agents write most of the code, every new screen arrives quickly and slightly different: its own button, its own badge, its own shade of blue. Nothing is broken, but the product loses its voice. By July 2026 ilevar had what the system document now calls the “AI slop” look: competing visual languages inside one product. Before deciding anything, I audited it.

  • A second loud button

    The brand orange had become “the other button”. Screens had two filled actions and no hierarchy.

  • 10 hand-made copies

    The landing page had ten copies of a label the product already had as a component. Six used the fill colour as text, down to 1.71:1.

  • 3 colour maps, 1 meaning

    Levels were coloured in three places that disagreed. One of them painted A1 blue and B1 amber, so a level changed colour between screens.

  • 2 identities

    An older “chunky” style survived in 18 of 228 files. Its signature outline measured 1.23:1 against the card: invisible, held up by 37 !important rules.

Four findings from the audit. Every number comes from counting the code, screen by screen and file by file.

The fix was not a new coat of paint. It was a small set of decisions, made once, drawn in Figma, built as components and written down where both a teammate and an agent would find them. The rest of this case is those decisions.

02How I worked

Five months, one designer, many agents

I design ilevar and own its system end to end. I made the decisions, drew them in Figma and shipped them with coding agents doing most of the typing. Teachers and school owners reach us through support, so what goes wrong in a real class comes back to me quickly.

  • Decide

    Audit the product, write the rule, and say no to what breaks it.

  • Draw

    Every component and state in Figma, with a description a person or an agent can follow.

  • Ship

    Build it with coding agents, against tests that fail when the rule is broken.

  1. Jul 16

    Audit and structure

    Components reorganised into atoms, molecules and organisms. 361 coloured texts moved to readable colour pairs.

  2. Jul 17

    One identity

    The chunky style retired, orange taken out of the interface, selection always blue. Every rule that can be checked got a test.

  3. Sep 12

    Sweep of hand-made values

    676 hand-typed font sizes replaced by four named steps. Layers and brand colours named once.

  4. Sep 27

    A button for AI

    The ai and ai-soft variants, so actions that call a model look different from actions that save.

  5. Oct 10

    Figma meets the code

    Figma inventories generated from the code and reconciled, so the file draws what users actually get.

  6. Nov

    AI you can trust

    Every screen recounted, the page shell drawn, answer checks for AI homework, and the Claude connector.

The main milestones of 2026, taken from the history of the system document.

03In motion

The system, moving

Before the details, the result. These are screen recordings of ilevar’s public site: the current landing and the one before it, with two of its feature demos. The new landing replaced a generated page in November 2026 and was built with the design system’s tokens from an approved Figma design, which is the goal of the system in one example: one identity from the first scroll to the live classroom.

www.ilevar.com

04The system

The whole product, in one Figma file

The file follows the order people learn a system: foundations, icons, atoms, molecules, organisms, shared patterns. Then come 22 pages of real screens organised by role and flow (student homework, teacher classes, school settings, the live room, the admin), all built from the library. A last page keeps components that no longer exist in the code, so nothing obsolete gets reused by accident.

Ilevar — Design system / 01 · Foundations

Every swatch names its variable in code

  • The brand ramp runs from 50 to 950; 700 is the brand blue.
  • Each status colour comes as a background, a text colour on that background, a text colour on white and a muted tint.
A tour of the Figma file. Pick a page; click the image to see it at full size.

05Figma canvas

Inside the file: organised by who uses it

After the library, every page of the file belongs to a person: the student, the teacher, the school owner, the live room or the admin. A designer, a developer or an agent looking for “the student’s homework card” knows which page to open before searching.

  1. Library · 6

    • 00 Index
    • 01 Foundations
    • 02 Icons
    • 03 Atoms
    • 04 Molecules
    • 05 Organisms
  2. Shared · 3

    • 06 Auth and account
    • 07 Public site
    • 08 Shared patterns
  3. Student · 4

    • 09 Dashboard
    • 10 Homework
    • 11 Bookings and teachers
    • 12 Messages and notebook
  4. Teacher · 5

    • 13 Dashboard
    • 14 Classes
    • 15 Students
    • 16 Lessons and availability
    • 17 Dialogs and flows
  5. School owner · 2

    • 18 Settings and setup
    • 19 Manage
  6. Live room · 4

    • 20 Activities
    • 21 Lesson plan
    • 22 Video and shell
    • 23 Chat, students and lobby
  7. Admin · 4

    • 24 Overview
    • 25 Tenants and users
    • 26 System
    • 27 Data parts and navigation
  8. Quarantine · 1

    • 90 Deprecated · no code in src
All 30 pages of the file, grouped the way people look for them: the library first, then screens by who uses them.
Ilevar — Design system / 09 · Student dashboard01/08
A whole page of the Figma file, 09 · Student dashboard: calendar, today panel, session rows, the mascot, next lesson cards, level progress cards, streak and homework cards, each with all its states and breakpoints.

The whole page

A fly-through of one real page of the file, exported from Figma. It pauses when you hover it; pick a stop to jump there.
The Room activities page of the Figma file: quiz, fill in the blank, writing, flashcards, drilling, matching, listening and interactive video, each in a teacher and a student version, plus video, image, PDF and end screen.
Page 20 · Room activities, scrolling past: 12 activity types, the interactive ones drawn once for the teacher and once for the student. Hover to stop it.

06Principle 1

One primary action per screen

The second loud button had a funny origin. In the component library ilevar started from, the button called “secondary” is neutral by convention. ilevar had stored its brand orange under that name, so every secondary button inherited the brand accent. Nobody chose to have two primary actions. A name chose it.

Before

Two filled colours side by side: which one is the main action?

After

Every action is blue. Orange lives only in the mascot and the logo.

The same pair of actions, before and after. One leads; the other steps back.

Today there is one button component with 11 variants, and each variant has one job. Two of them, with a blue-to-violet gradient, are reserved for actions that call AI, so a teacher can always tell “this will generate something” from “this will save”. The gradient starts from the school’s own brand colour, so it still feels like their product.

The button component set: 11 variants × 3 sizes × 3 states. The ai and ai-soft variants appear only on AI actions.

07Principle 2

Colour has one job at a time

The lesson playground gave every activity tab its own colour: quiz blue, flashcards orange, matching coral. It looked lively, but it disagreed with the colours used everywhere else, and two activities shared a colour, so it did not identify anything. It was decoration dressed up as meaning. I split the three jobs colour had been doing at once.

  • Selection says “This one.”

    A selected tab, chip or menu item is always the brand blue, whatever it contains.

  • Status says “This worked / needs you / failed.”

    Four tones, and one component that maps every status in the product to one of them.

  • Category says “This is a different kind of thing.”

    A separate palette whose only job is telling things apart, like the 16 activity types. It never means status.

Three jobs, three sets of colours. Each map is defined in one place only, so a level or an activity cannot change colour between screens.
Selection: navigation drawn with and without an active item. Blue means “you are here”.
Category: the 16 activity types share one badge. The colour tells them apart and never signals status.
Level: the one CEFR map, A1 to C1, in a real component. The ring, the chip and the dashboard banner all read the same colour for the same level, which is what the third map used to break.

Every colour also comes as a pair: one version to fill a background and one to use as text on white, because a light green that works as a badge is unreadable as a word. Contrast stopped being something to remember and became part of the token.

08Principle 3

Every state is designed before anyone asks

An agent will happily build the happy path. What it invents on its own are the other states: the loading spinner, the empty list, the error, the case nobody mentioned. Those are exactly the moments a teacher remembers. So in ilevar a component is not finished until its states are drawn, as variants of the same component, next to each other.

Add a student · 1 dialog, 8 states

Add New Student dialog, empty: name, email, optional password with a hint, timezone with a Use this device link, an under-18 consent checkbox and the Add student button.

The password is optional: left blank, the student gets a temporary one by email. The timezone is asked up front, with “Use this device”, because every lesson time depends on it.

Six of the eight states of one dialog, each a variant of the same Figma component. The other two are the school owner’s version (with “assign to”) and a medium-strength password.

Some of these states are product decisions, not just visuals. The under-18 state exists because a school has to record a guardian’s consent. The same rule runs through the whole file: the class notebook has its empty and loading states, and the lesson plan has a state for resuming a class halfway, because real classes get interrupted and a teacher should not have to remember where they stopped.

A class selected, nothing selected yet, loading, no classes at all, no classes for this student, and opening. The empty states say why they are empty and what to do next.Accessibility in these statesFaded on purpose“Open Notebook” stays off until a class is picked, drawn at 50% opacity. WCAG 1.4.3 exempts inactive controls from contrast, and the button still names the action it will take.Loading in wordsWhile the notebook opens the button reads “Opening…” next to the spinner, and Cancel locks too, so the request cannot be cut in half. The list spinner has a translated label for screen readers.Named for assistive techThe title and the sentence under it are the dialog’s accessible name and description, and every field has a visible label.Focus you can seeEvery button has a focus ring at 5.99:1 against the page, above the 3:1 that WCAG asks for, drawn without transparency so it never fades.Still openA disabled button cannot take focus, so a screen-reader user may never learn why it is off. The fix is a focusable button with aria-disabled and a “Pick a class first” hint.

09Components

Components that know what time it is

A school product runs on a timetable, so many components change with the clock. I drew them as states of one component instead of separate cards, which keeps the same place on the screen meaning the same thing all day.

09:45the student opens the dashboard
NextLessonCard, state Scheduled

NextLessonCard · 4 states

The button is there but disabled, and it says when it opens: “Opens 10 min before the lesson”. Nobody wonders why it does not work.

One card, four moments of the same morning. Each state is a variant in Figma, for desktop and for mobile.
SessionRow: six statuses. Confirmed, the normal case, carries no badge; only the exceptions ask for attention.
PendingHomeworkCard: to do, in progress, overdue. The button changes from “Start” to “Continue”; overdue only adds a badge, it does not shout.
  • Astro the mascot, pose LaptopPose=Laptop
  • Astro the mascot, pose CelebratingPose=Celebrating
  • Astro the mascot, pose FloatingPose=Floating
  • Astro the mascot, pose QuestioningPose=Questioning
Even the mascot is a component. Its pose is a property, so a screen picks a mood instead of asking for a new drawing.

10Accessibility

Accessibility is part of the token, not a checklist

A bright colour that works as a badge is unreadable as a word. Instead of asking everyone to remember that, every colour in ilevar comes as two tokens: a fill for backgrounds and an ink for text on white. Picking the wrong one is not a judgement call anymore; a test fails.

  • Blue

    Confirmed 2.67:1
    Confirmed 13.48:1
    fillink
  • Yellow

    Confirmed 1.71:1
    Confirmed 9.31:1
    fillink
  • Success

    Confirmed 3.40:1
    Confirmed 6.15:1
    fillink
Real tokens from the product. Contrast of each colour as text on white; WCAG AA asks for 4.5:1.

The brand blue is the one exception: at 6.26:1 it works as both, so it has no separate ink. Every other colour, including the 12 category colours of the activity badges, has its pair.

  • Focus you can see

    The focus ring measures 5.99:1 against the page. It used to be drawn half-transparent, which halved its contrast; the button was fixed.

  • Motion with an off switch

    Every animation in the stylesheet is turned off for people who ask their system for reduced motion. A test checks each one.

  • Checked against the real colours

    Contrast is calculated from the live stylesheet, not from a spreadsheet. If a change fails, the token is fixed; the limit is never lowered.

11The live room

Every activity, designed twice

In the live classroom the teacher and the student look at the same activity at the same moment, but they need different things from it. The teacher needs the answer and the control to reveal it; the student needs to answer without being told. So every interactive activity is drawn for both, side by side, from the same data.

TeacherStudent
Quiz. The teacher sees the right answer and the student’s choice first, and decides when to reveal it. The student only sees that the answer was sent.
Matching. Same component, same data. The teacher reads it as a marking sheet; the student plays it as a game.
Fill in the blank. The teacher sees the answers in place; the student gets the sentence in their own language as a hint, the gaps and one button, Check.

Part II

Design for the AI era

AI writes lessons for teachers, makes mistakes, asks for access, and writes code for the product itself. Each of those needed design.

12AI features

Designing the moments the AI does the work

ilevar generates lessons and homework with AI. Those screens carry the most risk, because a teacher has to trust something they did not write. They are built from the same components as everything else. What makes them different is a handful of decisions about what the teacher sees before, during and after the model works.

During

Progress in words, not a spinner.

While the lesson is generated the options fold away and the panel says what is happening: “Understanding topic and level…”, then “Assembling the lesson timeline…”. When it is done, the lesson lands in the builder as ordinary activities, drawn with the same components, that the teacher can edit, reorder or delete.

The lesson generator while it works: a progress ring and the words “Understanding topic and level…” and “Assembling the lesson timeline…”.
The Generate personalised homework dialog: class notes or external text tabs, a list of recent lessons each with a count of mistakes and vocabulary, a supplementary text field, lesson and student language, folded advanced options with their defaults, and the Generate & assign button.
  1. Homework from class notes
  2. 1

    Names its sources

    The description says exactly what the AI will read: this student’s class notes, mistakes and vocabulary.

  3. 2

    Shows the input before it is used

    Each recent lesson lists its mistakes and new words, so the teacher picks the lesson with the most to practise.

  4. 3

    Folded, but honest

    Advanced options stay closed, and the closed row says what the defaults are: mixed focus, no specific topics, no due date.

  5. 4

    The button names both consequences

    “Generate & assign”: the homework goes to the student right away, and the label says so. The gradient is the AI button variant, used only on actions that call a model.

Personalised homework, generated from what happened in class. The names are sample data from the Figma file.

13When AI is wrong

Designing for the answer the AI got wrong

Generated homework looked right and was sometimes wrong in the worst possible way. A fill-in-the-blank read “I need to ___ the oven before baking”, and the AI had marked “switch off” as the answer. A student wrote “switch on” and was marked wrong. The screen repeated the model’s confidence, and the student paid for it.

Fill in the blank

I need to the oven before baking.

The colours did exactly what the system says they should: green for right, red for wrong. The design was consistent and the content was false. A design system cannot catch that on its own, so the fix had to reach into how the content is made and what the teacher is told.

The exercise as it was generated. The interface had no way of knowing the key was wrong.
  1. 01

    Generate

    The model writes the exercises and marks an answer key.

  2. 02

    Check blind

    A second pass answers every question without seeing the key.

  3. 03

    Keep or drop

    An item stays only if both agree and no other option also fits. The rest are generated again.

  4. 04

    Tell the teacher

    If something could not be checked or delivered, the homework says so before the student starts.

The last step is the design decision. When the AI could not deliver something, the old behaviour was a silent fallback: filler exercises nobody had asked for. Now the fallback only includes what can be correct without AI (a grammar card, matching, flashcards, writing), never an invented quiz, and the teacher gets a warning that stays on screen long enough to read.

The homework is assigned, but we couldn’t automatically check the answers of its quiz and fill-in exercises. Review them before the student starts.

The homework is assigned, but some exercises didn’t pass the quality checks and were left out. Review it before the student starts.

Two of the warnings, with the product’s own copy. Each one says what happened, what is already done, and what to do next.

Honesty includes the case: the check is new, and how often it catches a wrong key on real homework is not measured yet. That number is the next thing I want on the dashboard.

14AI as a user

When the one asking for access is an AI

A school owner can now connect Claude to ilevar and ask it things like “list this week’s lessons”. That makes an AI assistant a new kind of user of the product, and it raises a design question that did not exist a year ago: how does a person decide what an AI is allowed to see?

ilevar

Connection with Claude

Connect Claude to your school

What this AI will be able to do

  • View the school’s lessons
  • View the student list
  • Look up platform help
  • Cannot create, change or send anything

You can revoke access at any time.

  1. 1

    Permissions in plain words

    Not technical scope names: “View the student list”, written the way a school owner would say it.

  2. 2

    What it cannot do, just as visible

    “Cannot create, change or send anything” sits in the same list, so the limit is read, not assumed.

  3. 3

    Only the owner can say yes

    Anyone else who reaches the screen gets a clear “Restricted access” state instead of a button that fails.

  4. 4

    Easy to undo

    The screen says access can be revoked at any time, and the integrations page lists every active connection with a Revoke button.

The consent screen, rebuilt here with its production copy. It ships in Portuguese, English, Spanish and French.

One detail I like: the screen shows the ilevar logo and names Claude only in text. Putting another company’s logo on your own consent screen borrows trust you have not earned, and their brand guidelines ask for exactly this.

15Design × AI

A design system that AI agents can follow

In a product built with coding agents, the design system has a second audience. A teammate learns the system once; an agent meets it fresh every session. If the rules only live in my head, or only in Figma, the agent will guess, and its guesses are exactly the generic look the system exists to prevent. So I wrote the system for both readers.

  1. 01

    Code holds the truth

    Colours and components live in the code. Their inventory is exported from it, so Figma is reconciled against what users actually see.

  2. 02

    Figma holds the intent

    Every component description names its file in the code and its rules, written so that a person or an agent reading the file gets the spec.

  3. 03

    Agents follow, and review

    The agents’ own reference file carries the system’s rules as “avoid this, do this”, with the test that will fail. A design reviewer agent checks work against it when an issue asks for it.

  4. 04

    Tests catch the drift

    113 automated checks reject what slips through: low contrast, raw colours, hand-made copies, the retired orange button.

How the system stays in one piece while agents write most of the code.

Component description · AiGeneratorPanel

AI lesson generator, shown inside the lesson builder card above the blocks when “Generate with AI” is used.

Generating: the options are hidden, the button reads “Generating...” with a spinner, and a dashed box cycles “Understanding topic and level…”, “Assembling the lesson timeline…”. The result is saved and the builder shows the real activities.

src/components/dashboard/lesson-builder/AiGeneratorPanel.tsx

An excerpt of a real component description in the Figma file. It reads like a spec, and it points to the code.

Written into the system: do not

  • Gradient blobs and auroras
  • Badges that pulse for decoration
  • Grids of identical cards
  • Icons in coloured boxes as decoration
  • Everything centred

The patterns that make a screen look generated, named one by one so an agent cannot reach for them by default.

Taste, written down. The list came from rejecting these patterns in real reviews.

The design reviewer agent has two rules I am especially happy with. When it can open a browser or the Figma file, it must compare the rendered screen with the design instead of guessing from the code. And it must not invent a pattern the system does not have: if there is no rule for a case, it says so, and that gap comes back to me as a design decision.

The result is the part I care about most in this era of vibecoding. Agents make building cheap; the system keeps the product from looking cheap. My job moved from drawing every screen to deciding the rules that every screen, drawn or generated, has to follow.

Part III

Results

What changed, measured where the system lives, what is still open, and where every number comes from.

16Impact

What changed, in numbers

ilevar has no design team to survey, so I measured the system where it lives: in the code and in the Figma file. These numbers are counts, not estimates, and the system document keeps them dated.

  • 21

    visual identity, from the landing page to the live room

  • 31

    colour map per meaning: one source each for level, activity and status

  • 370

    !important rules fighting the components

  • 6764

    hand-typed small font sizes, replaced by four named steps

  • 361

    coloured texts moved to a readable ink

  • 113

    automated checks in 5 test files guard the rules on every change

On the Figma side the library reached 607 components and 1,426 variants, with every screen of the product drawn from it across 22 pages. The part that numbers do not show: new screens, written by agents, now arrive looking like ilevar.

17What is open

What is still open, and what I learned

A design system is never finished, and pretending otherwise is the fastest way to lose a team’s trust. This is what is still open, with the same honesty as the rest of the system document.

  1. 01

    Buttons still written by hand

    400 raw buttons in 147 files, next to 485 uses of the Button component. Some are legitimate; the audit of which ones has not been done.

  2. 02

    One page shell for every page

    Only 18 of 66 dashboard pages use the shared page header. The page shell is drawn in Figma for desktop and mobile; the migration is next.

  3. 03

    Page titles in 7 styles

    57 page titles use seven different sizes and weights. A test will enforce one scale once the migration lands, not before, so it does not break everything at once.

  4. 04

    Measure the AI check

    Track how often the blind check catches a wrong answer key on real homework.

Three lessons I take to the next team

  • Names make design decisions

    Nobody chose a second primary button. A colour stored under the wrong name did. Naming is design work.

  • A test that passes empty is worse than none

    I broke every rule on purpose to see its test fail. Two of them passed anyway, and only that check revealed it.

  • Write for the reader who forgets

    An agent meets the system fresh every session. Rules written for that reader turned out clearer for people too.

18References

Sources and references

Where every number and screen in this case comes from, and the standards the system is measured against.

In the product

  • docs/design/DESIGN_SYSTEM.mdThe system document in the ilevar repository. Every count in this case comes from it, dated 12 November 2026.
  • Figma · Ilevar — Design system30 pages, 607 components, 1,426 variants. The screens in this case are exports from it.
  • Commits 8aea5bea and 44d1ff77The blind answer-key check, the removal of the silent fallback, and the teacher warnings.
  • Commits 7025424a and 4ba36c09The consent screen for Claude connecting through MCP.
  • messages/en.jsonThe production copy quoted in the warnings and the consent screen.

Design that holds up at AI speed

I design systems in Figma that survive contact with fast teams and coding agents: clear decisions, every state drawn, and rules written where both people and machines will follow them. If your team is building that way, let’s talk.