Home › How to fix › Branding
BRD001Auto-fixNo theme variant support
Why it matters
Without supportsThemeVariants the web part renders a white box on coloured section backgrounds.
How to fix
- Set "supportsThemeVariants": true, then handle theme changes (BRD002).
Microsoft articles
- Supporting section backgrounds (theme variants)learn.microsoft.com
- Designing for section backgrounds using semantic slotslearn.microsoft.com
In VS Code: right-click the finding → Apply Fix…, or use ▶ Fix step by step in the report.