playsrg-apple
playsrg-apple copied to clipboard
PLAYRTS-5590 Update Highlight Cell Design
Description
Up until now, there was a linear gradient on Highlight Cells, helping make the text more legible.
This PR improves this aspect based on UI/UX requirements, by improving legibility without darkening the highlighted content too much.
In the following images, you can see the raw gradients, how they used to be and how they were implemented after various attempts to find the best result.
Please see also some screenshots to see it in action today.
Changes Made
This was implemented by:
- Moving the description text at the bottom left as requested
- Tweaking the gradients, two gradients are now used (both linear):
- One from bottom to top, in order to highlight the description text
- One from the bottom left corner
The gradients were tweaked for large and compact size, and for different amount of text content. (see the raw gradients above)
If they need to be adjusted in the future, they now have their own view and the midway point to stop the gradient is customizable as a parameter.
Checklist
- [x] I have followed the project's style guidelines.
- [x] I have performed a self-review of my own changes.
- [x] I have made corresponding changes to the documentation.
- [x] My changes do not generate new warnings.
- [x] I have tested my changes and I am confident that it works as expected and doesn't introduce any known regressions.
- [x] I have reviewed the contribution guidelines.