feat(ui): Add custom slim scrollbar styling to dashboard widgets#601
feat(ui): Add custom slim scrollbar styling to dashboard widgets#601rahul-rajak-nsut wants to merge 3 commits into
Conversation
- Install tailwind-scrollbar v3.1.0 plugin - Add scrollbar-thin utility in globals.css with dark mode support - Apply scrollbar-thin to BadgeSection, ContributionHeatmap, FriendComparison, NotificationBell Closes Priyanshu-byte-coder#585
|
@rahul-rajak-nsut is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
There was a problem hiding this comment.
Thanks for your first PR on DevTrack! 🎉
A maintainer will review it within 48 hours. While you wait:
- Make sure CI is passing (type-check + lint)
- Double-check the PR description is filled out and the issue is linked
- Feel free to ask questions in Discussions if you need help
If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project grow and attract more contributors!
Priyanshu-byte-coder
left a comment
There was a problem hiding this comment.
Please fix before merging:
- Missing EOF newlines — both changed files must end with
\n - Hardcoded hex colors in CSS — replace with CSS vars:
#4b5563→ usevar(--muted-foreground)#6b7280→ usevar(--muted-foreground)#9ca3af→ usevar(--muted-foreground)
All colors must go through the CSS variable system to respect dark/light theming.
|
Hi @Priyanshu-byte-coder , I've addressed all the requested changes:
Ready for re-review! |
Summary
Adds custom slim scrollbar styling to all scrollable dashboard widgets using
tailwind-scrollbarv3.1.0. Replaces the bulky OS-default scrollbar with a clean 6px pill-shaped thumb that works in both light and dark mode.Closes #585
Type of Change
Changes Made
tailwind-scrollbarv3.1.0 (compatible with Tailwind v3).scrollbar-thinutility inglobals.csswith dark mode supportscrollbar-thintoBadgeSection.tsx,ContributionHeatmap.tsx,FriendComparison.tsx,NotificationBell.tsxHow to Test
npm run devand openhttp://localhost:3000Screenshots (if UI change)
Slim scrollbar visible on all scrollable widgets in both light and dark mode
Checklist
npm run lintpasses locallynpm run type-check)