Dark mode text rendering issue on Code of Conduct and Terms of Service pages (fixed after refresh)
Description
When navigating to Privacy from any page, the text on the Code of Conduct and Terms of Service pages does not render correctly in dark mode and becomes almost unreadable (very low contrast).
However, after refreshing the page, the text displays correctly.
This indicates a possible issue with theme/style not being applied properly on initial navigation.
Expected Behavior
Text should be clearly visible with proper contrast in dark mode immediately after navigation, without requiring a page refresh.
Actual Behavior
Text appears very faint or unreadable in dark mode After refreshing the page, the issue gets resolved
Steps to Reproduce
- Enable dark mode
- Navigate to any page
- Click on “Privacy”
- Open “Code of Conduct” or “Terms of Service”
- Observe text visibility issue
- Refresh the page → issue disappears
Screenshots
Environment:
- Host OS:
- Browser:
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.
- 📚 See contributing instructions.
- 🎨 Wireframes and designs for Layer5 site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack.
Join the Layer5 Community by submitting your community member form.
i would like to work on this issue please assign it me.
I think this is similar to #7653