auto theme

This commit is contained in:
2019-10-10 08:40:02 -07:00
parent d2d42398ff
commit e7595f5080
3 changed files with 14 additions and 3 deletions

View File

@@ -10,12 +10,12 @@
<link rel="icon" type="image/png" href="/favicon@2x.png" size="128x128">
<link rel="icon" type="image/png" href="/favicon@3x.png" size="192x192">
</head>
<body class="dark">
<body>
<h1>{title}</h1>
<div class="theme">
<select aria-label="Theme" onchange="setTheme(event)">
<option value="darker">Light-on-Black</option>
<option value="dark" selected>Light-on-Dark</option>
<option value="dark">Light-on-Dark</option>
<option value="light">Dark-on-White</option>
</select>
</div>