3 ms·
Do you mean the search text preview? That gradient is intentional and when you hover over it (inside the actual site), it brightens up.
by youssefabdelm 2y ago
Do you mean the search text preview? That gradient is intentional and when you hover over it (inside the actual site), it brightens up.
- spdustin 2y agoHow does one hover when not using a mouse/trackpad? I'll be more direct: it's unusable on touchscreen devices.
- youssefabdelm 2y agoGood point, we could disable the fade on mobile. The location of the gradient is parametric based on where the found keyword is. So if it's at the bottom, the gradient will be brighter there by default, or if the keyword is at the top, it'll be brighter there. If there's more than one match in a single preview, the gradient accommodates for that as well. So if your keyword is "potato" and it shows up at the top and bottom, there is no gradient (or it's very small such that there is none) There's typically enough text to discriminate (even before hover) When the user hovers, the area that isn't bright gets brighter.
- smcleod 2y agoHmm, ok. It doesn’t seem that obvious, it just looks like the page never finished loading.
- youssefabdelm 2y agoStill very useful to know, thank you for sharing. Will make the text brighter in general.