Dark mode compatibility

I’m using iPhone 13 when I use some website in dark mode the top of the screen where time battery present will not be in dark mode