feat(ui): add custom themed scrollbar across all pages#1663
Merged
omroy07 merged 1 commit intoomroy07:mainfrom Feb 27, 2026
Merged
feat(ui): add custom themed scrollbar across all pages#1663omroy07 merged 1 commit intoomroy07:mainfrom
omroy07 merged 1 commit intoomroy07:mainfrom
Conversation
|
@nur-hasin is attempting to deploy a commit to the Om Roy's projects Team on Vercel. A member of the Team first needs to authorize it. |
Thanks for creating a PR for your Issue!
|
Contributor
Author
|
Hi @omroy07, as requested before, please add the SWoC26 label to my PR. I'm in both programs, so both labels are needed. If only one can be added, prioritize SWoC26. |
|
🎉 Congrats @nur-hasin on getting your PR merged! 🙌 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Rationale for this change
Default browser scrollbars break visual consistency across AgriTech's themed UI. Custom scrollbars using the existing CSS variable system ensure every page maintains a cohesive, modern appearance across all theme variants (dark/light) without any additional JavaScript or new files. This is a pure CSS UI polish change to enhance the modern feel of the platform.
What changes are included in this PR?
Common change applied across all 16 pages (home, about, blog, news, community-forum, faq, crop-monitoring, supply-chain, sustainable-farming, marketplace, financial-support, finance-bot, contact, feedback, privacy-policy, yield-prediction) - same scrollbar block added to each:
Some pages required a custom color palette created based on the page theme, these pages did not have the necessary CSS variable tokens (
--bg-secondary,--border-color,--text-muted) in their existing:rootor[data-theme="dark"]blocks.Are these changes tested?
Manually tested across:
Are there any user-facing changes?
Yes:
Screenshots