Skip to content

fix: improve back-to-top button contrast (Conflict Resolution for #325)#341

Merged
devpathindcommunity-india merged 3 commits into
masterfrom
fix-pr-325-conflicts
May 28, 2026
Merged

fix: improve back-to-top button contrast (Conflict Resolution for #325)#341
devpathindcommunity-india merged 3 commits into
masterfrom
fix-pr-325-conflicts

Conversation

@Aditya948351

Copy link
Copy Markdown
Collaborator

This resolves the conflicts in PR #325. Closes #320.

Copilot AI review requested due to automatic review settings May 28, 2026 18:01
@Aditya948351 Aditya948351 added the gssoc:approved give 50+ base points label May 28, 2026
@Aditya948351

Copy link
Copy Markdown
Collaborator Author

Do star the repo and thanks for the Contribution

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Back to Top button styling to improve contrast across light and dark themes, addressing the visibility issue described in #320.

Changes:

  • Replaces the black button styling with cyan theme-safe classes.
  • Adds hover, border, shadow, and focus-visible ring styles.
  • Adds a regression test for the expected Tailwind classes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/components/BackToTop.tsx Updates the Back to Top button classes for improved contrast and focus visibility.
tests/test_back_to_top_styles.py Adds a source-based regression test for the button styling classes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/test_back_to_top_styles.py
@devpathindcommunity-india devpathindcommunity-india merged commit 02c7187 into master May 28, 2026
1 check passed
@devpathindcommunity-india devpathindcommunity-india deleted the fix-pr-325-conflicts branch May 28, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved give 50+ base points level:intermediate Intermediate level issues quality:clean type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Update "Back to Top" button color for better visibility.

4 participants