Compare commits

...
2 Commits
Author SHA1 Message Date
alexrg f2a40f051b Use La Salle Mexico logo for provider tile 2026-09-04 15:38:35 -06:00
alexrg 17c8960cdd Improve credential provider mascot fidelity 2026-09-04 15:29:31 -06:00
5 changed files with 7 additions and 5 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

@@ -6,7 +6,9 @@ namespace SGU.CredentialProvider;
internal static class ProviderTileIcon
{
public const int Size = 72;
// LogonUI enlarges the dedicated-tile artwork. Supply a dense source image
// so the mascot remains crisp at the large sign-in surface.
public const int Size = 256;
private const string MascotResourceName = "SGU.CredentialProvider.Branding.LaSalleMascot.png";
public static Bitmap Create()
@@ -24,7 +24,7 @@
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\..\assets\branding\lasalle-mascot-provider.png"
<EmbeddedResource Include="..\..\assets\branding\lasalle-mexico-provider.png"
LogicalName="SGU.CredentialProvider.Branding.LaSalleMascot.png" />
</ItemGroup>
@@ -7,7 +7,7 @@ namespace SGU.CredentialProvider.Tests;
public sealed class ProviderTileIconTests
{
[Fact]
public void ProviderPublishesASeventyTwoPixelLogoForSignInOptions()
public void ProviderPublishesAHighResolutionLogoForSignInOptions()
{
SguCredentialProvider provider = new();
@@ -39,8 +39,8 @@ public sealed class ProviderTileIconTests
}
}
Assert.InRange(redPixels, 100, 2_000);
Assert.InRange(navyPixels, 100, 4_000);
Assert.InRange(redPixels, 1_000, 30_000);
Assert.InRange(navyPixels, 1_000, 50_000);
}
[Fact]