[CmdPal] Adding colored extension icons (#38085)
* Updating run icon * Bookmark * System * WindowWalker * Extensions * CreateExtensions * Services * Replacing icon This PR updates the Segoe Fluent icons with colored Fluent icons. 
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,15 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="5.5" y="0.5" width="5" height="6" rx="2.5" stroke="#666666"/>
|
||||
<rect x="2" y="4" width="12" height="12" rx="3" fill="url(#paint0_linear_1909_18087)"/>
|
||||
<circle cx="8" cy="10" r="2" fill="url(#paint1_linear_1909_18087)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_1909_18087" x1="2.5" y1="4" x2="12.5" y2="16" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#E8EDF2"/>
|
||||
<stop offset="1" stop-color="#C0C1C1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_1909_18087" x1="6.5" y1="8" x2="9.5" y2="12.5" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#666666"/>
|
||||
<stop offset="1" stop-color="#666666"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 745 B |
|
Before Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 597 B |
|
Before Width: | Height: | Size: 563 B |
|
Before Width: | Height: | Size: 726 B |
|
Before Width: | Height: | Size: 679 B |
@@ -8,11 +8,11 @@ namespace Microsoft.CmdPal.Ext.System.Helpers;
|
||||
|
||||
public static partial class Icons
|
||||
{
|
||||
public static IconInfo FirmwareSettingsIcon { get; } = IconHelpers.FromRelativePaths("Microsoft.CmdPal.Ext.System\\Assets\\logoff.light.png", "Microsoft.CmdPal.Ext.System\\Assets\\logoff.dark.png");
|
||||
public static IconInfo FirmwareSettingsIcon { get; } = new IconInfo("\uE950");
|
||||
|
||||
public static IconInfo LockIcon { get; } = new IconInfo("\uE72E");
|
||||
|
||||
public static IconInfo LogoffIcon { get; } = IconHelpers.FromRelativePaths("Microsoft.CmdPal.Ext.System\\Assets\\logoff.light.png", "Microsoft.CmdPal.Ext.System\\Assets\\logoff.dark.png");
|
||||
public static IconInfo LogoffIcon { get; } = new IconInfo("\uF3B1");
|
||||
|
||||
public static IconInfo NetworkAdapterIcon { get; } = new IconInfo("\uEDA3");
|
||||
|
||||
@@ -22,5 +22,5 @@ public static partial class Icons
|
||||
|
||||
public static IconInfo ShutdownIcon { get; } = new IconInfo("\uE7E8");
|
||||
|
||||
public static IconInfo SleepIcon { get; } = IconHelpers.FromRelativePaths("Microsoft.CmdPal.Ext.System\\Assets\\sleep.light.png", "Microsoft.CmdPal.Ext.System\\Assets\\sleep.dark.png");
|
||||
public static IconInfo SleepIcon { get; } = new IconInfo("\uE708");
|
||||
}
|
||||
|
||||
@@ -17,6 +17,14 @@
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Update="Assets\SystemCommand.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Update="Assets\SystemCommand.svg">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
|
||||
@@ -15,7 +15,7 @@ public sealed partial class SystemCommandPage : ListPage
|
||||
public SystemCommandPage(SettingsManager settingsManager)
|
||||
{
|
||||
Title = Resources.Microsoft_plugin_ext_system_page_name;
|
||||
Icon = new IconInfo("\uE72E");
|
||||
Icon = IconHelpers.FromRelativePath("Assets\\SystemCommand.svg");
|
||||
_settingsManager = settingsManager;
|
||||
ShowDetails = true;
|
||||
}
|
||||
|
||||