Newer Version Available

This content describes an older version of this product. View Latest

Step 2: Define a Tokens Bundle

To enable your Aura components to access branding tokens, define a tokens bundle in the same namespace. In the Developer Console, create a new tokens bundle with the name defaultTokens.
1<aura:tokens extends="force:base">
2 
3</aura:tokens>

The tokens bundle extends force:base. By including extends="forceCommunity:base" in your markup, you now have access to all the tokens exposed by SLDS and the branding values defined in the Theme panel in Experience Builder.