Closed danaoairuike closed 1 year ago
默认就是 light
但如果我用新浏览器或者是隐身模式打开,默认是dark 手机浏览器iOS safari打开,默认是light
首次加载,localstorage没有theme这个key,而且我的浏览器,现在的window.matchMedia("(prefers-color-scheme: dark)").matches是false
厚黑是配色,不会更改深色模式。
如果是false,那代码不就走 remove("dark") 了,移除了深色模式,那不默认就是浅色模式?
发个网址我看看
news.baodian.co
On Thu, Jul 13, 2023 at 8:41 PM Kent Liao @.***> wrote:
发个网址我看看
— Reply to this email directly, view it on GitHub https://github.com/liaocp666/Jasmine/issues/23#issuecomment-1635221949, or unsubscribe https://github.com/notifications/unsubscribe-auth/A633Q542JPARDF6MB5ED5M3XQC5WJANCNFSM6AAAAAA2II3F2M . You are receiving this because you authored the thread.Message ID: @.***>
我觉得还有一个可能就是cache,现在用不同的手机测了好几次,都是浅色
如果您打开了也是浅色,就关闭这个issue吧
谢谢
我觉得还有一个可能就是cache,现在用不同的手机测了好几次,都是浅色
如果您打开了也是浅色,就关闭这个issue吧
谢谢
打开是浅色的
用不同的浏览器,每次打开都是默认深色,能否有默认深色和浅色模式的选择?谢谢