Home › How to fix › Branding
BRD004Auto-fixHard-coded font-family
Why it matters
Brand Center fonts chosen in Change the look won't apply.
How to fix
- Apply the fix to use a Brand Center font slot.
EXAMPLE
font-family: var(--fontFamilyCustomFont800, var(--fontFamilyBase));Microsoft articles
- Use SharePoint Brand Center fonts in SPFx solutionslearn.microsoft.com
- SharePoint Brand Center overviewlearn.microsoft.com
In VS Code: right-click the finding → Apply Fix…, or use ▶ Fix step by step in the report.