Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Made Design Tokens for VS CodeNew to Visual Studio Code? Get it now.
Made Design Tokens for VS Code

Made Design Tokens for VS Code

Made - Mastercard

|
462 installs
| (0) | Free
Made Design Tokens for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Made Design Tokens for VS Code

What is this plugin?

Made Design Tokens for VS Code is a powerful extension that helps developers integrate and manage Mastercard's MADE Design Tokens directly within Visual Studio Code.

By using this plugin, teams can ensure consistency, scalability, and alignment with Mastercard’s most current design standards.

🔑 Key Features:

  • Automatic functionality: Autocomplete seamlessly integrates with CSS and Sass.
  • Enhanced previews: View token values in autocomplete.
  • Color previews: Instantly preview color tokens before applying.
  • Tailored completions: Get context-aware suggestions based on your current code.
  • Linting tools: Identify hard-coded CSS and replace with tokens.
  • Migration tools: Detect deprecated tokens and suggest new equivalents.
  • Version switching: Toggle between supported versions (2.1.1, 2.2.0, 2.3.0, 3.0.0-beta).

How to use it?

  1. Install the extension from the VS Code Marketplace.
  2. Open a CSS or Sass file.
  3. Start typing a CSS property (e.g., color:), then type --.
  4. Autocomplete will display relevant tokens.
  5. Select a token to insert it using var().
  6. Save your file to trigger the linter, which will highlight hard-coded values and suggest token replacements.

Features

Linter

Identify hard-coded CSS values and receive suggestions for corresponding design tokens. This feature helps ensure your codebase is using standardized tokens, making it easier to maintain and update designs consistently.

Demo of Linter

Autocomplete

Utilize Autocomplete suggestions for Made design tokens.

Demo of autocomplete

Hover preview

See the exact value of the Made Design Token’s CSS custom properties on hover.

Demo of hover

Switch between Made Tokens versions

Useful when working on multiple projects and wishing to quickly switch between different versions of our Made Tokens. Simply go to "Extensions > Made Design Tokens > Extension Settings" to switch between versions.

Supported Made Design Tokens versions: 2.1.1, 2.2.0, 2.3.0, 3.0.0-beta

What’s new in this update? (v3.0.0)

This major update makes it easier than ever to migrate your project to the latest Unify tokens.

🆕 New in v3.0.0:

  • 🔧 Unify Migration Command
    Easily find and replace deprecated tokens using the built-in migration command.

  • ✨ Automatic Token Highlighting
    Deprecated tokens are visually flagged with yellow underlines.

  • 🤖 Co-Pilot Integration
    Auto-fix deprecated tokens with a single click using GitHub Co-Pilot.

These improvements ensure your codebase stays clean, modern, and aligned with Mastercard’s latest design system.


How to update to the latest version?

✅ Automatic Update

  • If Auto Update is enabled in VS Code, you’ll always have the latest version.

🔄 Manual Update

  1. Go to the Extensions tab in VS Code.
  2. Search for Made Design Tokens for VS Code.
  3. Click the gear icon ⚙️ → Extension Settings.
  4. In the Workspace Tab, select the latest version (e.g., 3.0.0-Unify-Light).

⚠️ If you've manually selected an older version, it will stay active until changed.


How to Migrate to latest version of Made Design Tokens

Once you're running the latest version, the plugin makes it easy to migrate your design tokens:

🟡 Deprecated Token Detection

  • Deprecated tokens will be underlined in yellow.
  • Hover over them to see a message like:

    "--made-color-background-default" is deprecated, replaced by "--made-color-background-surface-default."

🛠 Manual Migration

  • Simply copy the suggested replacement token and update it in your file.

🤖 Co-Pilot Automatic Fix

  • If Co-Pilot is enabled, click “Fix with Co-Pilot” to automatically replace deprecated tokens.

🧠 Run the Unify Migration Command

  1. Open the Command Palette (Cmd/Ctrl + Shift + P).
  2. Run: Unify Migration - Find and Replace Deprecated CSS Variables.
  3. It will scan your CSS files and replace deprecated tokens.
    • Files in .gitignore are skipped.
  4. Use git status to review all changes made.

❓ Unmappable Tokens

  • Tokens with no known replacement will remain highlighted.
  • Review them manually in the Problems tab.

📐 Align with Figma

  • For complex updates (spacing, component sizes, etc.), check your tokens against the official Figma specs to ensure accuracy.

Questions, issues, feature requests, and contributions

We’d love your feedback and input!

  • 💬 Ask questions or request features:
    Made Working Group on Teams

  • 🐞 Report bugs:
    Use the same Teams channel to file issues.


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft