You are here:
Customizing SLDS Design Tokens in the Classic Omniscript Designer (Managed Package)
For the managed package runtime, to override a token in the classic Omniscript designer:
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- In an Omniscript's Script Configuration, select Edit as JSON to open the JSON editor.
- Add the node designTokenOverride.
-
Set the node's value to a token, and edit the token's syntax by applying these changes:
-
Remove the dashes and apply camelcase to the token. For example, the token
$spacing-xx-smallmust be$spacingXxSmall. -
Replace the token's $ symbol with --lwc-.
--lwc-spacingXxSmall -
Set the token's value, and end the line for each token in the designTokenOverride node using a ;.
"designTokenOverride": "--lwc-spacingXxSmall: 10rem; --lwc-spacingSmall: 5rem; --lwc-spacingMedium: 2rem;"
-
- Activate the Omniscript, and preview it in the LWC Omniscript Designer or a Lightning page.

