Skip to content

Problem with font from Brand center and SPFx/FUI8 & FUI9 #9830

Open
@rgcircum

Description

@rgcircum

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).
image

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

  1. 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.

Metadata

Metadata

Assignees

Labels

Needs: Triage 🔍Awaiting categorization and initial review.area:fluent-uiCategory: Fluent UI / Office UI Fabric / Fabric Reactsharepoint-developer-supportsharepoint-developer-supporttype:bug-confirmedConfirmed bug, not working as designed / expected.type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions