Filter text not visible (white text on light background)
Description
Page - https://layer5.io/cloud-native-management/meshery/integrations The filter section displays text in white color on a light (grey/white) background. This causes poor contrast, making the filter labels (e.g., "Billing", "Careers", etc.) hard to read or almost invisible. The issue appears specifically in the filter panel where category options are shown. --
Expected Behavior
The filter text should have sufficient contrast against the background in dark mode. For example, text color should adapt (e.g., dark text on light background or light text on dark background) so that all filter labels remain clearly visible and readable.
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.
@Utk2oo4 Hey i have check it in both the themes its working fine, Can u verify me it please
@UtkarshAnandd I identified the main issue. When the site is loaded directly in dark mode, the filter section text appears white, making it hard to see against the light background. However, if I switch from light mode to dark mode, the text briefly appears dark (and visible). After reloading the page in dark mode, it reverts back to white and becomes hard to read again. I’ve attached a screen recording below to demonstrate this behavior.
https://github.com/user-attachments/assets/01abbc0f-f335-40f3-83d0-f94e3d87b761
@Utk2oo4 Are you started working on it or any help needed u can ping me anytime for it
Actually I haven't, I'm new to Open Source. Dont we have to first get this issue assigned by maintainer to get started working on it?
Yeah ur Right so tag @Rajesh-Nagarajan-11 and @Bhumikagarggg Please look and Assign it too @Utk2oo4 for further actions on issue
I see the issue with the filter text being in white on a light background, causing poor contrast. I'd handle this by updating the CSS to ensure text contrast adjusts based on background brightness, so labels remain readable in all modes. I can have a PR ready within 24 hours. I've dealt with similar UI contrast issues in other React projects, ensuring accessibility across themes.
@UtkarshAnandd Hey bro, I need your help. When I try to run this project using make site on my system, it keeps throwing a “JavaScript heap out of memory” error. I even tried running it on a system with 16GB RAM, but I’m still facing the same issue.
Sure I Will u help u in this layer 5 is heavy to set up but will it
Hey can u please Leave a screenshot for providing better context
@Utk2oo4 Hello, did you run Layer5 locally? Or are you still facing the issue?
@Utk2oo4 Also, the issue you’re working on only appears when we visit the page for the first time, and it still remains even after refreshing the page. But when we switch between dark and light mode, the problem disappears. Please look into this as well.
i tried on 32gb RAM computer still its showing Javascript heap out of memory this is the ss:
@AnkitRewar11 Hey can u help him please I am working on diff issue for now, @Utk2oo4 please can u help it by providing videos for the better context please
it is mainly happening when i'm running command: make site and it's getting stuck at: Building Development Bundle then after some time it shows the same error and i tracked memory usage in task manager and it used nearly 26gb ram
bro im new to this repo and open source so i dont know who saurbh is😭
@Utk2oo4 are u in slack ? please join if u are not in.