Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the Android navigation bar color in a PWA?

I would like to change the color of the Android navigation bar on the web when I add the page on the Android home screen (Progessive Web App) but when I open the PWA, the color of the Android navigation bar is black and I want Change the color to white. In the manifest, you can change the color of the theme and I do, but still follow the color black.

Is it possible to do that?

I mean the Android navigation bar, not the notification bar.

Android navigation bar

like image 295
Ruben Valdivia Perez Avatar asked Jan 01 '23 14:01

Ruben Valdivia Perez


1 Answers

You can add a meta tag to your HTML page.

<meta name="theme-color" content="#225577"/>
like image 131
Dharman Avatar answered Jan 08 '23 00:01

Dharman