Skip to content

Backward Compatibility for generated Design Tokens in LESS with SLDS2 #773

@manish3344

Description

@manish3344

I have a question regarding the design tokens provided in the package, specifically those in the design-tokens/dist/ directory.

For example, in SLDS, we use the token @color-text-default from the LESS files in dist/, which currently resolves to rgb(3, 45, 96). When SLDS 2 becomes GA, will this token automatically map to the new default theme color for SLDS 2 if there are any updates?

Additionally, are there any plans to maintain backward compatibility for these tokens, ensuring that existing references continue to work without requiring manual updates for those who are consuming the @salesforce-ux/design-system NPM package and using the generated design tokens?

https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000PWWY00AP

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