Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4044

How can I style a FluentUI component in Blazor?

$
0
0

I'm new to FluentUI. I just started a MAUI/Blazor hybrid app and I'm struggling to apply the styles that I want to my FluentUI components.

Styling works when I use inline styling.

For example:

<FluentHeader Style="background-color:blueviolet">    Header text</FluentHeader>

and this works.

But when I add a class to the component and then try to style it using mycomponent.razor.css, it does not work. Am I missing something about FluentUI? I have read the documentation and I found things like design tokens but still did not try those.

Can someone please tell me how to do this? Thanks


Viewing all articles
Browse latest Browse all 4044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>