ダークモードの同期を強化
This commit is contained in:
parent
eb461481ed
commit
b44e1820a2
3 changed files with 7 additions and 6 deletions
|
|
@ -1,3 +1,3 @@
|
|||
export function isDeviceDarkmode() {
|
||||
return window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
return window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue