Newer Version Available
Step 2: Define a Tokens Bundle
To enable your Lightning 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 Community Builder.