Repository navigation
Description
Problem
src/components/ui/Badge.tsx presumably renders BountyStatus (open/funded/claimed/in_review/merged/paid/refunded/expired) and Difficulty values as colored pills across BountyCard.tsx and detail pages — eight distinct status values is a lot to encode with color alone in a slate/emerald dark-mode-first palette that likely doesn't have eight easily-distinguishable, WCAG-AA-contrast-compliant hues to spare, especially with the emerald brand color presumably reserved for primary/positive actions elsewhere in the UI (risking a semantic collision, e.g. is "paid" shown in emerald because it's a positive outcome, and does that clash with emerald used for a "Claim" button's affordance elsewhere, confusing which is a status and which is an action?). This is compounded by a specific correctness risk: "funded" and "paid" are both intuitively "good/green" states but mean very different things (money is escrowed vs. money has actually been released to a contributor) — if their badge treatments are too visually similar, a contributor or maintainer could misread a bounty's actual state at a glance, which matters for a financial status indicator.
Why this is hard
- Requires actually enumerating every current color/style mapping in
Badge.tsxfor all eightBountyStatusvalues plus the fourDifficultyvalues (twelve total distinct semantic states sharing one small component), and evaluating them for both mutual distinguishability and WCAG AA contrast in both light and dark mode, which is a real audit against the existing Tailwind v4 config's actual color values, not a guess. - Needs a redesign that doesn't rely on hue alone for the states that matter most to get right (the escrow-money-adjacent ones:
funded/claimed/in_review/merged/paid/refunded) — likely needs a secondary encoding (icon, label text weight/prefix, border style) for at least the states most likely to be confused, which is a design decision requiring judgment about which pairs are actually confusable, not just adding icons to everything indiscriminately. - Must preserve/extend the existing design system's
slate/emeraldidentity rather than introducing an unrelated color scheme, meaning the fix is constrained to work within (or deliberately, minimally extend) the current palette — this requires reading howslate/emeraldare used elsewhere (buttons, links, focus rings) to avoid new semantic collisions while fixing the existing ones. - Should be validated with an actual colorblindness simulation (protanopia/deuteranopia/tritanopia) on the full eight/four-value set, not just eyeballed by someone with typical color vision, since subtle hue-only distinctions are exactly what fails under color vision deficiency.
Scope
- Audit and document the current full status/difficulty-to-style mapping in
Badge.tsxand every call site's actual rendered contrast (light + dark mode). - Redesign the mapping so every one of the twelve states is distinguishable via more than color alone where confusion risk is highest (especially
fundedvs.paid, and any other close pairs identified in the audit), within the existingslate/emeralddesign language. - Verify WCAG AA contrast for all resulting badge styles in both themes.
- Run a colorblindness simulation pass across all states and document findings/fixes in the PR.
Acceptance criteria
- All twelve status/difficulty badge states are pairwise distinguishable under protanopia, deuteranopia, and tritanopia simulation.
- All badge text/background combinations meet WCAG AA contrast in both light and dark mode.
fundedandpaid(and any other identified confusable pair) are unambiguously distinct at a glance, verified by a non-color-vision-dependent cue.
Activity
Sureplus30 commentedon Aug 25, 2026
@Sureplus30 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Sureplus30 to this issue.
Max347bot commentedon Aug 25, 2026
@Max347bot has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Max347bot to this issue.
danfulani0 commentedon Aug 25, 2026
@danfulani0 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @danfulani0 to this issue.
gerani1 commentedon Aug 26, 2026
@gerani1 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @gerani1 to this issue.
drips-wave commentedon Aug 26, 2026
Congratulations, @gerani1! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @gerani1: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
Require signed ownership proof for wallet linking; add non-color cues…
drips-wave commentedon Sep 29, 2026
This issue has been completed by @gerani1 as part of the Stellar Wave Program's 9th Wave 🥳
😎 @gerani1: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.