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
  • Overview
  • Accessing the Themes Module
  • Creating and Managing Theme Groups
  • Configuring Token Sets for Theme Options
  • How Themes Reflect in the Tokens Module
  • Themes in the Configuration Page
  • How Themes Reflect as Figma Variables
Edit on GitHub
  1. Platform
  2. Features

Themes

PreviousToken flowNextTheme Groups and Theme Options

Last updated 2 months ago

Overview

The Themes Module in Studio allows you to configure and manage Theme groups and Theme options, which directly impact the and . This ensures a structured approach to managing design variations such as light mode, dark mode, or brand-specific themes.

Accessing the Themes Module

  1. Navigate to Themes Module:

    • From the left panel, click on Themes to enter the module.

  2. Understanding the Layout:

    • The left panel displays a list of existing theme groups and their corresponding theme options.

    • Each theme option shows:

      • Number of token sets configured

      • Number of variables connected to the option

Creating and Managing Theme Groups

  1. Create a New Theme Group:

    • Click on Create Group.

    • Enter a name for the theme group.

    • Click Create to save.

  2. Adding Theme Options:

    • Select a theme group.

    • Click Add Option to create a new theme option.

    • Save the changes.

Configuring Token Sets for Theme Options

  1. Select a Theme Option from the left panel.

  2. You will see all available token sets.

  3. Assign token sets using one of the following states:

    • Disabled: The token set is not included in the theme option.

    • Enabled: All tokens in the set are included.

    • Source: This is primarily for Figma Variables, ensuring references between collections remain intact.

How Themes Reflect in the Tokens Module

  • Once you set up theme groups and theme options, they appear in the Tokens Module.

  • Located at the bottom left navigation, you can see:

    • Theme Groups (e.g., Brand, Theme)

    • Theme Options (e.g., Light, Dark)

Themes in the Configuration Page

  • Theme groups are used in the Configuration Page to ensure token resolution functions correctly across themes.s

  • Theme options translate as Modes in Figma Collections.

How Themes Reflect as Figma Variables

  • Theme groups are created as Collections in Figma variables (e.g., Brand, Theme).

  • Theme options are created as Modes inside the variable Collection (e.g., Light, Dark).

When Tokens Studio is linked to the or , theme groups translates as Figma Variable collections.

Once you connect Studio to Figma via or , you can create Figma variables using your design tokens.

Companion plugin
Tokens Studio for Figma
Tokens Studio for Figma plugin
Companion by Tokens Studio
Tokens Module
Configuration Module