Skip to content

Scope Color

What It Does

The Scope Color node defines specific variable scopes for color tokens in Figma. It allows precise control over where and how color variables can be used within the Figma interface.

Inputs

NameDescriptionTypeRequired
TokenThe design token to add scopes toTokenYes
All FillsInclude all fills scopeYes/NoNo
EffectsInclude effects scopeYes/NoNo
Frame FillInclude frame fill scopeYes/NoNo
Shape FillInclude shape fill scopeYes/NoNo
StrokeInclude stroke scopeYes/NoNo
Text FillInclude text fill scopeYes/NoNo

Outputs

NameDescriptionType
TokenThe token with color scopes appliedToken

How to Use It

  1. Drag the Scope Color node into your graph.
  2. Connect a color token to the "Token" input.
  3. Check the boxes for contexts where the color should be available (e.g., Text Fill, Stroke).
  4. The output token will be available in Figma only for the selected contexts.

Tips

  • Only select the scopes that make sense for your color's intended use.
  • Using more specific scopes creates a cleaner variables panel in Figma.

See Also

  • Scope All: For making a color available in all possible contexts.
  • Scope By Type: For automatically assigning appropriate scopes based on token type.

Use Cases

  • Text-Only Colors: Create color variables that only appear as options for text fills.
  • Stroke-Specific Colors: Define colors that are only available for strokes but not fills.
  • UI Color Organization: Separate colors by their function to create a more intuitive design system.