TheVicky1 / TheVicky1/Pact_OS

ui: refine category badge opacity in transaction list

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

Nobody has claimed this yet.

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

Description

🎯 What needs to be done

In src/features/finance/components/transaction-list.tsx, refine the category badge background opacity tokens in COLOR_MAP from bg-*-400/10 to bg-*-400/15 for enhanced contrast against deep obsidian card backgrounds.

Why this matters

Slightly higher badge background opacity enhances readability for category tags (e.g. Income, Food, Housing, Utilities) across light/dark ambient lighting.

📍 Where to work

src/features/finance/components/transaction-list.tsx (lines 48–57)

🧭 Implementation guidance

  1. Open src/features/finance/components/transaction-list.tsx.
  2. Locate the COLOR_MAP object near line 48.
  3. Update the bg property in each color record to use /15 instead of /10.
  4. Do not modify any logic or other components.

✅ Acceptance criteria

  • COLOR_MAP background opacity tokens updated to /15.
  • ESLint and TypeScript checks pass.

🧪 Verification

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 inspect the COLOR_MAP object around lines 48–57. Update each category badge background token from /10 to /15 without changing other logic or components, then run the ESLint and TypeScript checks; done means all COLOR_MAP backgrounds use /15 and both checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
95/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.