Skip to content

Dark Mode

Once Color is enabled, the Specs variable collection carries both a Light and a Dark value for every color. Dark Mode is the act of switching which mode is active — at the whole-page level, a single Specification, or one artwork frame at a time — using Figma’s own mode switcher, with no need to regenerate anything.

A Props section shown twice side by side — the same spec in Light mode on the left and Dark mode on the right

How It Works

Dark Mode has no checkbox of its own — it’s based on Color. Open the plugin’s Settings tab and check “Color including dark mode, using variables” under Custom Styling; that single setting generates the Specs collection and gives it a Dark mode to toggle.

The plugin's Custom Styling settings, with checkboxes for Color including dark mode, Typography, and Spacing
The plugin's Custom Styling settings — Dark Mode comes from checking 'Color including dark mode, using variables,' not a separate setting.

What It Includes

  • Page-level mode — sets the default mode for every spec on the current page
  • Specification-level mode — overrides the page default for one Specifications frame or a single spec frame
  • Artwork-level mode — overrides the mode for just an artwork frame, independent of the spec around it
  • Live switching — plugin-generated elements (markers, annotations, backgrounds) recolor immediately; a component’s own artwork is unaffected, since its fills are the design’s, not the spec’s

Toggling the Mode

To switch a spec’s appearance, select it — the page (with nothing else selected), a Specifications frame, an individual spec frame, or just an artwork frame — and set the Specs collection’s mode from the Mode control in the Design panel. Nothing needs to be regenerated; every plugin-generated element bound to the collection recolors immediately.

Customizing Dark Values

Each variable in the Specs collection carries its Light and Dark values independently, and both are editable directly in Figma’s Variables panel — so if the default Dark palette doesn’t fit your file, adjust it once and every future spec inherits the change.

The Specs collection's Variables panel, listing color roles like Icon stroke, Style fill, Style text, Variable fill, Token fill, and Dependency text, each with separately editable Light and Dark hex values
The Specs collection's Variables panel: every color role — icon stroke, style and variable fill/stroke/text, raw value text, token fill/text, dependency fill/stroke/text — carries independently editable Light and Dark values.