Skip to content

feat(chains): add Moralis and Subsquid Subgraph icons - #56

Merged
nimrod-teich merged 5 commits into
mainfrom
feat/chain-icons-moralis-subsquid
Jun 28, 2026
Merged

nimrod-teich merged 5 commits into
mainfrom
feat/chain-icons-moralis-subsquid

Conversation

@nimrod-teich

Copy link
Copy Markdown
Contributor

What

Adds the two chain icons that were missing from apps/web/public/chains/ — Moralis (MORALIS) and Subsquid Subgraph (SQDSUBGRAPH). These were the only entries in the Magma-Devs/lava-specs catalog without an icon file.

No mapping change needed: both spec ids already resolve to /chains/<id>.svg via the default convention in getChainIconUrl. Added a resolver test asserting they map to their new files.

Files

  • apps/web/public/chains/moralis.svg (new — 21×21 circular mark, brand blue)
  • apps/web/public/chains/sqdsubgraph.svg (new — 21×21 circular mark, brand orange)
  • apps/web/src/lib/__tests__/chain-icons.test.ts — two assertions

Context

Surfaced while building the Smart Router docs chain catalog (Magma-Devs/docs), which embeds these same icons. Keeping the two repos' icon sets in sync.

Test plan

  • pnpm --filter @info/web test chain-icons → green

Both spec ids (MORALIS, SQDSUBGRAPH) already resolve to
/chains/<id>.svg by the default convention; these were the only
catalog entries without an icon file. Adds the two SVGs and a
resolver test asserting they map to their files.
These four had light/white marks on no or near-white backing, so they were
nearly invisible on white surfaces. Replace with the brand mark on a solid
brand-coloured disc: Axelar/Stellar white-on-black, Casper white-on-red,
Litecoin white Ł on #345D9D.
Cream e-planet mark on transparent → near-invisible on white. Place it on
the Mars-rust brand disc (#ED4E33), matching the other circular icons.
Replace the inconsistent chain icons with uniform brand-colored circular
discs. 46 marks sourced from web3icons.io, the rest from official brand
assets (sqd.dev, union.build, kakarot.org, elys, side, etc.) or recreated
to match official logos. Fixes washed-out icons (Axelar/Casper/Stellar/
Evmos/Litecoin) and standardises the set onto same-size brand discs that
read on light surfaces.
Add avalanche-c.svg / avalanche-p.svg (Avalanche disc with a C/P corner
badge) and point the AVALANCHEC/AVALANCHEP aliases at them, so the three
Avalanche specs no longer render the same icon.
@nimrod-teich
nimrod-teich merged commit 03dbcdc into main Jun 28, 2026
2 checks passed
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.

1 participant