Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add IconResolver into profiles #26
This PR adds new resolver IconResolver which adds an icon property to the resolver. This Icon is a multihash addressing to the icon directory. For example it could be an IPFS CID. The directory should contain a set of icons from size 32px to 512px.
Similar icon format is a standard for native apps developers. Such icons could be used as site/dapp favicon or PWA icon, company logo, personal avatar or other identity.
Icon name convention
name = "icon_", size, ".png" | "icon_", mode, "_", size, ".png" mode = "light" | "dark" size = size-set | size-set, "@2x" size-set = "32x32" | "64x64" | "128x128" | "256x256" | "512x512"
Light icon example