# Importing a Theme from Figma


Sync your Figma designs to your Dyspatch design system without touching code.

## What You Need from Figma

Sign in to Figma in your browser, then copy the URL of the Figma file you'd like to import. The URL can be your main design system file, a component library, or any file where your brand styles live.

<div class="highlight tip">The Figma file should be publicly accessible or shared with view access from a paid account.</div>

## Add Figma Account Integration

Select **Add Integration** from the <a href="https://app.dyspatch.io/admin/integrations/importers" target="_blank">Admin > Integrations > Imports</a> menu.

Add an optional integration description, then verify with Figma that you'd like to grant Dyspatch read access to your Figma account.

Click **Allow Access** to continue.

![Allow Dyspatch Access modal for Figma integration](https://docs.dyspatch.io/img/emails/figma-theme-dyspatch-access.png "class: idm img-size-75")

## Create New Theme from Figma URL

### Enter Figma URL

Select **Import from Figma** from the <a href="https://app.dyspatch.io/themes" target="_blank">Themes page</a>.

![Import from Figma button on the Themes page](https://docs.dyspatch.io/img/emails/figma-import-option.png)

Paste the URL of your Figma file into the input field and select **Next** to begin analysis.

![Figma file preview from URL in Dyspatch Import step 1](https://docs.dyspatch.io/img/emails/figma-theme-enter-url.png)

<div class="highlight tip">If your Figma file has multiple frames, select which frame to pull styles from.</div>

Dyspatch will analyze the Figma file and organize the styles it finds by type. This may take a few moments, depending on the size of the file.

### Analyze Figma Styles

Once analysis is complete, Dyspatch displays all discovered style candidates grouped by category. Review each group and check the styles you want to bring into your theme. For elements with multiple styles selected, one will become the default and the others will become variants, which you set on the next page.

![Multiple title and link style select options on Figma to Dyspatch Import step 2](https://docs.dyspatch.io/img/emails/figma-theme-select-styles.png)

Once all styles to import are selected, click **Next**.

<div class="highlight tip">You are in full control. If Dyspatch surfaces a style that doesn't belong in email (for example, a web-only text style), simply leave it unchecked.</div>

### Import Theme Styles

Adjust and confirm default theme settings and imported styles for each element.

#### Summary Tab

Adjust template default settings and block permissions that pertain to all templates using this theme.

![Top tabs and first four options of the Summary tab of theme importer](https://docs.dyspatch.io/img/emails/figma-theme-summary-tab.png "class: img-size-75")

**Email Colors -**

Set branding colors for your whole team to use; keep templates on brand for a seamless, design-compliant email workflow. Your team can choose from the color palette when styling elements in the Email Builder.

**Layouts and Editables -**

**Enable editable styles for blocks:**
Enable editability of all available block styling options for all blocks assigned to this theme.

<div class="highlight tip">Don't want to enable all? Use the <b>Style Controls</b> tab in the Theme Editor once the theme is created to fine-tune which styles will be globally available for each element.</div>

**Enable custom layouts:**
Give Editors the power to build unique blocks for their email. Editors can drag in multi-column block layouts into an email, and fill them with the elements of their choosing.

**Theme logo (preview):**
Choose which uploaded image candidate supplies the theme logo URL and href for block previews (`DYS.theme.logo`). The logo you picked when selecting components is the default; choose "No logo selected" to omit logo data from the preview context.

**Email Settings -**

**Max Email Width:**
Set a default maximum width for emails using this theme to ensure optimal viewing across devices.

**Background Type:**
Choose between a solid color or image background.

**Background Color:**
Select the background color for your templates.

**Link Typography -**

**Color:**
Define the color for links in your emails to match your brand identity.

**Font Weight:**
Set the font weight for link text (regular, bold, etc.).

**Text Decoration:**
Choose text decoration options for links such as underline, none, or other styling.

**Images Pending Upload -**

A preview of images that will be added from Figma to your Dyspatch image library when you create the theme.

#### Components

Fine-tune your DML elements. The starred components will be the theme defaults while others will be variants.

![Components tab with add custom component box and two Text variants](https://docs.dyspatch.io/img/emails/figma-theme-default-element.png "class: img-size-75")

Click into an element to adjust its attributes individually.

![Adjustable attributes pane of default Text element being imported](https://docs.dyspatch.io/img/emails/figma-theme-text-attributes.png "class: img-size-75")

#### Fonts

Fonts used in your Figma design that are available via Google Fonts will be automatically imported here. You can also rename fonts, set fallbacks, or point fonts to a different hosting URL.

![Two imported fonts, one accessible and one with the no URL set warning](https://docs.dyspatch.io/img/emails/figma-imported-fonts.png "class: img-size-75")

<div class="highlight note">Any privately hosted font will include an error with the option to update the URL to that font or delete it.</div>

#### Default Styles

Set default padding for Rows and Columns, as well as components that do not have a style defined.

![Common components and row default padding selection of theme importer](https://docs.dyspatch.io/img/emails/figma-theme-common-components.png "class: img-size-75")

Give your theme a unique name and select **Create theme**.

#### Select Blocks

Select blocks to make them available to editors when building or editing templates using this theme.

![Two Header blocks selected from a filtered list of available blocks](https://docs.dyspatch.io/img/emails/figma-theme-add-blocks.png)

<div class="highlight tip">Tip: Use the search bar to help manage your blocks. Filter selectable blocks by name, tag, or by an existing theme's set of enabled blocks.</div>

## Re-sync Updated Figma Theme

If your Figma design has been updated since you first imported it, you can pull in the latest changes without starting from scratch. Open your theme and select **Sync with Figma** to begin.

### Analyze Figma Styles

The analysis step works the same as the original import — Dyspatch will fetch your updated Figma file and surface all discovered style candidates grouped by category.

### Compare Theme Styles

After analysis, Dyspatch shows a side-by-side comparison of your current theme styles against the incoming changes. An overlay preview and slider let you swipe between the old and updated designs so you can see exactly what will change before committing.

![Overlay slider comparing current and updated Figma theme styles](https://docs.dyspatch.io/img/emails/figma-theme-compare-slider.png)

Review the diff, adjust any selections, then confirm to apply the updated styles to your theme.

## FAQ

### Can I choose which Figma styles get imported?

Yes. Every detected style is grouped by category so you can review and check only the ones you want in your theme — leave anything that doesn't belong in email, like a web-only text style, unchecked.

### What happens if Figma has multiple styles for the same element?

One becomes the default for your theme, and the rest become variants you can assign later from the Theme Editor.

### Can I update my theme after changing my Figma design?

Yes. Select **Sync with Figma** on your theme anytime to pull in the latest styles. Dyspatch shows a side-by-side comparison with an overlay slider so you can see exactly what changed before applying it.

### Why weren't my cropped images imported as shown in my design?

If an image's fill in Figma uses the **Crop** or **Fill** scale mode to show only part of the source image within its frame, Dyspatch imports the original, uncropped source image — not the cropped fill view shown in your design. Figma's image cropping is non-destructive and doesn't expose a way to export the cropped fill at sufficient resolution for email use, so review imported images against your Figma design and re-crop or re-upload any that don't match.

## What's next

For guidance on structuring your blocks and naming conventions to get the most out of your Figma-imported theme, see [Designing Your Emails for Dyspatch](/blocks_and_themes/designing_for_dyspatch/).

With your theme in place, you can also import a full email design from Figma — see [Importing a Template from Figma](/emails/importing_a_template_from_figma/).

Reach out to your account manager or <a href="mailto:support@dyspatch.io?subject=Figma%20import%20input">support</a> to get a demo and share what your team would love to see in the Figma to Dyspatch process.