fix: remove inline styles and fix footer text constrast in light mode#37347
fix: remove inline styles and fix footer text constrast in light mode#37347Zoya220 wants to merge 1 commit into
Conversation
❌ PR Closed — Files Outside
|
|
🔒 Pull Request Closed: This PR has been automatically closed because it does not contain any file changes under the |
📊 CSS Bundle Size BenchmarkThis PR changes the size of
|
❌ Submission Validation FailedThank you for your contribution! However, some required files are missing or incorrect. 📋 Required Structure🔍 Issues Found:🔠
|
|
🔒 Pull Request Closed This PR was automatically closed because it failed the submission validation check. Please fix the issues listed above, then open a new pull request. Thank you! |
Pull Request Description
This PR fixes Issue #36299 where the website footer text became completely invisible/unreadable when switching the theme to Light Mode.
Type of Change
Submission Checklist
submissions/demo.htmlstyle.cssREADME.mdFeature Description
What does this add?
It restores accessible text color contrast to the global documentation footer when using the light mode theme layout.
How does a developer use it?
The fix operates automatically across the documentation site (
docs/demo.html) when a user triggers the light mode color preference theme.Why does it fit EaseMotion CSS?
It ensures the documentation layout remains accessible, beautiful, and functional across all user theme choices.
Demo
#4b5563instead of low-contrast white).Browser Testing
Notes for Maintainer
The original landing page had a hardcoded inline style (
color:rgba(255,255,255,0.3)) directly on the footer paragraph insidedocs/demo.htmlwhich completely overrode stylesheet color rules. I stripped that out and added an explicit, accessible#4b5563text color fallback inside the light mode media query block incomponents/footer.css.