Skip to content

Improved Sentence Text visibility#59

Merged
FOSSCLUB-LBSITW merged 2 commits into
FOSSCLUB-LBSITW:mainfrom
devikrishna111:text_visibility
Mar 6, 2026
Merged

Improved Sentence Text visibility#59
FOSSCLUB-LBSITW merged 2 commits into
FOSSCLUB-LBSITW:mainfrom
devikrishna111:text_visibility

Conversation

@devikrishna111
Copy link
Copy Markdown

📌 Description

This PR improves the readability of the sentence displayed in the typing test by avoiding hardcoded text colors. The sentence text now adapts dynamically based on the selected appearance mode (light or dark).

Previously, the sentence color could become difficult to read in light mode because a fixed color value was used. This update ensures proper contrast in both light and dark themes, improving accessibility and user experience---

🔗 Related Issue

Closes: #40


🛠 Changes Made

  • Removed hardcoded color values for the sentence text.
  • Implemented dynamic theme-based color handling using appearance mode detection.
  • Ensured proper contrast and readability for both light and dark themes.
    --

✅ Checklist

  • [✅ ] I have tested my changes
  • [ ✅] My code follows project guidelines
  • [✅ ] I have linked the related issue

@FOSSCLUB-LBSITW FOSSCLUB-LBSITW merged commit 8463ec6 into FOSSCLUB-LBSITW:main Mar 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Sentence Text Visibility Based on Theme Mode

2 participants