TheVicky1 / TheVicky1/Pact_OS

[UI] Refine Card Border Styling in Analytics Skeleton Loader

Open Beginner friendly
#62 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/analytics/components/analytics-skeleton.tsx
  • Estimated Time: 10–15 minutes
  • Difficulty: Level 2 (Beginner)
Why This Matters

Skeleton loaders should match the exact border radii and border opacities of their hydrated component counterparts to avoid visual layout shifts during page loading.

Current Behavior

Card placeholders in src/features/analytics/components/analytics-skeleton.tsx use border-white/[0.08].

Requested Change

Align card placeholder borders with the design system standard: border border-white/[0.06] rounded-2xl bg-zinc-950/40.

Acceptance Criteria
  • Card placeholder styling updated in src/features/analytics/components/analytics-skeleton.tsx.
  • Skeleton matches hydrated analytics summary cards.
Verification
npm run lint
npx tsc --noEmit
Contributor Notes

Single file modification.


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/analytics/components/analytics-skeleton.tsx and inspect the card placeholder classes. Update the card styling to use border-white/[0.06], rounded-2xl, and bg-zinc-950/40 so it matches the hydrated analytics summary cards. Run npm run lint and npx tsc --noEmit to verify the change.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.