Newer Version Available
Standard Design Tokens for Communities
With the Theme panel, administrators can quickly style an entire community using branding properties. Each property in the Theme panel maps to one or more standard design tokens. When an administrator updates a property in the Theme panel, the system updates the Lightning components that use the tokens associated with that property.
Available Tokens for Communities
| These Branding panel properties... | ...map to these standard design tokens |
|---|---|
| Text Color | colorTextDefault |
| Detail Text Color |
|
| Action Color |
|
| Link Color | colorTextLink |
| Overlay Text Color |
|
| Border Color |
|
| Primary Font | fontFamily |
| Text Case | textTransform |
In addition, the following standard tokens are available for derived theme properties in the Customer Service template. You can indirectly access derived branding properties when you update the properties in the Theme panel. For example, if you change the Action Color property in the Theme panel, the system recalculates the Action Color Darker value based on the new value.
| These derived branding properties... | ...map to these standard design tokens |
|---|---|
| Action Color Darker (Derived from Action Color) |
|
| Hover Color (Derived from Action Color) |
|
| Link Color Darker (Derived from Link Color) |
|
For a complete list of the design tokens available in the SLDS, see Design Tokens on the Lightning Design System site.