Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Token Flow - Design SystemNew to Visual Studio Code? Get it now.
Token Flow - Design System

Token Flow - Design System

Robin Lopez

|
1 install
| (0) | Free
Bridging the gap between Design and Code. Find, insert, swap and audit design tokens (SCSS · CSS · TS/JS) without leaving your editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Token Flow — VSCode Edition

Token Flow — VSCode Edition

Find, insert, swap and audit design tokens (SCSS · CSS · TS/JS) from inside VSCode — without ever leaving your editor.

License: MIT VSCode 1.85+ IntelliJ edition


Why?

Make using your tokens intuitive. Token Flow helps you find the right variable and keep your styles flawless without ever leaving your VSCode editor.

Supported formats:

  • SCSS variables ($color-primary-500)
  • CSS Custom Properties (--color-primary-500)
  • SCSS Maps (("color-primary-500": #5d3fd3))
  • TS/JS preset objects — '{path.to.token}'

🔎 Library — every token at a glance

A dedicated Token Flow entry in the activity bar opens a rich panel listing every indexed token, grouped by category. Inline color swatches, two-line name + resolved-value previews, variant badges, multi-term search ("informative content" finds --token-informative-highlight-content-hover), category + kind filter chips. Drag any row into the editor to insert the canonical var(--x) / $x / '{path}' form at the drop position.


⚡️ Smart swapping — Alt+T

Smart swapping with Alt+T

Pick a sibling token of the same category — swap a var(--…) for another, or "tokenize" a hardcoded 14px literal in one keystroke. A custom webview picker (not the native QuickPick) renders real CSS color swatches, groups candidates by category, floats exact-value matches to the top, and pre-selects the pivot on open. Keyboard or mouse, your choice.


🛟 Smart refactoring — hardcoded value detection

Hardcoded value detection and replacement

Literals that already exist as tokens (#fff, 14px, 200ms, …) get a Hint-severity diagnostic with a lightbulb quick-fix that replaces them with the canonical reference. A dedicated Hardcoded panel follows the active editor and lists every match in the current file, with inline swatches, alternative-candidate cycling, jump-to-source and one-click replacement (workspace edit — undoable like any edit). Aware of transparent wrappers like rem-calc(14px).


📊 Health audit — Analyse dashboard

Design system health audit dashboard

A full-tab Design System health report. Global score (A→F) on a circular gauge, five sub-axes (semantic coherence, usage coverage, duplication, hardcoded pressure, reference integrity), and accordion drilldowns for hardcoded clusters, broken refs, unused / duplicate / incoherent tokens, per-file coverage. Every row links straight to the source.


🧠 More inside

  • Hover info — popup with resolved value & per-mode variants (light / dark / breakpoints) of the token under the caret. Multi-theme aware: nested SCSS maps render with theme-grouped column headers.
  • Go to Token Declaration — Ctrl+Click / F12 / Peek on any var(--x), --x or $x reference, via VSCode's native Definition flow. Works with stylesheets and TS/JS preset paths.
  • Code completion — triggered after var(-- or $, sorted alphabetically, filtered by VSCode's fuzzy matcher.
  • Named scopes — multi-UI projects (mobile / desktop / preset / common) supported via named scopes with their own root path, source paths, whitelists and excludes. A master-detail Settings webview ships with native folder/file pickers and saves directly to workspace settings — no JSON hand-editing needed.

Use cases

  • Migration — refactor a hardcoded codebase to design tokens, file by file.
  • Multi-brand audit — keep a multi-brand or light/dark Design System aligned and free of dead tokens.
  • Theme debugging — see how a token resolves in Dark vs Light mode via the hover popup.
  • Preset iteration — work on a PrimeUIX / Style-Dictionary preset with instant feedback.

About

Built by Robin Lopez — designer & front-end engineer.

robinlopez.fr · LinkedIn · Bluesky · Bento

If Token Flow saves you time, you can support its development:

Buy Me A Coffee
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft