Newer Version Available

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

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.

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.