Skip to content

Allow em for dimension token #390

@lukasoppermann

Description

@lukasoppermann

Before starting

  • I have searched existing issues and there is not already an open issue on the subject.

Summary

Add em to the supported values for dimension tokens.

In contrast to px and rem, em are related to the current text size. This behavior can not be easily replicated with rem or px.

However in some cases, like inline code in text blocks of different sizes, icons that are placed inside of text, etc. it is important to use em as you would otherwise need to define additional tokens for each situation.

Version

2025.10 (current stable version)

Problem & motivation

No response

Prior art

No response

Pros & cons

No response

Alternatives

No response

Required

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions