Case study · Design system · v0.1

Dast

A design system for people who create and sell. Built to help them act, never to judge them.

Open the Figma fileVariables, 47 components and the prototype, view only
My roleProduct designer: direction, decisions, review
DurationOne focused build sprint
ToolsFigma variables and a Python token pipeline
PlatformsiOS + Android · Light + Dark
237variables
7collections · 13 modes
47components
270variants
54icons
0contrast failures
01 · Context

Help that is practical, not more theory

Dast is a toolbox for small business owners and creators who sell content, a service or a product. From years of working with them, the designer knew the problem was never knowledge. They get stuck on one task they have never done alone: finding a niche, setting a price, deciding how to sell, picking an idea.

Who

Makers aged 17–45 who are confident with apps and often work late at night.

What stops them

Lost where to start, afraid of getting it wrong, put off by jargon, start then give up.

What helps

Ideas, signals and small tools for the one challenge in front of them.

Where

Five places: Home, Workspace, Toolbox, Library, Me. Content comes as Signals, Challenges, Ideas and a Letter.

02 · Starting point

A standard method, an own look

Dast uses the common three-tier token method: raw values feed roles, and roles feed components. It keeps only what a mobile toolbox needs: colour, type, spacing, radius, motion, platform sizes and icons. The look comes from the designer's own mockup: warm black and white, outlined cards, black pill buttons.

Decided before any pixel

File structure

27 pages in four groups. Tokens feed foundations, foundations feed components, components build screens. Click a page to open it in the system explorer.

TOKENS · 7 COLLECTIONS · 237 VARIABLESPrimitives · Theme · Typography · Platform · Component · Motion · Icon
“We are not here to judge.”The designer, reviewing the first cards

That sentence became a rule of the system: no scores, progress bars or percentages on anyone's work. Help is shown in words.

03 · How the tokens work

One source, three tiers, seven collections

Every colour, size and duration in Dast is a token. Designers never pick a raw value; they pick a role. A theme or platform change then reaches every component at once, in Figma and in code.

Three tiers

1 · Primitives (92)

Raw values with no meaning. Hidden from designers.

    2 · Roles (43)

    What a value is for. Each has a Light and a Dark value.

      3 · Components (47)

      One part's decision. Points at a role, never at a primitive.

        Trace a token

        Pick a component token and follow it down to the raw value, in both themes. This is how a designer checks why something looks the way it does.

        Alpha: tints without new colours

        Hover fills, selected rows and banners are not new colours. They are one base colour at a fixed opacity: a06 (6 %), a12 (12 %) and a20 (20 %). Ink tints in Light, paper tints in Dark, scarlet, ember, green and amber for their banners. Because a tint is see-through, its contrast depends on what sits behind it, so the token build blends every alpha fill onto bg/surface before it measures contrast.

        a12 · 12 %

        Modes: one component, many contexts

        A mode is a column of values in a collection. Set it on a frame and every component inside follows. Try them on one sheet:

        THEME · PLATFORM · ICON · MOTION
        Save to your workspace

        Naming, scopes and code names

        Names say the job

        color/text/muted, space/400, radius/full. Slashes group them in Figma; the last word is the job, not the look.

        Scopes keep pickers clean

        Text roles only appear in text fills, borders only in strokes, spacing only in gaps. Primitives are hidden from every picker.

        Same token, three codes

        Each variable carries var(--color-text-muted) for web, colorTextMuted for iOS and color_text_muted for Android.

        The pipeline

        tokens.config.json

        The one file a designer edits.

        build_tokens.py

        Resolves tiers, blends alpha, checks 32 contrast pairs.

        dast.tokens.json · dast.css

        DTCG-format tokens and CSS custom properties with themes and reduced motion.

        figma-plan.json

        Flat plan the Figma script turns into variables, aliases, scopes and code names.

        Figma variables

        7 collections, 13 modes, 237 variables.

        04 · Foundations

        One strong red, one job

        Black and white carry the interface. The brand scarlet is great for focus and risky everywhere else: it reads as "delete" on a button and as "error" in a form. So it has one job per screen. Errors use orange-red with an icon. In Dark the red is #F0444C: a true red, not pink, and still 4.5 : 1.

        Theme roles · left half Light, right half Dark · click to copy

        Typography

        RIGHTEOUS · DISPLAY
        Find your niche

        One weight; hierarchy comes from size.

        NUNITO · BODY
        Write a short brief so the team knows the goal, the audience and the deadline.
        JETBRAINS MONO · DATA
        19 NOV · 08:30

        Dates, prices and tags line up.

        Icons · 54, drawn for Dast

        Regular · 1.25 px
        05 · Components

        Pills press, squares inform

        Every interactive part is a pill; every label that only informs is square-ish. Each component carries its states and its own prototype interactions, so screens inherit behaviour for free. Focus is the one place scarlet always appears.

        06 · System explorer

        The whole system, page by page

        Every documented page from the Figma file, plus the developer specs. Pick a page; scroll inside the frame.

        07 · Quality checks

        Checks, not opinions

        After each part, an audit script runs over the Figma file. It places every component at its minimum, default and 1.6× width with long text and reports anything that clips. It also checks states, prototype links, touch size and colours outside the tokens. Four runs found 3 missing hover states, 7 missing focus states and 7 text-on-resize problems; all were fixed.

        Build

        One part, bound to tokens.

        Audit

        States, interactions, size change, touch, colours.

        Review

        The designer looks at it in Light and Dark.

        Fix & log

        Fault, cause and fix go into the QA log.

        08 · What changed after review

        The designer's notes shaped the system

        Open each note to see what it changed.

        “The progress bar feels bad. We are not here to judge.”

        Progress bars, stat cards and percentages were removed. The tool widget shows a chosen avatar, "Your price check" and where you left off, in words.

        “Post should be square and the photo small.”

        Content cards became square posts: pillar with one scarlet dot, a small ink drawing, a title and the date. Sixteen variants became six.

        “Try a dot instead of a line.”

        The active tab got a small scarlet dot. The iOS tab bar grew from 49 to 56 pt so labels never clip.

        “A brighter true red, not pink.”

        Dark mode moved to scarlet/450 #F0444C, which also fixed a 2 : 1 focus ring found while reviewing cards.

        “Check this article.”

        After the NN/g bottom-sheet guidance, sheets got a visible close button, a Modal / Non-modal option and a never-stack rule.

        “Thin outline but geometric, no round.”

        No icon set fit, so 54 icons were drawn from straight lines, with octagons instead of circles and three line weights.

        09 · Screens

        Five places, two platforms, two themes

        Built only from components and clickable in Figma: tabs switch screens, the menu opens the side menu, posts open a post page, Save opens a sheet.

        Five iOS screens in Light: Home, Workspace, Toolbox, Library and Me.
        10 · In numbers

        Counted from the file

        237variables in 7 collections, 13 modes
        47components, 270 variants
        54geometric icons, 3 weights
        16text styles, 3 effect styles
        0contrast failures (32 pairs × 2 themes)
        36prototype frames (iOS + Android)

        Next steps

        1. One tool, end to end. Design Price check with the designer, using only system parts.
        2. Real drawings. Replace the placeholder ink sketches and avatars with the designer's own set.
        3. Test with five people. Watch makers use Home and one tool, at night, in Dark.
        4. Hand-off. Code Connect on top of the developer specs.
        11 · Roadmap

        Coming soon

        What this case study can show today, and what comes next as Dast grows from a system into a product.