diff options
author | Ajay <[email protected]> | 2022-01-24 23:27:00 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2022-01-24 23:27:00 -0500 |
commit | 8d5f244d2f3980e90e7b467e82f4f67d8dc77b71 (patch) | |
tree | c9a7e410b5f3859bb874a90e1e5d490fed121783 /public | |
parent | 8455ac8b397e5faaa46b3ada703b9920ffe11324 (diff) | |
download | SponsorBlock-8d5f244d2f3980e90e7b467e82f4f67d8dc77b71.tar.gz SponsorBlock-8d5f244d2f3980e90e7b467e82f4f67d8dc77b71.zip |
Dark mode unless explicitely disabled (sorry)
Diffstat (limited to 'public')
-rw-r--r-- | public/_locales/en/messages.json | 3 | ||||
-rw-r--r-- | public/options/options.html | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index f87f6f32..27793e42 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -790,6 +790,9 @@ "hideDonationLink": { "message": "Hide Donation Link" }, + "lightModeOptionsPage": { + "message": "Light Mode On Options Page" + }, "helpPageThanksForInstalling": { "message": "Thanks for installing SponsorBlock." }, diff --git a/public/options/options.html b/public/options/options.html index 993e7090..b889f356 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -278,6 +278,18 @@ <div class="small-description">__MSG_showTimeWithSkipsDescription__</div> </div> + <div data-type="toggle" data-sync="lightMode"> + <div class="switch-container"> + <label class="switch"> + <input id="lightMode" type="checkbox" checked> + <span class="slider round"></span> + </label> + <label class="switch-label" for="lightMode"> + __MSG_lightModeOptionsPage__ + </label> + </div> + </div> + <div data-type="toggle" data-toggle-type="reverse" data-sync="showDonationLink" data-no-safari="true"> <div class="switch-container"> <label class="switch"> |