Before you begin

Make sure you understand the basics by visiting Design tokens and theming.

Common use for design tokens and theming

  • White labeling for non-Visa products: Easily adapt your designs for external brands.
  • Mockups using fictitious brands: Create realistic prototypes for presentations and pitches.

Common ways to theme in Figma

  • Batch adjust components with presets: Use variable modes to change multiple components simultaneously.
  • Create custom themes: Modify one, some, or all of the default token values (variables) to create a new theme.

Using variable mode presets

Design tokens are represented by variables within Figma. These variables can be changed to alternate preset values through the Figma user interface. Using variable modes helps to ensure that customizations are within the design system’s rules and capabilities. For example, the color themes have been tested to ensure proper contrast when applied to VPDS components.

Step 1: Select a page, frame, or component

Add or select a component within your workspace to activate the properties panel on the right. Select the Apply variable mode button, represented by an icon of two hexagons with a dot in the middle, to explore the presets.

A tutorial showing how to apply color variables in Figma.

Step 2: Start customizing

Once you’ve explored the presets provided by VPDS, use the variable modes to swap the theme background, typography, shape, and more. You can also select multiple components or the entire frame to apply consistent styles.

Two accordion components with different theme color, padding, and shape variables applied.

The table below includes the names of the base elements, along with their corresponding variable mode in Figma, and preset values. These will help you navigate the system and customize your designs effectively.

Base elements mode, presets and tokens
Base element Variable mode Preset values Design tokens
ColorColor theme Visa light, Visa dark, Gray blue light, Gray blue dark, Purple light, Purple dark, Green light, Green dark, Black and white light, Black and white dark Color
Responsive grid systemPlatformWeb, mobileN/A
ElevationN/AN/AElevation
IconsN/AVisa, Generic (modified through properties)N/A
SizeN/AUse Figma scale toolSize and shape
ShapeShapeRounded (default), Less rounded, Full rounded, squareSize and shape
SpacingPaddingDefault, Spacious, DenseSpacing
TypographyTypographyVisa Dialect UI, Open Sans, Noto Sans, SF Pro, RobotoTypography

Create custom themes

Customizing beyond the provided properties can create additional development work. For maximum efficiency, continue the application of system rules throughout your customizations whenever possible. To make implementation of custom themes easier for your team:

  • Edit the values of the existing design tokens (linked in the table above).
  • Define values for a custom color theme by understanding how colors are applied to components to ensure proper contrast. Visit Color accessibility to learn more.
  • Create custom components using existing design system components as building blocks whenever possible. Follow system rules for communicating States.