-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photo captions not readable in light themes [🐛] #1474
Comments
i am new to open source commnity... can i work on it? |
Of course, give it a shot! 👍 |
@bkimminich Hey i would like to work on this issue can you assign me this issue |
Not sure if @surajat17 started working on this yet, but give it a shot too, if you like. First (good) PR, first merge... 😁 |
@rohan2734 go for it. |
ok @surajat17
is this saying, we need to see the caption, when we hover on the background? or is the opposite? |
On light background you see it (good ✔️) but on dark background you don't (bad ❌). It should be readable on both color schemes. |
@bkimminich okay. |
@bkimminich can you share the file names, on which it is there? |
@rohan2734 If you mean the photowall page, the component is defined in https://github.com/bkimminich/juice-shop/tree/master/frontend/src/app/photo-wall |
The problematic part is actually this statically defined overlay color: https://github.com/bkimminich/juice-shop/blob/master/frontend/src/app/photo-wall/photo-wall.component.scss#L69 50% transparent black works nicely if you put white letters on it but totally fails if you put black letters on it. The color needs to be different depending on having a light or dark color theme. There should be an Angular-way to do this, but you'd need to investigate that as part of the issue solution. |
This thread has been automatically locked because it has not had recent activity after it was closed. 🔒 Please open a new issue for regressions or related bugs. |
🐛 Bug report
Description
🔬 Minimal Reproduction
NODE_ENV=7ms npm start
The text was updated successfully, but these errors were encountered: