Skip to content

Design tokens are confusing #29599

Answered by vnbaaij
garrenf asked this question in Q&A
Oct 19, 2023 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

Ok, I found out what was going wrong...

The FluentHeader component is an addition to the Blazor library that doesn't have an underlying web component (which FluentButton does have). When adding the FluentHeader to the library (as well as others like FluentBodyContent and FluentFooter), we forgot to put the ref element (your headerRef.Element) in the rendered element. This means the Design Tokens never get 'connected' to the component. After adding the needed @ref= Element to the components, everything works as expected.
We are rolling out a fix for this with 3.2.1 release of the Blazor library.

A small suggestion...if you would like to change the font for the whole application, you could …

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@chrisdholt
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@garrenf
Comment options

Answer selected by garrenf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants