Skip to content

Commit

Permalink
fix: fixed some icons
Browse files Browse the repository at this point in the history
  • Loading branch information
thelegendaryzubat committed Jan 17, 2022
1 parent a96f00a commit f6b5a41
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -14,5 +15,5 @@ public MudFilesBlockDescriptor(ILocalizationProvider<FilesBlock> localizationPro
{
}

public override RenderFragment Icon => builder => builder.AddIcon("attach");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.Attachment);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -15,5 +16,5 @@ public MudGalleryBlockDescriptor(ILocalizationProvider<GalleryBlock> localizatio
{
}

public override RenderFragment Icon => builder => builder.AddIcon("gallery");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.Photo);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -15,5 +16,5 @@ public MudIframeBlockDescriptor(ILocalizationProvider<IframeBlock> localizationP
{
}

public override RenderFragment Icon => builder => builder.AddIcon("embed");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.Code);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -14,5 +15,5 @@ public MudQuoteBlockDescriptor(ILocalizationProvider<QuoteBlock> localizationPro
{
}

public override RenderFragment Icon => builder => builder.AddIcon("quote");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.FormatQuote);
}
3 changes: 2 additions & 1 deletion src/Sitko.Blockly.MudBlazor/Blocks/MudTextBlockDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -14,5 +15,5 @@ public MudTextBlockDescriptor(ILocalizationProvider<TextBlock> localizationProvi
{
}

public override RenderFragment Icon => builder => builder.AddIcon("text");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.TextFields);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -15,5 +16,5 @@ public MudTwitchBlockDescriptor(ILocalizationProvider<TwitchBlock> localizationP
{
}

public override RenderFragment Icon => builder => builder.AddIcon("twitch");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.Stream);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -15,5 +16,5 @@ public MudTwitterBlockDescriptor(ILocalizationProvider<TwitterBlock> localizatio
{
}

public override RenderFragment Icon => builder => builder.AddIcon("twitter");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.Air);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MudBlazor;
using Sitko.Blockly.Blazor;
using Sitko.Blockly.Blocks;
using Sitko.Blockly.MudBlazorComponents.Display.Blocks;
Expand All @@ -15,5 +16,5 @@ public MudYoutubeBlockDescriptor(ILocalizationProvider<YoutubeBlock> localizatio
{
}

public override RenderFragment Icon => builder => builder.AddIcon("youtube");
public override RenderFragment Icon => builder => builder.AddIcon(Icons.Filled.Bathtub);
}

0 comments on commit f6b5a41

Please sign in to comment.