Skip to content

Commit

Permalink
🐛 fix(--icon): Use IconSet.FontAwesome6 instead of v5 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem authored Dec 29, 2023
1 parent 0f1388d commit 5bfdbc9
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Content/BlazorEmptyServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Content/BlazorEmptyWasm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Content/BlazorMaui/BlazorMaui.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Content/BlazorMaui/BlazorMaui.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Content/BlazorMaui/BlazorMaui/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static MauiApp CreateMauiApp()
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Content/BlazorServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Content/BlazorWasm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
4 changes: 2 additions & 2 deletions src/Content/BlazorWeb/BlazorWebApp.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#if (md)
options.ConfigureIcons(IconSet.MaterialDesign);
#elif (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#endif
options.ConfigureSsr(ssr =>
{
Expand All @@ -27,7 +27,7 @@
builder.Services.AddMasaBlazor();
#else
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
4 changes: 2 additions & 2 deletions src/Content/BlazorWeb/BlazorWebApp/Program.Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void Main(string[] args)
#if (md)
options.ConfigureIcons(IconSet.MaterialDesign);
#elif (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#endif
options.ConfigureSsr(ssr =>
{
Expand All @@ -53,7 +53,7 @@ public static void Main(string[] args)
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down
4 changes: 2 additions & 2 deletions src/Content/BlazorWeb/BlazorWebApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#if (md)
options.ConfigureIcons(IconSet.MaterialDesign);
#elif (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#endif
options.ConfigureSsr(ssr =>
{
Expand All @@ -47,7 +47,7 @@
builder.Services.AddMasaBlazor(options =>
{
#if (fa)
options.ConfigureIcons(IconSet.FontAwesome);
options.ConfigureIcons(IconSet.FontAwesome6);
#else
options.ConfigureIcons(IconSet.MaterialDesign);
#endif
Expand Down

0 comments on commit 5bfdbc9

Please sign in to comment.