microsoft / fluentui-blazor

Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
https://www.fluentui-blazor.net
MIT License
3.49k stars 322 forks source link

feat: add support for BackgroundColor & Color in FluentAnchor #2100

Closed MarvinKlein1508 closed 1 month ago

MarvinKlein1508 commented 1 month ago

🙋 Feature Request

Since FluentAnchors are basically FluentButton just as an Href I'm wondering why there is no support for BackgroundColor and Color just like there is for FluentButton

🤔 Expected Behavior

I would assume this two parameters are also available for FluentAnchors

vnbaaij commented 1 month ago

They are implemented with different web components. For buttons this is a much more used functionality. For anchor, you are the first to ask for this 😁.

Adding specific parameters for this is a bit too much, I think. Especially because it enables breaking out of the Fluent Design more easily (which we don't want to promote).

We do however already offer an example on how to achieve this on the demo site. See https://fluentui-blazor.net/Anchor#appearance