Studio
  • Why Studio?
  • Getting Started
  • Setting up Studio
    • Import from Tokens Studio for Figma
    • Import from Figma variables
  • Connect Studio to Figma
    • Using Tokens Studio for Figma
    • Using Companion by Tokens Studio
  • Connect Studio to Code
  • Platform
    • Features
      • Tokens
        • Token Sets
        • Token flow
      • Themes
        • Theme Groups and Theme Options
      • Configuration
      • Releases
    • Platform
      • Accounts
      • Organisation
      • Project
      • API keys
      • Inviting members
  • GRAPH ENGINE
    • Introduction
    • Editor
    • Creating a Graph Based Set
    • Nodes
    • Types
    • Editing
    • Available Nodes
      • Accessibility
        • Color Blindness
      • Array
        • Array Filter
        • Array Find
        • Arrify
        • Concat
        • Flatten
        • Index Array
        • Inject Item
        • Array Length
        • Array Push
        • Remove Item
        • Replace Item
        • Reverse Array
        • Slice Array
        • Sort Array
        • Array Map
      • Color
        • Color To String
        • Color Wheel
        • Contrast
        • Contrasting Alpha
        • Contrasting Color
        • Contrasting from Array
        • Convert Color
        • Create Color
        • Darken Color
        • Deconstruct Color
        • Delta E
        • Distance
        • Flatten Alpha
        • Lighten Color
        • Match Alpha
        • Mix Colors
        • Name Color
        • Poline
        • Range
        • Scale Colors
        • Sort Colors By Distance
        • String To Color
      • CSS
        • CSS Accessible Clamp
        • CSS Box
        • CSS Function
        • CSS Map
      • Curves
        • Bezier Curve
        • Construct Float Curve
        • Deconstruct Float Curve
        • Flip Float Curve
        • Preset Bezier Curves
        • Sample Array from Float Curve
        • Sample Curve
        • Sample Float Curve
      • Design Tokens
        • Array To Set
        • Create Border
        • Create Border Design Token
        • Create Box Shadow
        • Create Box Shadow Design Token
        • Create Design Token
        • Create Reference
        • Create Typography
        • Create Typography Design Token
        • Destruct Token
        • External Token Set
        • Extract Token
        • Flatten Token Sets
        • Group Tokens
        • Inline Tokens
        • Invert Token Set
        • Leonardo Color
        • Leonardo Theme
        • Name Tokens
        • Preview Typography
        • Resolve Tokens
        • Set To Array
        • Ungroup Tokens
        • Group Token Array
        • Ungroup Token Array
      • Figma
        • Code Syntax
        • Publish Varibales
        • Scope All
        • Scope by Type
        • Scope Color
        • Scope Number
        • Scope String
      • Generic
        • Constant
        • Delay
        • Input
        • Object Merge
        • Note
        • Object Path
        • Objectify
        • Output
        • Panic
        • Passthrough
        • Subgraph
        • Time
      • Gradient
        • Gradient Stop
      • Logic
        • And
        • Compare
        • If
        • Not
        • Or
        • Switch
      • Math
        • Absolute
        • Add
        • Add Variadic
        • Ceiling
        • Clamp
        • Closest Number
        • Cosine
        • Count
        • Difference
        • Divide
        • Divide Variadic
        • Evaluate Math
        • Exponentiation
        • Floor
        • Fluid
        • Lerp
        • Modulo
        • Multiply
        • Multiply Variadic
        • Power
        • Random
        • Range Mapping
        • Round
        • Sine
        • Snap
        • Square Root
        • Subtract
        • Subtract Variadic
        • Tangent
      • Preview
        • Color Compare
        • Color Scale
        • Color Swatch
        • Math Expression
        • Number
        • Preview Curve
      • Search
        • Find First Match
        • Linear Search
      • Series
        • Alternating Series
        • Arithmetic Series
        • Exponential Decay
        • Fibonacci Series
        • Geometric Series
        • Harmonic Series
        • Inverse Linear Mapping
        • Linear Space
        • Power Series
      • String
        • Case Convert
        • Interpolation
        • Join Array
        • Lowercase
        • Normalize
        • Pad
        • Regex
        • Replace
        • Split String
        • Stringify
        • Uppercase
      • Typography
        • Base Font Size
      • Typing
        • Assert Defined
        • Has Value
        • Parse Number
        • Parse Unit
        • Pass Unit
      • Vector2
        • Create
        • Destructure
      • Naming
        • Alphabetic Scale
        • Alphanumeric Scale
        • Greek Letter
        • Hierarchy Level
        • Numeric Scale
        • T-Shirt Size
  • PLUGINS
    • Tokens Studio for Figma Plugin
    • Companion by Tokens Studio
    • Tokens Studio for Framer Plugin
Powered by GitBook
On this page
  • Theme Groups and Theme Options
  • Understanding Theme Groups
  • Creating a Theme Group
  • Managing Theme Options
  • Selecting an Active Theme
  • Deleting a Theme Group or Theme Option
  • Use Cases for Theme Groups
Edit on GitHub
  1. Platform
  2. Features
  3. Themes

Theme Groups and Theme Options

Theme Groups and Theme Options

Studio provides a powerful theming system through Theme Groups and Theme Options. These allow users to manage multiple variations of their design tokens dynamically.

Understanding Theme Groups

A Theme Group is a collection of theme options that define different token variations. Theme groups help structure different modes or styles within a design system.

  • Each Theme Group corresponds to a collection in Figma.

  • Each Theme Option within a Theme Group maps to a Mode in Figma.

For example:

  • A Theme Group called Color Mode may contain Light and Dark options.

  • A Theme Group called Breakpoints may contain options like 320px and 1440px.

Creating a Theme Group

  1. Navigate to the Themes module in Tokens Studio.

  2. Click Create New Theme Group.

  3. Provide a name for your theme group (e.g., "Color Mode").

  4. Add one or more theme options (e.g., "Light", "Dark").

  5. Click Save to confirm.

Note: You can have more than four theme options, but only four will work in Figma if you're on the Organization plan (not Enterprise).

Managing Theme Options

Theme Options represent the different variations within a theme group.

  1. Within a Theme Group, click Add Theme Option.

  2. Name the option (e.g., "Light Mode").

  3. Provide a description (optional).

  4. Click Save.

Assigning Token Sets to Theme Options

Each Theme Option can have different token sets assigned to it. This defines which tokens are active when the theme is selected.

  • For each Theme Option, enable the corresponding token set:

    • Light Mode → Assign the Light Token Set.

    • Dark Mode → Assign the Dark Token Set.

  • Ensure that your Foundation Set is enabled as a source (reference) for both themes.

Selecting an Active Theme

  1. At the bottom-left of the Tokens Module interface, locate the Active Theme Selector.

  2. Choose an active theme (e.g., Default + Light or Default + Dark).

  3. The interface updates to reflect the selected theme’s token values.

Deleting a Theme Group or Theme Option

  • To delete a Theme Group, go to the Themes panel, select the group, and click Delete.

  • To remove a specific Theme Option, navigate to the group, select the option, and delete it.

Use Cases for Theme Groups

Theme Groups and Options help manage different token variations efficiently. Some common use cases include:

  • Light/Dark Mode switching.

  • Brand Variants (e.g., Primary Brand vs. Partner Brands).

  • Breakpoints for responsive design.

  • Accessibility Themes (e.g., High Contrast Mode).

PreviousThemesNextConfiguration

Last updated 2 months ago