[Search] PBM search bar gradient doesn't match when moved to top
Steps to reproduce:
- Go to Settings -> Customize -> Select "Top"
- Go to Private browsing homescreen
Expected: Private browsing search bar background colour blends with private browsing homescreen background colour when set to top.
Actual: Search bar has the background gradient to match private browsing homscreen if the search bar is set to bottom.

┆Issue is synchronized with this Jira Task
Hello @AmyYLee. I added a screenshot. Please tell me if this is ok.

Hello @AmyYLee. I added a screenshot. Please tell me if this is ok.
@ValentinTimisica Hi, I am still seeing the gradient background (faintly) in the search bar. It should blend with the gradient background of the full screen. Thanks
It should look like this

Hello @AmyYLee, I made some changes. How does it looks?

Hello @AmyYLee, I made some changes. How does it looks?
Hi @ValentinTimisica
It still looks like there's 2 different shades of purple. Is it possible to make the search bar background transparent so the full screen background gradient is seamlessly blended behind the search bar?
I used a gradient (45 degree angle - starting from bottom left and ending in top right) with the colors from the image you posted above (I used a color picker to get the color from each corner of the searchBar, but maybe it's not that accurate). Can you give me the right color codes?
Regarding your question, yes, it is possible to make the search bar background transparent, but on scroll the private browsing icon will appear under the search bar (see video here). And I don't know if this will introduce any regressions. @ekager any thoughts on this?
@ValentinTimisica I think if the full background gradient ended prior to the search bar then we can have a solid colour there. If this is getting too complex then we can leave it as is.
@AmyYLee, if we are to use a solid color for the urlBar background I think the differences between this and the larger background which has a gradient would be even more obvious" As such based on all of the above I think the solution demoed in my last screenshot is the best we can get. It looks good and there are no chances of regressions.
Hi, I've re-checked this matter on the latest Nightly Build #20830607 from 3/23 using the following devices:
• Google Pixel 3a (Android 10)
• Huawei Mate 20 Lite (Android 8.1.0)
• Samsung Galaxy S6 (Android 7)
• OnePlus A3 (Android 6.0.1)
From my point of view the URL bar still doesn't match with the background gradient, on some devices it's quite obvious. Nevertheless, @AmyYLee - could you please review the bellow screenshots and share your thoughts? ☺️
Screenshots (▼ dropdown ▼)
○ Google Pixel 3a

○ Huawei Mate 20 Lite

○ Samsung Galaxy S6

○ OnePlus A3

I'll remove the QA needed label until further notice.
@AmyYLee, note that for the toolbar background I used the solid color #383372 (to the whole toolbar, no gradient) from the onboarding design page.
@AndiAJ @ValentinTimisica - Hi, can we revert back to the original? Apologies, the original ask was that the search bar background blends in with the homescreen background. If we are unable to do this (or it requires a lot more work) then my preference is to revert back to the original. Having it "similar" feels like it is a mistake. Thank you for the time in trying this out.
Closing this because the patch has been reverted in #9359.