Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Extending Tokens Bundles
Use the extends attribute to extend one tokens
bundle from another.
To add tokens from one bundle to another, extend the
“child” tokens bundle from the “parent” tokens, like
this.
1<aura:tokens extends="yourNamespace:parentTokens">
2 <!-- additional tokens here -->
3</aura:tokens>Overriding tokens values works mostly as you’d expect: tokens in a child tokens bundle override
tokens with the same name from a parent bundle. The exception is if you’re using standard tokens.
You can’t override standard tokens in Lightning Experience or the Salesforce mobile app.