Skip to content

Commit

Permalink
fix: add custom twitch icon
Browse files Browse the repository at this point in the history
  • Loading branch information
thelegendaryzubat committed Jan 20, 2022
1 parent 51b6810 commit 819da36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ public MudTwitchBlockDescriptor(ILocalizationProvider<TwitchBlock> localizationP
{
}

public override string Icon => Icons.Filled.Stream; // TODO: Get twitch icon
public override string Icon => "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-hidden=\"true\" role=\"img\" width=\"1em\" height=\"1em\" preserveAspectRatio=\"xMidYMid meet\" viewBox=\"0 0 24 24\"><path d=\"M11.64 5.93h1.43v4.28h-1.43m3.93-4.28H17v4.28h-1.43M7 2L3.43 5.57v12.86h4.28V22l3.58-3.57h2.85L20.57 12V2m-1.43 9.29l-2.85 2.85h-2.86l-2.5 2.5v-2.5H7.71V3.43h11.43z\" fill=\"currentColor\"/></svg>";
}

0 comments on commit 819da36

Please sign in to comment.