Skip to content

fix: use theme rarities palette for CatalogCard image background - #475

Open
eordano wants to merge 1 commit into
masterfrom
minifix/aug30
Open

fix: use theme rarities palette for CatalogCard image background#475
eordano wants to merge 1 commit into
masterfrom
minifix/aug30

Conversation

@eordano

@eordano eordano commented Aug 30, 2026

Copy link
Copy Markdown
Member

CatalogCard's image background used Rarity.getColor() from @dcl/schemas — the 2021 palette — while RarityBadge on the same card reads theme.palette.rarities (the current Figma palette, the reference pattern per CLAUDE.md §6). Same rarity, two colors on one card (common: #ABC1C1 vs #73D3D3). The background now reads the theme palette, matching RarityBadge.

Known leftover: the subduedRarity chip variant (CatalogRarityChip) still derives from the schemas colors and carries a comment calling schemas the source of truth — a follow-up issue covers migrating it to theme.palette.rarities/raritiesText and resolving the comment/CLAUDE.md contradiction.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ui2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 74832e5
Status: ✅  Deploy successful!
Preview URL: https://fba74be1.ui2-423.pages.dev
Branch Preview URL: https://minifix-aug30.ui2-423.pages.dev

View logs

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