function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mayank Pant 11Mayank Pant 11 

Lightning theme on classic vf page

Hi All,

My client wants to have lightning them on salesforce classic visual force page. Is there any library/css file which we can use to style the page in lightning theme without using slds? 

Many thanks in advance. 

Regards,
Mayank
badibadi
Yes, you can use lightning design system. Here is the link, we use it for all our projects now and its really good.

https://www.lightningdesignsystem.com/platforms/visualforce/
 
SScholtzSScholtz
Mayank, note that while you can use LDS w/ VF, you can't really use the old <apex:whatever> components as well and expect them to come out looking like LDS.  Some may transition ok, but as you can see with the examples on the LDS site, the framework requires a certain kind of HTML markup which old VF components won't follow or allow you to control.