Loading
Salesforce now sends email only from verified domains. Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Customizing SLDS Design Tokens in the Classic Omniscript Designer (Managed Package)

          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:

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          1. In an Omniscript's Script Configuration, select Edit as JSON to open the JSON editor.
          2. Add the node designTokenOverride.
          3. Set the node's value to a token, and edit the token's syntax by applying these changes:
            1. Remove the dashes and apply camelcase to the token. For example, the token $spacing-xx-small must be $spacingXxSmall.

            2. Replace the token's $ symbol with --lwc-.

              --lwc-spacingXxSmall
            3. 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;"
          4. Activate the Omniscript, and preview it in the LWC Omniscript Designer or a Lightning page.
           
          Loading
          Salesforce Help | Article