Unplanned
Last Updated: 16 Nov 2026 15:58 by Olivier
Olivier
Created on: 16 Nov 2026 10:40
Type: Feature Request
1
Support Figma Color Variables combining a color alias/primitive reference with an opacity/alpha modifier upon import

Currently, when importing design tokens from Figma into Telerik ThemeBuilder (via the Figma plugin), color variables that use Figma's native ability to combine a referenced color token (primitive/alias) with a custom opacity percentage fail to resolve properly.

Instead of calculating and exporting a valid RGBA or 8-digit HEX value, ThemeBuilder generates a broken, unusable token resolving to #NaNNaNNaN. Attempting to assign or use this token triggers a CSS syntax error in the ThemeBuilder UI:

"Invalid value for background-color property. Mismatch syntax: <color> value: #NaNNaNNaN. Check the "background-color" property of your recently edited styles!"

Steps to reproduce / Current Figma Setup

  1. In Figma Variables, create a primitive color token (e.g., Palettes/Neutral/15).

  2. Create a semantic/alias color token (e.g., border-neutral or border-interactive).

  3. Map this semantic token to the primitive color (Palettes/Neutral/15) AND apply an opacity modifier directly in Figma's variable value field (e.g., 12% or 44% — see attached Figma screenshot).

  4. Export/Sync the variables to Telerik ThemeBuilder.

  5. The resulting token in ThemeBuilder is corrupted (#NaNNaNNaN) and throws a mismatch syntax error when applied to a component property.

Describe the solution you'd like
Update the ThemeBuilder Figma plugin and/or ThemeBuilder's token parser so that it properly interprets Figma's composite variable syntax (Color Reference + Opacity %).
Upon import, ThemeBuilder should resolve the underlying hex value of the referenced token and apply the specified alpha channel (e.g., outputting a valid rgba(...) or #RRGGBBAA value).

Why is this important?
Figma recently introduced the ability to apply opacity modifiers directly onto referenced color variables,
which is now a standard best practice for building scalable Design Systems (avoiding the duplication of primitive palettes for every transparency level). Supporting this in ThemeBuilder would allow teams to maintain Figma as their single source of truth for all color tokens—both opaque and semi-transparent—without needing manual workarounds or overrides inside ThemeBuilder.

Attachments

  • Screenshot 1: Figma Variables setup showing a semantic token mapped to Palettes/Neutral/15 with 12% and 44% opacity modifiers.

  • Screenshot 2: ThemeBuilder error toast displaying Mismatch syntax: <color> value: #NaNNaNNaN.

2 comments
Olivier
Posted on: 16 Nov 2026 15:58

Hi Nick,
Thanks for your answer
I hope this limitation from Figma will be solved asap and allow themebuilder to be efficient on this token topic.

Best regards

ADMIN
Nick Iliev
Posted on: 16 Nov 2026 12:04

Hello,

 

Thank you for the detailed report. This is a valid limitation in the current Figma import: variables combining a referenced color with a separate opacity value are not handled correctly and can produce invalid values. Ordinary color aliases and literal colors with transparency are supported.

As a workaround, replace the affected value in Figma with a literal color containing the required alpha, then export it again. Alternatively, keep the composed variable for design use and create a separate literal-alpha variable for export, excluding the composed variable. Repeat this for each relevant mode. The exported literal will no longer track its primitive automatically, so subsequent primitive changes must be reflected manually.

This is a valid feature request for the team to evaluate during triage. So far no implementation or release timeframe is confirmed but we will update this thead as soon as we have more information to share.

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.