The Section Theme web part illustrates how to use theme variant variables to style web parts based on selected site theme and section background colors.



-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
This project contains two client-side web parts built on the SharePoint Framework illustrating multiple techniques showing how to use SharePoint themes variables and variant variables to style custom web parts