TheVicky1 / TheVicky1/Pact_OS

[UI] Refine Finance Category Badge Background Opacity

Open Beginner friendly
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accessibility area:dashboard beginner friendly bug community contributions-welcome difficulty:beginner difficulty:easy enhancement good first issue hacktoberfest help wanted time:<15m ui up-for-grabs
Dominant language
TypeScript
Stars
5
Forks
7
Avg merge
39m
Merged PRs (30d)
39

Description

  • Labels: good first issue, ui, difficulty:beginner, area:dashboard
  • Target File: src/features/finance/components/transaction-list.tsx
  • Estimated Time: 10–15 minutes
  • Difficulty: Level 2 (Beginner)
Why This Matters

In the transactions ledger table, category tag badges should maintain optimal contrast against the Obsidian dark background (#050505) while preserving the subtle glassmorphism aesthetic.

Current Behavior

Category tags currently use bg-opacity-20, which can appear slightly washed out on lower-contrast monitors.

Requested Change

In src/features/finance/components/transaction-list.tsx, update the badge background utility classes to bg-opacity-15 border border-white/[0.08] for enhanced legibility and visual crispness.

Acceptance Criteria
  • Badge opacity adjusted in src/features/finance/components/transaction-list.tsx.
  • Visual contrast conforms to WCAG AA on dark backgrounds.
  • npm run lint and npx tsc --noEmit pass with 0 errors.
Verification
npm run lint
npx tsc --noEmit
Contributor Notes

Scoped strictly to Tailwind CSS classes in a single component.


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/features/finance/components/transaction-list.tsx and locate the category tag badge classes. Update the background opacity and border utilities as specified, then run npm run lint and npx tsc --noEmit. Done means the badge uses the requested classes, meets the stated contrast requirement, and both checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
90/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.