Skip to content

Make CLI single source of truth for design-tokens template #4460

@mimarz

Description

@mimarz

Today we are using a mix of copying some files from design-tokens (typography tokens) and other generated from scratch in cli to make the design-tokens schema used for tokens create. This was done as some parts was easier to setup using Token Studio and verifying in Figma.

We generate the same design-tokens used for the tokens template using our cli. This is vunderable for causing circular dependency, and limits what features we can generate.

We plan to now make the token template fully declared in the cli used for generating to offer new features ( configrable typography) and avoid potential bugs.

Will need to add steps for verifying design-token compability with Token Studio after this is done.

Explorative work done in #4450.

Actions

  • Make CLI source-of-truth for design-tokens template.

Metadata

Metadata

Assignees

Labels

cli@digdir/designsystemet

Type

No type

Projects

Status

✅ Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions