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

 427 total views,  7 views today

 427 total views,  7 views today 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

Continue reading