Free color tools · No signup · Everything runs in your browser
Tutorials

How to Use the Design System Doctor: A Beginner’s Guide

Learn how to turn one brand color or an existing palette into themes, semantic roles, component states, repair evidence, and production-ready design-token exports.

Direct answer

Open the Design System Doctor, choose whether you are starting from one brand color or importing an existing palette, then review the generated primitive, semantic, and component tokens. Check architecture findings, token lineage, contrast repairs, state coverage, themes, and export files in order. New users should start with a new system rather than merging into an existing project.

At a glance

Best first inputOne brand color or 3–12 palette colors
Recommended modeStart a new system
Review orderBuild → Lint → Repair → Coverage
Private processingLocal browser only

Know what the Doctor creates

The tool turns colors into a structured system rather than merely displaying swatches.

Primitive tokens store available source colors. Semantic tokens describe product roles such as canvas, text, border, action, focus, and status. Component tokens apply those roles to concrete states such as a primary button hover background.

The Doctor also creates light, dark, and high-contrast contexts, then lets you add arbitrary themes such as OLED, campaign, seasonal, or low-vision variants.

The three token layers
LayerExamplePurpose
Primitiveprimitive.brand.600Reusable source color
Semanticsemantic.action.primaryProduct meaning
Componentcomponent.button.primary.backgroundSpecific UI state

Option 1: start with one brand color

This is the simplest workflow for a first project.

  1. 1

    Enter a project name.

  2. 2

    Enter or pick the canonical brand color.

  3. 3

    Review the automatically generated brand scale, semantic roles, component tokens, and built-in themes.

  4. 4

    Open Architecture Linter and resolve errors before optional governance warnings.

  5. 5

    Open Advanced Repair and review contrast evidence before applying selected changes.

  6. 6

    Check State Coverage, then export the system pack.

Option 2: start with an existing palette

Upload a local JSON, CSS, tokens, or text file and let the detection summary confirm what will be imported.

  1. 1

    Choose Start a new system.

  2. 2

    Select Choose local file and pick the palette file.

  3. 3

    Confirm the detected format, color count, aliases, ignored values, and sample paths.

  4. 4

    Select Import detected colors.

  5. 5

    The first detected literal color becomes the canonical brand color; remaining colors are preserved as imported tokens.

  6. 6

    Review semantic mappings because a palette alone cannot know which color should be used for every UI role.

JSON example
{
  "name": "Product palette",
  "colors": [
    { "name": "Brand", "hex": "#2563EB" },
    { "name": "Accent", "hex": "#0F766E" },
    { "name": "Canvas", "hex": "#F8FAFC" },
    { "name": "Text", "hex": "#0F172A" }
  ]
}

Review the workspace in a safe order

Each tab answers a different engineering question.

Recommended review order
TabQuestionAction
Build & themesWhat colors and contexts exist?Check import and previews
Architecture linterIs the token structure healthy?Resolve errors and important warnings
Token graphWhere does this value come from?Trace aliases and downstream use
Advanced repairWhich measured combinations fail?Select, apply, or undo evidence-backed changes
State coverageAre required component states represented?Add missing states
MigrationWhat changes between releases?Review regressions and breaking paths
Multi-brandCan one architecture support several brands?Compare brand × theme results
ExportWhat should developers receive?Download the complete system pack

Treat scores as review signals, not certification

A high score means the implemented checks passed; it does not prove every screen is accessible.

The Doctor can measure token resolution, contrast pairings, architecture rules, and expected state coverage. It cannot verify that every exported token is used correctly in every real component.

Test focus behavior, zoom, content changes, responsive layouts, browser rendering, assistive technology, and the final product before release.

Save and export without creating an account

Projects remain browser-first and can be backed up in portable formats.

  • Save locally for the current browser.
  • Copy a share URL for smaller systems.
  • Download a complete system pack for reliable backup.
  • Export DTCG JSON, CSS, SCSS, TypeScript, Tailwind CSS, audit evidence, and multi-brand files.
  • Keep the project backup when you expect to reopen the full Doctor workspace later.

Troubleshoot common beginner problems

Most import problems are caused by file shape, unsupported values, or choosing the wrong import behavior.

Common issues
ProblemLikely causeFix
Zero detected colorsJSON contains no parseable color valuesUse HEX, RGB, HSL, OKLCH, named CSS colors, or a supported token object
Colors imported but UI remains similarImported palette colors are not semantic roles yetReview and remap semantic tokens
Existing work disappearedStart a new system was selectedUse Merge into current system or restore the project backup
Many linter warningsRaw palette values were imported as role tokensMove reusable values to primitive tokens and alias semantic roles
Share URL is too largeThe system contains many tokens or themesDownload the project backup instead
Put the guide into practice

Open the Design System Doctor

Follow the beginner workflow while the detection summary, linter, lineage, repair evidence, and exports stay in one local workspace.

Start the beginner workflow

Frequently asked questions

Do I need to understand design tokens before using the tool?

No. Start with one color or a small palette and follow the recommended tab order. The guide explains primitive, semantic, and component layers as you review the generated system.

Which import mode should a beginner choose?

Choose Start a new system when the file is a palette or when you do not need to preserve an existing Doctor project. Choose Merge only when you intentionally want to add or replace token paths in the current system.

Will the Doctor choose perfect semantic roles automatically?

It creates a practical starting architecture, but product meaning requires human review. Confirm which colors represent text, background, action, status, and component states.

Are uploaded files sent to Color Pick?

No token-processing endpoint is required. The browser reads the selected file locally and the Doctor processes its contents in the page.

Primary references

These sources support the standards and technical explanations in this guide. Color Pick recommendations and product-specific limitations are identified separately in the article.

  1. Design Tokens Format Module 2025.10W3C Design Tokens Community Group
  2. Using files from web applicationsMDN Web Docs
  3. Understanding Success Criterion 1.4.3: Contrast (Minimum)W3C Web Accessibility Initiative
Keep it colorful

Enjoying Color Pick?

Color Pick stays free, private, and account-free. Optional donations help cover hosting, testing, and new color tools.

Donate via SociabuzzOptional. Every tool remains free.