Skip to content

Export tokens without units (always px or hex) so it is possible to use in native / mobile development #4318

@eirikbacker

Description

@eirikbacker

Description

Native platforms often do not support units like em/rem, lh, etc.
In Gjensidige, we generated a JSON version of tokens, usable for native / mobile development, where all units where normalized to pure numbers and hex values when appropriate.
We should do something similar in Designsystemet

Additional Information

No response

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    $ tokensEverything related to tokens and Work related to @digdir/designsystemet-theme💡feature request

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions