For the managed package runtime, overwrite global Lightning styles for a specific Flexcard. For example, if your Flexcard requires unique branding across multiple components, you can create custom Lightning styles and load them in your Flexcard as a static resource.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Note
For minor style modifications on elements, see the Style panel in the Flexcard designer when an element is selected on the canvas. See Style Flexcard Elements (Managed Package).
|
Required Versions |
|---|
|
Available beginning Winter '22. |
Before You Begin
Create a Flexcard with a Lightning Theme. See Create a Flexcard (Managed Package).
- Get the Lightning styles from the Lightning Design System website's download page. See Lightning Design System Downloads.
- Follow instructions on the website to modify styles. See Lightning Design System.
- Upload the custom styles as a zipped file into your org as a static resource. See Creating a Static Resource.
- In the Flexcard Designer, click the Setup tab, and click Styling Options.
- In the Custom Lightning StyleSheet File Name field, enter the file name for that Static Resource that stores your custom Lightning styles.