24 lines
662 B
HTML
24 lines
662 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>OLED Theme Settings</title>
|
|
<style>
|
|
body { font-family: sans-serif; padding: 1rem; background: #111; color: #eee; }
|
|
label { display: block; margin: 1rem 0 0.5rem; }
|
|
input { width: 100%; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>OLED Theme Settings</h1>
|
|
|
|
<label for="factor">Brightness factor (0 ~ 1):</label>
|
|
<input type="number" id="factor" min="0" max="1" step="0.05">
|
|
|
|
<label for="threshold">Brightness threshold (0 ~ 255):</label>
|
|
<input type="number" id="threshold" min="0" max="255" step="5">
|
|
|
|
<button id="save">Save</button>
|
|
<script type="module" src="../dist/options.js"></script>
|
|
</body>
|
|
</html>
|