What are design tokens?

Design tokens are name-value pairs that define small, repeatable design decisions. Tokens can represent colors, typography, spacing, or even icons tailored to specific needs. Designers can use Visa Product Design System (VPDS) design tokens in Figma to easily adjust visual properties, while developers can modify a set of global variables to achieve the same effect in code.

What is theming?

Theming is the practice of using a collection of token values to achieve a specific look or style. A theme is essentially a predefined set of tokens designed to work together harmoniously. Examples of themes include Visa light and dark. Theming can also extend beyond colors to include elevation, spacing, and shape and size.

Theming terms

Definitions of theme, design token, and value
Term Definition
ThemeA collection of visual attributes assigned to the tokens in order to create a specific aesthetic.
Design tokenA role-based identifier that assigns a value to a theme. Design tokens are universal and never change across themes. These are sometimes referred to as variables although not all variables are design tokens.
ValueThe actual style (such as a hex code) assigned to a token.

Themes in our system

Visa light

The Visa light theme serves as the default theme for most uses of the design system.

A generic form in Visa light theme. The background is light gray and white, text is black, UI and icons are dark blue. One button has a red notifications icon.

Visa dark

The Visa dark theme is available for Visa-branded applications when a darker interface is preferred.

A generic form in Visa dark theme. The background is dark gray and black, text is white, UI and icons are gold. One button has a white notifications icon.

Theme elements

Color

Colors can be adjusted to represent Visa, our clients, or fictitious companies. Each theme is assigned universal color variables based on common roles and usage, ensuring uniform color application across themes while maintaining full styling flexibility. Always consider contrast requirements to ensure designs are accessible to all users.

For more information, visit Color.

Typography

Visa Dialect UI is the standard font for Visa-branded digital interfaces. For non-Visa branded experiences, you can adjust the font choice as needed, but avoid using Visa Dialect or Visa Dialect UI. Mobile applications may benefit from using native fonts based on the platform to take advantage of built-in features. For browser-based applications, we recommend Open Sans. Maintain the size ratios shown in the type ramp to ensure consistent text hierarchy across experiences.

For more information, including our type ramp, visit Typography.

Icons

VPDS currently supports two sets of icons: Visa-branded and generic, to represent ideas, actions, and entities. Products using the Visa theme should use the Visa icon set, while all non-Visa themes should use the generic set.

To learn more about the icons available for use, visit Icons and illustrations.

Elevation

Elevation tokens define the perceived surface level and shadow, creating depth and hierarchy in your designs. These help simulate realistic lighting and layering effects, ensuring a cohesive and polished visual experience. 

For more information, including how to layer elements in CSS, React, and Angular, visit Elevation.

Size and shape

Size and shape define the corner rounding and dimensions of components within the system. Use the Figma assets panel to apply preset rounding options, such as Square, Less rounded, More rounded, or Full rounded. Similarly, the size of individual design elements or entire layouts can be scaled up or down to fit your use case.

For more information, visit Size and shape.

Spacing

Spacing refers to the blank space inside and around elements to achieve various levels of visual density. Use the Figma assets panel to apply preset spacing options, including Dense, Default, or Spacious layouts.  

For more information, visit Spacing.

Customizing a theme

Designers and developers can customize their components and styles to deviate from the default Visa light theme. Within Figma, designers can modify one, some, or all of the default token values to create a new theme. Developers can configure these new values in the appropriate files, either replacing the default values or adding new custom tokens.