[PowerToys Run] Updated (plugin) icons with MDL2 (#4149)

* Updated (plugin) icons with MDL2

* Image wasn't updating

* Based on feedback, updated app icon and windowwalker icon

* Updated app icon

* Updated Window Walker icon

* Change build action / Copy to output directory to None and Do Not Copy - like it was originally

* Fix

* Fix

* Resized images

* Added theme awereness based on somil55s PR

* Added theming to Shell and WindowWalker

* Revert "Added theming to Shell and WindowWalker"

This reverts commit f492c4efdb.

* Revert "Added theme awereness based on somil55s PR"

This reverts commit 8edd3226be.

* Typo fix

* Added new theming support for the new Calculator, Shell and WindowWalker icons

* Added Unit test reference back in
This commit is contained in:
Niels Laute
2020-07-14 07:59:19 +02:00
committed by GitHub
parent 01ca13cccb
commit 5f0e8d3d8e
72 changed files with 185 additions and 97 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 597 B

View File

@@ -128,11 +128,11 @@ namespace Microsoft.Plugin.Calculator
{
if (theme == Theme.Light || theme == Theme.HighContrastWhite)
{
IconPath = "Images/calculator_light.png";
IconPath = "Images/calculator.light.png";
}
else
{
IconPath = "Images/calculator_dark.png";
IconPath = "Images/calculator.dark.png";
}
}
@@ -169,4 +169,4 @@ namespace Microsoft.Plugin.Calculator
}
}
}
}
}

View File

@@ -47,13 +47,6 @@
<ProjectReference Include="..\..\Wox.Infrastructure\Wox.Infrastructure.csproj" />
<ProjectReference Include="..\..\Wox.Plugin\Wox.Plugin.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="Images\calculator_light.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="Languages\en.xaml">
<Generator>MSBuild:Compile</Generator>
@@ -107,11 +100,5 @@
<PackageReference Include="Mages" Version="1.6.0" />
<PackageReference Include="System.Runtime" Version="4.3.1" />
</ItemGroup>
<ItemGroup>
<None Update="Images\calculator_dark.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

View File

@@ -8,5 +8,5 @@
"Language":"csharp",
"Website":"http://www.wox.one/plugin",
"ExecuteFileName":"Microsoft.Plugin.Calculator.dll",
"IcoPath":"Images\\calculator.png"
"IcoPath":"Images\\calculator.dark.png"
}