Skip to content

Ability to export tokens in JSON #4324

@Barsnes

Description

@Barsnes

This is to make it easier to transform into other languages/frameworks.

It would need to export without "rem" or "em", and just use the number value (in px, but without px prefix).
Include hex values as well.

Style dictionary might do this for us out of the box.
Should be an option in config/cli.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cli@digdir/designsystemet🤝 Help wantedTasks we think can be good for contribution. Could be a good first issue

    Type

    No type

    Projects

    Status

    📄 Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions