mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
* Automatic theme switching support in favorite colours * Ref to dark theme Co-authored-by: Rob Wu <rob@robwu.nl> --------- Co-authored-by: Rob Wu <rob@robwu.nl>
20 lines
409 B
HTML
20 lines
409 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="color-scheme" content="dark light">
|
|
</head>
|
|
|
|
<body>
|
|
<p>storage.managed colour: <b id="managed-colour">no value found</b></p>
|
|
<form>
|
|
<label for="colour">Favourite colour</label>
|
|
<input type="text" id="colour">
|
|
<button type="submit">Save</button>
|
|
</form>
|
|
<script src="options.js"></script>
|
|
</body>
|
|
|
|
</html>
|