layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

Filter text not visible (white text on light background)

Open Utk2oo4 opened this issue 7 months ago • 16 comments

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

Image

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.

Join the Layer5 Community by submitting your community member form.

Utk2oo4 avatar May 02 '26 14:05 Utk2oo4

@Utk2oo4 Hey i have check it in both the themes its working fine, Can u verify me it please

Image Image

UtkarshAnandd avatar May 02 '26 15:05 UtkarshAnandd

@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 avatar May 02 '26 16:05 Utk2oo4

@Utk2oo4 Are you started working on it or any help needed u can ping me anytime for it

UtkarshAnandd avatar May 02 '26 18:05 UtkarshAnandd

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?

Utk2oo4 avatar May 03 '26 05:05 Utk2oo4

Yeah ur Right so tag @Rajesh-Nagarajan-11 and @Bhumikagarggg Please look and Assign it too @Utk2oo4 for further actions on issue

UtkarshAnandd avatar May 03 '26 05:05 UtkarshAnandd

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.

snakefood3232 avatar May 03 '26 09:05 snakefood3232

@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.

Utk2oo4 avatar May 04 '26 19:05 Utk2oo4

Sure I Will u help u in this layer 5 is heavy to set up but will it

UtkarshAnandd avatar May 05 '26 01:05 UtkarshAnandd

Hey can u please Leave a screenshot for providing better context

UtkarshAnandd avatar May 05 '26 05:05 UtkarshAnandd

@Utk2oo4 Hello, did you run Layer5 locally? Or are you still facing the issue?

AnkitRewar11 avatar May 08 '26 05:05 AnkitRewar11

@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.

AnkitRewar11 avatar May 08 '26 05:05 AnkitRewar11

i tried on 32gb RAM computer still its showing Javascript heap out of memory this is the ss:

Image

Utk2oo4 avatar May 11 '26 07:05 Utk2oo4

@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

UtkarshAnandd avatar May 11 '26 07:05 UtkarshAnandd

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

Utk2oo4 avatar May 11 '26 07:05 Utk2oo4

bro im new to this repo and open source so i dont know who saurbh is😭

Utk2oo4 avatar May 11 '26 08:05 Utk2oo4

@Utk2oo4 are u in slack ? please join if u are not in.

AnkitRewar11 avatar May 11 '26 11:05 AnkitRewar11