Tag: spfx get current theme

SharePoint Online: Use theme color in SharePoint SPFx framework web part

Use theme color in SharePoint SPFx framework web part in SharePoint Online

 10,656 total views

 10,656 total views In this tutorial, we will learn how to use site theme color in SharePoint online SPFx framework web part. Key-Highlights: Create SPFx solution (SPFx Scaffolding process) Launch SPFx web part in SharePoint Online workbench Make changes in the CSS classes (.row and .button) Uses of background-color: “[theme: themeDark, default: #005a9e]”; Uses of background-color:

Continue reading