prefer a dark mode

This commit is contained in:
AJ ONeal 2020-08-18 04:02:26 +00:00
parent e6dd414af6
commit 9608a7429b
1 changed files with 24 additions and 1 deletions

View File

@ -1,4 +1,24 @@
<pre><code>
<html>
<head>
<style>
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
color: #aaa;
}
}
body {
background-color: #222;
color: #aaa;
}
.container {
padding: 2em;
}
</style>
</head>
<body>
<div class="container">
<pre><code>
<h1>Tokens for Testing</h1>
Compatible with
@ -113,3 +133,6 @@ You shouldn't use it for automated testing, because it will change, but it looks
}
</code></pre>
</div>
</body>
</html>