diff --git a/assets/branding/lasalle-mascot-provider-v2.png b/assets/branding/lasalle-mascot-provider-v2.png new file mode 100644 index 0000000..8aa46a5 Binary files /dev/null and b/assets/branding/lasalle-mascot-provider-v2.png differ diff --git a/src/SGU.CredentialProvider/ProviderTileIcon.cs b/src/SGU.CredentialProvider/ProviderTileIcon.cs index 5153571..b60c902 100644 --- a/src/SGU.CredentialProvider/ProviderTileIcon.cs +++ b/src/SGU.CredentialProvider/ProviderTileIcon.cs @@ -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() diff --git a/src/SGU.CredentialProvider/SGU.CredentialProvider.csproj b/src/SGU.CredentialProvider/SGU.CredentialProvider.csproj index 4da34d1..4ee5ada 100644 --- a/src/SGU.CredentialProvider/SGU.CredentialProvider.csproj +++ b/src/SGU.CredentialProvider/SGU.CredentialProvider.csproj @@ -24,7 +24,7 @@ - diff --git a/tests/SGU.CredentialProvider.Tests/ProviderTileIconTests.cs b/tests/SGU.CredentialProvider.Tests/ProviderTileIconTests.cs index 7810e6a..bcad555 100644 --- a/tests/SGU.CredentialProvider.Tests/ProviderTileIconTests.cs +++ b/tests/SGU.CredentialProvider.Tests/ProviderTileIconTests.cs @@ -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]