Skip to content

feat: add custom themed scrollbar styling for dark and light modes - #540

Open
MahithaJV wants to merge 1 commit into
meswaramuthu:mainfrom
MahithaJV:feature/custom-scrollbar
Open

feat: add custom themed scrollbar styling for dark and light modes#540
MahithaJV wants to merge 1 commit into
meswaramuthu:mainfrom
MahithaJV:feature/custom-scrollbar

Conversation

@MahithaJV

Copy link
Copy Markdown
  • Added thin 8px scrollbar with rounded edges for a modern look

  • Scrollbar thumb uses accent red color (--primary-color) with opacity variants

  • Supports hover and active states with smooth color transitions

  • Dark mode: subtle translucent red thumb on near-transparent track

  • Light mode: softer red thumb on light track for readability

  • Cross-browser: WebKit pseudo-elements + Firefox scrollbar-width/scrollbar-color

  • Uses CSS custom properties for seamless theme toggle support

Which issue does this PR close?

We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example Closes #123 indicates that this PR will close issue #123.

Rationale for this change

Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.

What changes are included in this PR?

There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.

Are these changes tested?

We typically require tests for all PRs in order to:

  1. Prevent the code from being accidentally broken by subsequent changes
  2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?

Are there any user-facing changes?

If there are user-facing changes then we may require documentation to be updated before approving the PR.

- Added thin 8px scrollbar with rounded edges for a modern look

- Scrollbar thumb uses accent red color (--primary-color) with opacity variants

- Supports hover and active states with smooth color transitions

- Dark mode: subtle translucent red thumb on near-transparent track

- Light mode: softer red thumb on light track for readability

- Cross-browser: WebKit pseudo-elements + Firefox scrollbar-width/scrollbar-color

- Uses CSS custom properties for seamless theme toggle support
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

@MahithaJV is attempting to deploy a commit to the 007's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant