youtube image
From YouTube: Tips and tricks for theme and hover card handling in view formatting

Description

Site color theme is not flowing through to list tiles? Here is the 14-minute Chris Kent developer focused solution to address this requirement. Time to update hardcoded tile coloring in properties. Extend site theming, using theme sensitive classes, to SVG tile elements like box shadows, borders and fill. The trickery – use absolute and relative positioning to control hovercard behavior for parents and children. The solution works in Microsoft Lists, Microsoft Teams, a SharePoint list, and in a Web part. This PnP Community demo is taken from the General Microsoft 365 Development Special Interest Group (SIG) - Bi-weekly sync call recorded on November 12, 2020.

Demo Presenter: Chris Kent (DMI) | @theChrisKent

Supporting materials:
• Repo - Horse Crests | https://github.com/pnp/sp-dev-list-formatting/tree/master/view-samples/horse-crests

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp-videos