I have a visualforce page embedded in the Case layout and the buttons and text boxes don't match the styling in service console. I used view source to view the css file in the service console and I thought about referencing them in my page but the css files have this at the top:
- This code is for Internal Salesforce use only, and subject to change without notice.
- Customers shouldn't reference this file in any web pages.
Does anyone have an easier way to style visualforce pages to match the service console?
Best Answer
You need to use Salesforce Lightning Design System stylesheet which closely matches with Salesforce Console.
Approach 1: Include the css in static resource and start using it
Approach 2: Using apex:slds