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

 3,549 total views,  12 views today

 3,549 total views,  12 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