Skip to content

Commit eaf46b7

Browse files
vnbaaijdvoituron
andauthored
Pass CustomColor on to icon for NavGroup (#4695)
Co-authored-by: Denis Voituron <dvoituron@outlook.com>
1 parent 0505e50 commit eaf46b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Core/Components/NavMenu/FluentNavGroup.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ else if (!Owner.Expanded && Owner.CollapsedChildNavigation && SubMenu != null)
7070
@if (Icon is not null)
7171
{
7272
<span slot="start">
73-
<FluentIcon Value="@Icon" Width="20px" Color="@IconColor" Class="fluent-nav-icon" />
73+
<FluentIcon Value="@Icon" Width="20px" Color="@IconColor" CustomColor="@CustomColor" Class="fluent-nav-icon" />
7474
</span>
7575
}
7676
</ChildContent>
@@ -87,7 +87,7 @@ else if (!Owner.Expanded && Owner.CollapsedChildNavigation && SubMenu != null)
8787
{
8888
@if (Icon is not null)
8989
{
90-
<FluentIcon Value="@Icon" Width="20px" Color="@IconColor" Class="fluent-nav-icon" />
90+
<FluentIcon Value="@Icon" Width="20px" Color="@IconColor" CustomColor="@CustomColor" Class="fluent-nav-icon" />
9191
}
9292
else
9393
{

0 commit comments

Comments
 (0)