diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c43eda..4dd529a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +## [0.2.0] - 2024-12-10 + +- Add support for Thunderbird 128 +- Require Thunderbird 128 or higher +- Add dark theme for options page +- Use badge instead of custom icon (see [#1](https://git.mmk2410.org/mmk2410/SpaceApper/issues/1)) + ## [0.1.0] - 2024-07-28 - Initial commit diff --git a/manifest.json b/manifest.json index 7d53a4b..f86e137 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "browser_specific_settings": { "gecko": { "id": "tb.spaceapper@mmk2410.org", - "strict_min_version": "115.0" + "strict_min_version": "128.0" } }, "description": "Add webpages to the spaces toolbar.", @@ -26,5 +26,5 @@ "browser_style": false }, "permissions": ["storage", "webRequest", "webRequestBlocking"], - "version": "0.1.0" + "version": "0.2" } diff --git a/options/options.css b/options/options.css index a9280ca..6b440eb 100644 --- a/options/options.css +++ b/options/options.css @@ -1,9 +1,38 @@ +:root { + --c-text: #000; + --c-background: #fff; + --c-btn-background: #e7e7e7; + + @media (prefers-color-scheme: dark) { + --c-text: #fff; + --c-background: #27272a; + --c-btn-background: #555; + } +} + html { + background-color: var(--c-background); font-family: sans-serif; + box-sizing: content-box; + margin: 0; + height: 100%; +} + +body { + box-sizing: content-box; + margin: 0; + height: 100%; +} + +form { + box-sizing: content-box; + height: 100%; + margin: 0; } button { - background-color: #e7e7e7; + color: var(--c-text); + background-color: var(--c-btn-background); border-radius: 5px; border: none; padding: 5px 10px; @@ -16,6 +45,7 @@ button { } #spaces { + color: var(--c-text); width: 100%; border-collapse: collapse; } @@ -41,7 +71,9 @@ button { } #spaces tbody input { + background-color: var(--c-background); border: none; + color: var(--c-text); height: 100%; width: 100%; font-size: inherit; diff --git a/options/options.html b/options/options.html index 4f2c506..f410971 100644 --- a/options/options.html +++ b/options/options.html @@ -13,7 +13,7 @@