Newer Version Available
User Interface Themes
| Available in: Salesforce Classic and earlier |
Back in the Winter ’06 release, Salesforce started supporting multiple user interface themes, allowing you to use different sets of icons and colors for the user interface. But these user interface themes do not apply when your org is using Lightning Experience.
There are two user interface themes, matching the earlier iterations of Salesforce.
- “Salesforce”—the theme for the user interface that immediately preceded Lightning Experience. This interface is now referred to as Salesforce Classic. You may also be familiar with it as the Salesforce Aloha interface.
- “Salesforce Classic”—the original Salesforce user interface. This is indeed a classic interface. But with the introduction of Lightning Experience, the Salesforce Classic name is now used for the “Salesforce” user interface theme. So think of this one as the classic, classic theme.
The getUserInfo() call returns a getUserInfoResult object, which includes the userUiSkin property. This property informs you of the user’s current user interface theme.
Use the describeQuickActions(), describeTabs(), and describeTheme() calls and their return types to get information on theme icons and colors.
Style sheets are available to mimic the look and feel of the older user interfaces. For more information, see Styling Visualforce Pages in the Visualforce Developer's Guide. But if you’re planning to switch to Lightning Experience, consider the Lightning Component framework, our new UI framework. See the “Lightning Components” module in the Developer Trail - Lightning Experience Trailhead trail to learn more.