> For the complete documentation index, see [llms.txt](https://docs.coreframework.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreframework.com/figma/create-and-manage-variables.md).

# Create and Manage Variables

Learn how to create and manage design variables within Core Framework, and seamlessly sync them to Figma for consistent and dynamic design control across your projects.

## Creating Variables

Variables should be created within the Core Framework plugin. Once created, these variables will automatically synchronize with Figma’s local variables upon saving your changes.

## Managing Variables

To manage variables, make all necessary adjustments within the Core Framework plugin. Ensure you save any changes after completing modifications to ensure updates are applied correctly.

{% hint style="danger" %}
**Important:** Variables should be edited exclusively through the Core Framework plugin and not through Figma’s interface (including the Variables modal or other editable sections). Changes saved in Core Framework will overwrite any existing variables in Figma.
{% endhint %}

## Accessing the Variable Modal

To view the variables generated from Core Framework within Figma, follow these steps:

1. Ensure that you have clicked '**Save'** in the Core Framework plugin before accessing the variables for the first time, as Figma will collect and add them as **Local variables.**
2. Deselect all objects on the Figma canvas by pressing the **Escape** key or clicking on an empty space on the canvas.
3. In the right-hand sidebar, locate the **Local variables** section.
4. Click on the **Local variables** tab to open the **Variables modal**.

Within this modal, you can observe all variables generated from Core Framework.

<figure><img src="https://949277485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp10Tm4nYjo9MojbZ6zQt%2Fuploads%2F0SwVuF0YwRfD4eJAFkKl%2F546_1x_shots_so.jpeg?alt=media&amp;token=4ccad2d8-2e14-466c-81a9-f8d39893fe10" alt=""><figcaption><p>Here is a view of Brand color variables generated from Core Framework in Figma's variables modal!</p></figcaption></figure>

Any further changes you make in Core Framework will update in the modal as soon as you save changes!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.coreframework.com/figma/create-and-manage-variables.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
