Align frontend with the QRL Blue design system - #49
Conversation
Ports the wallet's QRL Blue palette and Inter numeric typeface into QuantaPool so the dApp reads as part of the same product family after the wallet's rebrand from Obsidian & Ember. Keeps the dApp's own scroll and layout deltas from the wallet (body as scroll container, no chart/sidebar tokens). Retokens the QuantaPool droplet mark from ember orange to the new sky-blue and ice-blue pair, and swaps the wallet-picker's MyQRLWallet icon for the current 3A mark instead of the SDK's baked EIP-6963 icon. Claude-Session: https://claude.ai/code/session_01LWKZ1b4FBetebjo1kcNHJ8
The rdns identifier sat beside the wallet name in one flex row with no min-w-0 or truncate, so a long value like com.qrlwallet.extension ran past the row and card border at 390px. Stacks the name and rdns vertically instead, each truncating independently within a min-w-0 flex-1 container. Claude-Session: https://claude.ai/code/session_01LWKZ1b4FBetebjo1kcNHJ8
|
Fixed the wallet-picker overflow at 390px reported in review.
Verified both rows (relay Claude-Session: https://claude.ai/code/session_01LWKZ1b4FBetebjo1kcNHJ8 |
Summary
src/index.css, keeping the dApp's own deltas (body as scroll container, no chart/sidebar tokens, background-attachment fixed)..font-numeric(Inter, tabular digits) to every balance, amount, fee, block/slot count and deposit ID across StatsBar, AmountInput, StakePage, WithdrawalsPage, ActivityCard and StatsPage. Addresses, hashes and rdns stay on.font-data(mono).public/quantapool.svg,public/social-card.svg) from ember orange to the new sky-blue/ice-blue pair. The mark's shape is unchanged, it is still QuantaPool's own logo.public/myqrlwallet-icon.svg) instead of the connect SDK's baked icon, inpoolStore.ts.@fontsource-variable/inter, imported inmain.tsxnext to the other self-hosted fonts.hsl(0 72% 64%)with a deep maroon foreground (same fix the wallet shipped for the 12px contrast failure). No QuantaPool destructive text is currently rendered at 12px, so this is a forward-looking parity fix rather than an active bug fix here.Test plan
npm cinpm run lint(zero warnings)npm run typechecknpm test(42/42 pass)npm run buildorigin/dev) and after.font-numericelements resolve to"Inter Variable"via computed styleshttps://claude.ai/code/session_01LWKZ1b4FBetebjo1kcNHJ8