Skip to content

Border composite token: description injected into component + color reference lost on side-specific application #3835

@UdayHyma

Description

@UdayHyma

Describe the bug

When applying a Border composite token to a specific side (e.g., Top), two issues occur:

  1. Token description bleeds into Figma component: The border token's description text gets injected into the component instance's description field in Figma. The description pertains to the border token, not the component — this is incorrect.

  2. Color token reference not resolved: The underlying color token referenced within the border composite is not applied as a token reference. Instead, a raw HEX value is injected into Figma.

Both issues only occur when applying the border token to a specific side (Top, Right, Bottom, Left). Applying to All works correctly.

To Reproduce

  1. Create a Border composite token with a description and a referenced color token
  2. Apply the border token to a component on a specific side (e.g., Top)
  3. Observe: the token's description appears in the component instance's description field
  4. Observe: the color value is a raw HEX instead of the token reference

Expected behavior

  • The border token's description should NOT be written to the component instance's description field
  • The color should be applied as a token/variable reference, not a raw HEX value
  • Behavior should be consistent between side-specific and "All" application

Related issues

Environment

  • Tokens Studio for Figma plugin (version TBC with reporter)
  • Border composite token applied to specific side

Source

Reported by Chris Kerr in Slack #bugs channel (April 8, 2026) with screenshot evidence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    📥 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions