Skip to content

Split the CSS output files into old and new tokensΒ #2583

@jpzwarte

Description

@jpzwarte

Provide a general summary of the issue here

We currently ship light.css and dark.css as complete bundles. This is inefficient, because they also contain the older (new contextual tokens). We still need to ship the older tokens, but we want them to be optional for inclusion in a CFA.

So: remove older tokens from light.css and dark.css and move them to separate (legacy folder?) files

The contextual tokens are in JSON files with postfix -new.json. Those need to be outputted into a new bundle. Everything not -new.json should be in an old bundle.

πŸ‘€ Your name

Jeroen

🧒 Your Product/Team

SLDS

Metadata

Metadata

Assignees

Type

Projects

Status

πŸ‘€ Needs review

Relationships

None yet

Development

No branches or pull requests

Issue actions