Open
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- browser version : latest
- SPFx version : 1.19.0
- Node.js version : 18.x / 20.x
Describe the bug / error
On a SPFx project, If use the predefined variable (ex:fontFamilyCustomFont800) to override font in dialog, callout, navigation, dropdown, etc (all element have no inline renderer) ...
the variable is undefined (see screenshot).
I think it's coming because the fonts variables is created in first Fluent provider, and all callout, dialog, ect is rendered outside of this div.
I tried with FUI8 & FUI9 lib.
[edit] - the font override do not work with applicationCustomizer, Header & Footer :/
Steps to reproduce
- Create SPFx project with themeProvider & dialog and apply font variable on tittle of dialog.
Expected behavior
That the fonts are also applied to the floating elements.