[PR #2217] [MERGED] feat: update hover style for light mode in community page #4204

Closed
opened 2026-03-13 11:37:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2217
Author: @sudoskys
Created: 4/11/2025
Status: Merged
Merged: 4/11/2025
Merged by: @Kinfe123

Base: mainHead: main


📝 Commits (1)

  • 8955d87 feat: update hover style for light mode in community page

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 docs/app/community/_components/stats.tsx (+3 -3)

📄 Description

Fix button hover text color in light mode

This PR addresses an issue with the button hover states in the community stats component. Previously, in light mode, text would change to white on hover, making it difficult to read against the light background.

Changes made:

  • Modified the hover text color for all three buttons (Discord, Downloads, Reddit) to ensure proper contrast
  • Added separate styling for dark mode using the dark: variant
  • Maintained existing group hover effects and transitions

This change ensures text remains legible in both light and dark mode, improving overall accessibility and user experience.

Before

preview1.webm

After

preview.webm


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2217 **Author:** [@sudoskys](https://github.com/sudoskys) **Created:** 4/11/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`8955d87`](https://github.com/better-auth/better-auth/commit/8955d87292eaba0a0c97ab0799e3e55c920c7a3e) feat: update hover style for light mode in community page ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/community/_components/stats.tsx` (+3 -3) </details> ### 📄 Description ## Fix button hover text color in light mode This PR addresses an issue with the button hover states in the community stats component. Previously, in light mode, text would change to white on hover, making it difficult to read against the light background. ### Changes made: - Modified the hover text color for all three buttons (Discord, Downloads, Reddit) to ensure proper contrast - Added separate styling for dark mode using the `dark:` variant - Maintained existing group hover effects and transitions This change ensures text remains legible in both light and dark mode, improving overall accessibility and user experience. ### Before [preview1.webm](https://github.com/user-attachments/assets/5fc226be-75de-4126-9219-c9132a37cb6c) ### After [preview.webm](https://github.com/user-attachments/assets/bb335a10-35e2-4e02-999e-945aec535774) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:37:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4204