Skip to content

Conversation

@krishnans2006
Copy link
Member

@krishnans2006 krishnans2006 commented Apr 4, 2024

Proposed changes

  • Add 2 new maskable icons
  • Update manifest.json
    • Remove unnecessary icons (only keep 192x192 and 512x512)
    • Include maskable icons

Brief description of rationale

Maskable icons are designed for PWAs to support a variety of icon shapes through extra padding. Most notably, they remove the "white border" present around Ion's current icon. Here is a nice comparison:
image

Technical details

This change introduces new maskable icons for Ion. Here are a few visual representations this icon can take:
image
image
image

They will take effect in the following environments:

  • Android (post-2020)
  • ChromeOS
  • macOS (Sonoma or later)

For further details, see:

This was inspired by tjcsl/tin@9cf961c.

@krishnans2006 krishnans2006 self-assigned this Apr 4, 2024
@krishnans2006 krishnans2006 requested a review from a team as a code owner April 4, 2024 01:48
@krishnans2006 krishnans2006 marked this pull request as draft April 4, 2024 01:48
@krishnans2006
Copy link
Member Author

krishnans2006 commented Apr 4, 2024

For further comparison, here's Ion's current icon vs. Tin's maskable icon (on ChromeOS):
image

@krishnans2006 krishnans2006 marked this pull request as ready for review April 4, 2024 12:41
@krishnans2006 krishnans2006 changed the title feat(static): add maskable icons and update web manifest Add maskable icons Apr 4, 2024
@coveralls
Copy link

Coverage Status

coverage: 79.718%. remained the same
when pulling e750c86 on krishnans2006:favicon-update
into fcdd5de on tjcsl:dev.

@alanzhu0 alanzhu0 merged commit 128df96 into tjcsl:dev Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants