1、Android phone set dark theme and open the samsung brower browse websitee(such as apple.com)
2、the browser under the dark theme wil break the page styles even thought the website don't set relative Apptheme config
3、try to get info from browser support by javascript script api. When I code window.matchMedia('(prefers-color-scheme: light)').matches (at that moment the phone is in dark theme, but it return true). It looks like probably wrong
I guess the browser get wrong on App theme config. Whether the Phone theme is, it must return light type.
It cause the unsuitable experience。
android system version: 11
samsung browser version: 16.2.6.6.
1、Android phone set dark theme and open the samsung brower browse websitee(such as apple.com) 2、the browser under the dark theme wil break the page styles even thought the website don't set relative Apptheme config 3、try to get info from browser support by javascript script api. When I code
window.matchMedia('(prefers-color-scheme: light)').matches
(at that moment the phone is in dark theme, but it return true). It looks like probably wrongI guess the browser get wrong on App theme config. Whether the Phone theme is, it must return light type.
It cause the unsuitable experience。
android system version: 11 samsung browser version: 16.2.6.6.