This commit is contained in:
parent
fcc18ddcc8
commit
e83946c207
57 changed files with 6257 additions and 775 deletions
|
|
@ -1,4 +1,12 @@
|
|||
<!doctype html><html><body style="margin:0"><div id="d" style="width:400px;height:300px;background:#fff"></div>
|
||||
<script>
|
||||
document.getElementById('d').style.background = matchMedia('(prefers-color-scheme: dark)').matches ? '#0b1411' : '#f6f9f7';
|
||||
</script></body></html>
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body style="margin: 0">
|
||||
<div id="d" style="width: 400px; height: 300px; background: #fff"></div>
|
||||
<script>
|
||||
document.getElementById("d").style.background = matchMedia("(prefers-color-scheme: dark)")
|
||||
.matches
|
||||
? "#0b1411"
|
||||
: "#f6f9f7";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue