From d3d5db5719fa368ba689f119f6c5586cc8de10f2 Mon Sep 17 00:00:00 2001 From: Alex Simons Date: Fri, 26 Feb 2021 05:22:40 -0600 Subject: [PATCH] Firefox: Light/Dark Toggle (#27) * Able to set dark mode * Theme information is first class now * Better Popup behaviour * Updated changelog and bumped version to v8.2.0 * Remembering dark mode better --- CHANGELOG.md | 6 ++ buildAssets/templates/manifest.template.json | 2 +- chromeThemes/Aqua's Theme/manifest.json | 2 +- chromeThemes/Asuna Dark's Theme/manifest.json | 2 +- .../Asuna Light's Theme/manifest.json | 2 +- chromeThemes/Beatrice's Theme/manifest.json | 2 +- .../Darkness Dark's Theme/manifest.json | 2 +- .../Darkness Light's Theme/manifest.json | 2 +- chromeThemes/Echidna's Theme/manifest.json | 2 +- .../Emilia Dark's Theme/manifest.json | 2 +- .../Emilia Light's Theme/manifest.json | 2 +- .../Hatsune Miku's Theme/manifest.json | 2 +- .../Ishtar Dark's Theme/manifest.json | 2 +- .../Ishtar Light's Theme/manifest.json | 2 +- chromeThemes/Kanna's Theme/manifest.json | 2 +- .../Katsuragi Misato's Theme/manifest.json | 2 +- chromeThemes/Konata's Theme/manifest.json | 2 +- chromeThemes/Mai Dark's Theme/manifest.json | 2 +- chromeThemes/Mai Light's Theme/manifest.json | 2 +- .../Makise Kurisu's Theme/manifest.json | 2 +- chromeThemes/Megumin's Theme/manifest.json | 2 +- .../Mioda Ibuki Dark's Theme/manifest.json | 2 +- .../Mioda Ibuki Light's Theme/manifest.json | 2 +- .../Monika Dark's Theme/manifest.json | 2 +- .../Monika Light's Theme/manifest.json | 2 +- .../Natsuki Dark's Theme/manifest.json | 2 +- .../Natsuki Light's Theme/manifest.json | 2 +- chromeThemes/Ram's Theme/manifest.json | 2 +- chromeThemes/Rem's Theme/manifest.json | 2 +- chromeThemes/Rias's Theme/manifest.json | 2 +- .../Rory Mercury's Theme/manifest.json | 2 +- chromeThemes/Ryuko's Theme/manifest.json | 2 +- chromeThemes/Satsuki's Theme/manifest.json | 2 +- .../Sayori Dark's Theme/manifest.json | 2 +- .../Sayori Light's Theme/manifest.json | 2 +- chromeThemes/Sonoda Umi's Theme/manifest.json | 2 +- .../Tohsaka Rin's Theme/manifest.json | 2 +- .../Yukinoshita Yukino's Theme/manifest.json | 2 +- chromeThemes/Yuri Dark's Theme/manifest.json | 2 +- chromeThemes/Yuri Light's Theme/manifest.json | 2 +- .../Zero Two Dark's Theme/manifest.json | 2 +- .../Zero Two Light's Theme/manifest.json | 2 +- .../Aqua's Theme/manifest.json | 2 +- .../Asuna Dark's Theme/manifest.json | 2 +- .../Asuna Light's Theme/manifest.json | 2 +- .../Darkness Dark's Theme/manifest.json | 2 +- .../Darkness Light's Theme/manifest.json | 2 +- .../Echidna's Theme/manifest.json | 2 +- .../Emilia Dark's Theme/manifest.json | 2 +- .../Ishtar Dark's Theme/manifest.json | 2 +- .../Ishtar Light's Theme/manifest.json | 2 +- .../Kanna's Theme/manifest.json | 2 +- .../Katsuragi Misato's Theme/manifest.json | 2 +- .../Konata's Theme/manifest.json | 2 +- .../Mai Dark's Theme/manifest.json | 2 +- .../Mai Light's Theme/manifest.json | 2 +- .../Makise Kurisu's Theme/manifest.json | 2 +- .../Megumin's Theme/manifest.json | 2 +- .../Mioda Ibuki Dark's Theme/manifest.json | 2 +- .../Mioda Ibuki Light's Theme/manifest.json | 2 +- .../Monika Dark's Theme/manifest.json | 2 +- .../Monika Light's Theme/manifest.json | 2 +- .../Natsuki Dark's Theme/manifest.json | 2 +- .../Natsuki Light's Theme/manifest.json | 2 +- .../Ram's Theme/manifest.json | 2 +- .../Rem's Theme/manifest.json | 2 +- .../Rias's Theme/manifest.json | 2 +- .../Rory Mercury's Theme/manifest.json | 2 +- .../Ryuko's Theme/manifest.json | 2 +- .../Satsuki's Theme/manifest.json | 2 +- .../Sonoda Umi's Theme/manifest.json | 2 +- .../Tohsaka Rin's Theme/manifest.json | 2 +- .../Yukinoshita Yukino's Theme/manifest.json | 2 +- .../Zero Two Dark's Theme/manifest.json | 2 +- .../Zero Two Light's Theme/manifest.json | 2 +- edgeThemes/Aqua's Theme/manifest.json | 2 +- edgeThemes/Asuna Dark's Theme/manifest.json | 2 +- edgeThemes/Asuna Light's Theme/manifest.json | 2 +- edgeThemes/Beatrice's Theme/manifest.json | 2 +- .../Darkness Dark's Theme/manifest.json | 2 +- .../Darkness Light's Theme/manifest.json | 2 +- edgeThemes/Echidna's Theme/manifest.json | 2 +- edgeThemes/Emilia Dark's Theme/manifest.json | 2 +- edgeThemes/Emilia Light's Theme/manifest.json | 2 +- edgeThemes/Hatsune Miku's Theme/manifest.json | 2 +- edgeThemes/Ishtar Dark's Theme/manifest.json | 2 +- edgeThemes/Ishtar Light's Theme/manifest.json | 2 +- edgeThemes/Kanna's Theme/manifest.json | 2 +- .../Katsuragi Misato's Theme/manifest.json | 2 +- edgeThemes/Konata's Theme/manifest.json | 2 +- edgeThemes/Mai Dark's Theme/manifest.json | 2 +- edgeThemes/Mai Light's Theme/manifest.json | 2 +- .../Makise Kurisu's Theme/manifest.json | 2 +- edgeThemes/Megumin's Theme/manifest.json | 2 +- .../Mioda Ibuki Dark's Theme/manifest.json | 2 +- .../Mioda Ibuki Light's Theme/manifest.json | 2 +- edgeThemes/Monika Dark's Theme/manifest.json | 2 +- edgeThemes/Monika Light's Theme/manifest.json | 2 +- edgeThemes/Natsuki Dark's Theme/manifest.json | 2 +- .../Natsuki Light's Theme/manifest.json | 2 +- edgeThemes/Ram's Theme/manifest.json | 2 +- edgeThemes/Rem's Theme/manifest.json | 2 +- edgeThemes/Rias's Theme/manifest.json | 2 +- edgeThemes/Rory Mercury's Theme/manifest.json | 2 +- edgeThemes/Ryuko's Theme/manifest.json | 2 +- edgeThemes/Satsuki's Theme/manifest.json | 2 +- edgeThemes/Sayori Dark's Theme/manifest.json | 2 +- edgeThemes/Sayori Light's Theme/manifest.json | 2 +- edgeThemes/Sonoda Umi's Theme/manifest.json | 2 +- edgeThemes/Tohsaka Rin's Theme/manifest.json | 2 +- .../Yukinoshita Yukino's Theme/manifest.json | 2 +- edgeThemes/Yuri Dark's Theme/manifest.json | 2 +- edgeThemes/Yuri Light's Theme/manifest.json | 2 +- .../Zero Two Dark's Theme/manifest.json | 2 +- .../Zero Two Light's Theme/manifest.json | 2 +- firefoxThemes/popup/index.html | 9 +- firefoxThemes/popup/popup.css | 14 ++- firefoxThemes/popup/popup.js | 99 ++++++++++++++----- firefoxThemes/resources.js | 1 + firefoxThemes/waifus/tab.js | 67 +++++++++---- firefoxThemes/waifus/waifu.js | 20 +--- .../installable_extension/manifest.json | 2 +- masterExtension/package.json | 2 +- masterExtension/public/manifest.json | 2 +- package.json | 2 +- 125 files changed, 260 insertions(+), 192 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9158220..ecb157ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ Changelog # Unreleased +# 8.2.0 + +## FireFox + +- Added the ability to choose between light/dark mode from the current Waifu you chose. + # 8.1.0 ## FireFox diff --git a/buildAssets/templates/manifest.template.json b/buildAssets/templates/manifest.template.json index 110c804d..8bbb6790 100644 --- a/buildAssets/templates/manifest.template.json +++ b/buildAssets/templates/manifest.template.json @@ -1,6 +1,6 @@ { "name": "The Doki Theme", - "version": "8.1.0", + "version": "8.2.0", "description": "Anime based themes for your chrome browser!", "theme": { "images": { diff --git a/chromeThemes/Aqua's Theme/manifest.json b/chromeThemes/Aqua's Theme/manifest.json index cdbb1459..c58dd61a 100644 --- a/chromeThemes/Aqua's Theme/manifest.json +++ b/chromeThemes/Aqua's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Aqua", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Aqua from KonoSuba", "theme": { "images": { diff --git a/chromeThemes/Asuna Dark's Theme/manifest.json b/chromeThemes/Asuna Dark's Theme/manifest.json index 7a18af33..dabe084f 100644 --- a/chromeThemes/Asuna Dark's Theme/manifest.json +++ b/chromeThemes/Asuna Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Asuna Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Asuna from Sword Art Online", "theme": { "images": { diff --git a/chromeThemes/Asuna Light's Theme/manifest.json b/chromeThemes/Asuna Light's Theme/manifest.json index 61a6dade..ed198572 100644 --- a/chromeThemes/Asuna Light's Theme/manifest.json +++ b/chromeThemes/Asuna Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Asuna Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Asuna from Sword Art Online", "theme": { "images": { diff --git a/chromeThemes/Beatrice's Theme/manifest.json b/chromeThemes/Beatrice's Theme/manifest.json index a0f14ddf..eb1020fc 100644 --- a/chromeThemes/Beatrice's Theme/manifest.json +++ b/chromeThemes/Beatrice's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Beatrice", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Beatrice from Re Zero", "theme": { "images": { diff --git a/chromeThemes/Darkness Dark's Theme/manifest.json b/chromeThemes/Darkness Dark's Theme/manifest.json index 96d5dc66..9568a443 100644 --- a/chromeThemes/Darkness Dark's Theme/manifest.json +++ b/chromeThemes/Darkness Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Darkness Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Darkness from KonoSuba", "theme": { "images": { diff --git a/chromeThemes/Darkness Light's Theme/manifest.json b/chromeThemes/Darkness Light's Theme/manifest.json index f10e7177..9cd8680a 100644 --- a/chromeThemes/Darkness Light's Theme/manifest.json +++ b/chromeThemes/Darkness Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Darkness Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Darkness from KonoSuba", "theme": { "images": { diff --git a/chromeThemes/Echidna's Theme/manifest.json b/chromeThemes/Echidna's Theme/manifest.json index 238a5712..e7585a8d 100644 --- a/chromeThemes/Echidna's Theme/manifest.json +++ b/chromeThemes/Echidna's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Echidna", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Echidna from Re Zero", "theme": { "images": { diff --git a/chromeThemes/Emilia Dark's Theme/manifest.json b/chromeThemes/Emilia Dark's Theme/manifest.json index 0350ab69..69ef7764 100644 --- a/chromeThemes/Emilia Dark's Theme/manifest.json +++ b/chromeThemes/Emilia Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Emilia Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Emilia from Re Zero", "theme": { "images": { diff --git a/chromeThemes/Emilia Light's Theme/manifest.json b/chromeThemes/Emilia Light's Theme/manifest.json index 90c2ee8b..6b60f62e 100644 --- a/chromeThemes/Emilia Light's Theme/manifest.json +++ b/chromeThemes/Emilia Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Emilia Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Emilia from Re Zero", "theme": { "images": { diff --git a/chromeThemes/Hatsune Miku's Theme/manifest.json b/chromeThemes/Hatsune Miku's Theme/manifest.json index 9707ba3a..86823f1f 100644 --- a/chromeThemes/Hatsune Miku's Theme/manifest.json +++ b/chromeThemes/Hatsune Miku's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Hatsune Miku", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Miku from Miscellaneous", "theme": { "images": { diff --git a/chromeThemes/Ishtar Dark's Theme/manifest.json b/chromeThemes/Ishtar Dark's Theme/manifest.json index 99085f27..7a031617 100644 --- a/chromeThemes/Ishtar Dark's Theme/manifest.json +++ b/chromeThemes/Ishtar Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ishtar Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ishtar from Fate", "theme": { "images": { diff --git a/chromeThemes/Ishtar Light's Theme/manifest.json b/chromeThemes/Ishtar Light's Theme/manifest.json index 275c462d..2023874a 100644 --- a/chromeThemes/Ishtar Light's Theme/manifest.json +++ b/chromeThemes/Ishtar Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ishtar Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Ishtar from Fate", "theme": { "images": { diff --git a/chromeThemes/Kanna's Theme/manifest.json b/chromeThemes/Kanna's Theme/manifest.json index 3a05d92d..5870c124 100644 --- a/chromeThemes/Kanna's Theme/manifest.json +++ b/chromeThemes/Kanna's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Kanna", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Kanna from Miss Kobayashi's Dragon Maid", "theme": { "images": { diff --git a/chromeThemes/Katsuragi Misato's Theme/manifest.json b/chromeThemes/Katsuragi Misato's Theme/manifest.json index 8eaa9995..08f7b139 100644 --- a/chromeThemes/Katsuragi Misato's Theme/manifest.json +++ b/chromeThemes/Katsuragi Misato's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Katsuragi Misato", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Misato from Evangelion", "theme": { "images": { diff --git a/chromeThemes/Konata's Theme/manifest.json b/chromeThemes/Konata's Theme/manifest.json index 0456f9e5..c3efffd6 100644 --- a/chromeThemes/Konata's Theme/manifest.json +++ b/chromeThemes/Konata's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Konata", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Konata from Lucky Star", "theme": { "images": { diff --git a/chromeThemes/Mai Dark's Theme/manifest.json b/chromeThemes/Mai Dark's Theme/manifest.json index 2881f93c..68f1a13a 100644 --- a/chromeThemes/Mai Dark's Theme/manifest.json +++ b/chromeThemes/Mai Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mai Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Mai from Bunny Senpai", "theme": { "images": { diff --git a/chromeThemes/Mai Light's Theme/manifest.json b/chromeThemes/Mai Light's Theme/manifest.json index 3530e011..c14a4c04 100644 --- a/chromeThemes/Mai Light's Theme/manifest.json +++ b/chromeThemes/Mai Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mai Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Mai from Bunny Senpai", "theme": { "images": { diff --git a/chromeThemes/Makise Kurisu's Theme/manifest.json b/chromeThemes/Makise Kurisu's Theme/manifest.json index 101a4a7c..616ede40 100644 --- a/chromeThemes/Makise Kurisu's Theme/manifest.json +++ b/chromeThemes/Makise Kurisu's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Makise Kurisu", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Kurisu from Steins Gate", "theme": { "images": { diff --git a/chromeThemes/Megumin's Theme/manifest.json b/chromeThemes/Megumin's Theme/manifest.json index 9d1e104c..c2469791 100644 --- a/chromeThemes/Megumin's Theme/manifest.json +++ b/chromeThemes/Megumin's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Megumin", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Megumin from KonoSuba", "theme": { "images": { diff --git a/chromeThemes/Mioda Ibuki Dark's Theme/manifest.json b/chromeThemes/Mioda Ibuki Dark's Theme/manifest.json index d8100173..2b053944 100644 --- a/chromeThemes/Mioda Ibuki Dark's Theme/manifest.json +++ b/chromeThemes/Mioda Ibuki Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mioda Ibuki Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ibuki from DanganRonpa", "theme": { "images": { diff --git a/chromeThemes/Mioda Ibuki Light's Theme/manifest.json b/chromeThemes/Mioda Ibuki Light's Theme/manifest.json index 5ec1dab5..05cbb724 100644 --- a/chromeThemes/Mioda Ibuki Light's Theme/manifest.json +++ b/chromeThemes/Mioda Ibuki Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mioda Ibuki Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Ibuki from DanganRonpa", "theme": { "images": { diff --git a/chromeThemes/Monika Dark's Theme/manifest.json b/chromeThemes/Monika Dark's Theme/manifest.json index 921b9a3c..4ecf88fe 100644 --- a/chromeThemes/Monika Dark's Theme/manifest.json +++ b/chromeThemes/Monika Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Monika Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Monika from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Monika Light's Theme/manifest.json b/chromeThemes/Monika Light's Theme/manifest.json index 4b12aa46..75a5590d 100644 --- a/chromeThemes/Monika Light's Theme/manifest.json +++ b/chromeThemes/Monika Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Monika Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Monika from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Natsuki Dark's Theme/manifest.json b/chromeThemes/Natsuki Dark's Theme/manifest.json index 63303752..eb5d120d 100644 --- a/chromeThemes/Natsuki Dark's Theme/manifest.json +++ b/chromeThemes/Natsuki Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Natsuki Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Natsuki from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Natsuki Light's Theme/manifest.json b/chromeThemes/Natsuki Light's Theme/manifest.json index 06902c81..3057e907 100644 --- a/chromeThemes/Natsuki Light's Theme/manifest.json +++ b/chromeThemes/Natsuki Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Natsuki Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Natsuki from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Ram's Theme/manifest.json b/chromeThemes/Ram's Theme/manifest.json index c9040aaa..1260d61e 100644 --- a/chromeThemes/Ram's Theme/manifest.json +++ b/chromeThemes/Ram's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ram", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ram from Re Zero", "theme": { "images": { diff --git a/chromeThemes/Rem's Theme/manifest.json b/chromeThemes/Rem's Theme/manifest.json index ca72ed00..79740e8c 100644 --- a/chromeThemes/Rem's Theme/manifest.json +++ b/chromeThemes/Rem's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rem", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rem from Re Zero", "theme": { "images": { diff --git a/chromeThemes/Rias's Theme/manifest.json b/chromeThemes/Rias's Theme/manifest.json index dcbecb5a..5c10be95 100644 --- a/chromeThemes/Rias's Theme/manifest.json +++ b/chromeThemes/Rias's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rias", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rias from High School DxD", "theme": { "images": { diff --git a/chromeThemes/Rory Mercury's Theme/manifest.json b/chromeThemes/Rory Mercury's Theme/manifest.json index 3a426506..d8dd7d86 100644 --- a/chromeThemes/Rory Mercury's Theme/manifest.json +++ b/chromeThemes/Rory Mercury's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rory Mercury", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rory from Gate", "theme": { "images": { diff --git a/chromeThemes/Ryuko's Theme/manifest.json b/chromeThemes/Ryuko's Theme/manifest.json index 32669e74..36e4bbed 100644 --- a/chromeThemes/Ryuko's Theme/manifest.json +++ b/chromeThemes/Ryuko's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ryuko", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ryuko from Kill la Kill", "theme": { "images": { diff --git a/chromeThemes/Satsuki's Theme/manifest.json b/chromeThemes/Satsuki's Theme/manifest.json index d575a6d6..5015ee2a 100644 --- a/chromeThemes/Satsuki's Theme/manifest.json +++ b/chromeThemes/Satsuki's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Satsuki", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Satsuki from Kill la Kill", "theme": { "images": { diff --git a/chromeThemes/Sayori Dark's Theme/manifest.json b/chromeThemes/Sayori Dark's Theme/manifest.json index b56f4d34..431aae51 100644 --- a/chromeThemes/Sayori Dark's Theme/manifest.json +++ b/chromeThemes/Sayori Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Sayori Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Š̸̘͚̼͎̯̙̣̱̎̋̐͒a̴̖̟̠̳̤͙̟͂̂͑̐͜ỷ̵̧̨̞̠̖̠o̴̧͍̗̬̎̓͆̔͝ͅr̴̡̮̟͈͠ͅi̴̡̨͓͈̬̗̺̍́̃̇̓ from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Sayori Light's Theme/manifest.json b/chromeThemes/Sayori Light's Theme/manifest.json index 8f83fb65..3c05dec2 100644 --- a/chromeThemes/Sayori Light's Theme/manifest.json +++ b/chromeThemes/Sayori Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Sayori Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Sayori from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Sonoda Umi's Theme/manifest.json b/chromeThemes/Sonoda Umi's Theme/manifest.json index d13983d7..8cf47b67 100644 --- a/chromeThemes/Sonoda Umi's Theme/manifest.json +++ b/chromeThemes/Sonoda Umi's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Sonoda Umi", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Umi from Love Live", "theme": { "images": { diff --git a/chromeThemes/Tohsaka Rin's Theme/manifest.json b/chromeThemes/Tohsaka Rin's Theme/manifest.json index ec616326..6a52f108 100644 --- a/chromeThemes/Tohsaka Rin's Theme/manifest.json +++ b/chromeThemes/Tohsaka Rin's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Tohsaka Rin", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rin from Fate", "theme": { "images": { diff --git a/chromeThemes/Yukinoshita Yukino's Theme/manifest.json b/chromeThemes/Yukinoshita Yukino's Theme/manifest.json index fc821aa7..79a90816 100644 --- a/chromeThemes/Yukinoshita Yukino's Theme/manifest.json +++ b/chromeThemes/Yukinoshita Yukino's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Yukinoshita Yukino", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Yukino from OreGairu", "theme": { "images": { diff --git a/chromeThemes/Yuri Dark's Theme/manifest.json b/chromeThemes/Yuri Dark's Theme/manifest.json index 0c1c6a22..5bd00003 100644 --- a/chromeThemes/Yuri Dark's Theme/manifest.json +++ b/chromeThemes/Yuri Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Yuri Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Yuri from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Yuri Light's Theme/manifest.json b/chromeThemes/Yuri Light's Theme/manifest.json index 896b24df..08d3fd0b 100644 --- a/chromeThemes/Yuri Light's Theme/manifest.json +++ b/chromeThemes/Yuri Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Yuri Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Yuri from Literature Club", "theme": { "images": { diff --git a/chromeThemes/Zero Two Dark's Theme/manifest.json b/chromeThemes/Zero Two Dark's Theme/manifest.json index 8f0a2e64..fdc394b3 100644 --- a/chromeThemes/Zero Two Dark's Theme/manifest.json +++ b/chromeThemes/Zero Two Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Zero Two Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Zero Two from Darling in the Franxx", "theme": { "images": { diff --git a/chromeThemes/Zero Two Light's Theme/manifest.json b/chromeThemes/Zero Two Light's Theme/manifest.json index 16bfe4b5..abcabc5e 100644 --- a/chromeThemes/Zero Two Light's Theme/manifest.json +++ b/chromeThemes/Zero Two Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Zero Two Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Zero Two from Darling in the Franxx", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Aqua's Theme/manifest.json b/chromeThemes_2560x1440/Aqua's Theme/manifest.json index cdbb1459..c58dd61a 100644 --- a/chromeThemes_2560x1440/Aqua's Theme/manifest.json +++ b/chromeThemes_2560x1440/Aqua's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Aqua", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Aqua from KonoSuba", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Asuna Dark's Theme/manifest.json b/chromeThemes_2560x1440/Asuna Dark's Theme/manifest.json index 7a18af33..dabe084f 100644 --- a/chromeThemes_2560x1440/Asuna Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Asuna Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Asuna Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Asuna from Sword Art Online", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Asuna Light's Theme/manifest.json b/chromeThemes_2560x1440/Asuna Light's Theme/manifest.json index 61a6dade..ed198572 100644 --- a/chromeThemes_2560x1440/Asuna Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Asuna Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Asuna Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Asuna from Sword Art Online", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Darkness Dark's Theme/manifest.json b/chromeThemes_2560x1440/Darkness Dark's Theme/manifest.json index 96d5dc66..9568a443 100644 --- a/chromeThemes_2560x1440/Darkness Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Darkness Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Darkness Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Darkness from KonoSuba", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Darkness Light's Theme/manifest.json b/chromeThemes_2560x1440/Darkness Light's Theme/manifest.json index f10e7177..9cd8680a 100644 --- a/chromeThemes_2560x1440/Darkness Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Darkness Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Darkness Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Darkness from KonoSuba", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Echidna's Theme/manifest.json b/chromeThemes_2560x1440/Echidna's Theme/manifest.json index 238a5712..e7585a8d 100644 --- a/chromeThemes_2560x1440/Echidna's Theme/manifest.json +++ b/chromeThemes_2560x1440/Echidna's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Echidna", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Echidna from Re Zero", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Emilia Dark's Theme/manifest.json b/chromeThemes_2560x1440/Emilia Dark's Theme/manifest.json index 0350ab69..69ef7764 100644 --- a/chromeThemes_2560x1440/Emilia Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Emilia Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Emilia Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Emilia from Re Zero", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Ishtar Dark's Theme/manifest.json b/chromeThemes_2560x1440/Ishtar Dark's Theme/manifest.json index 99085f27..7a031617 100644 --- a/chromeThemes_2560x1440/Ishtar Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Ishtar Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ishtar Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ishtar from Fate", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Ishtar Light's Theme/manifest.json b/chromeThemes_2560x1440/Ishtar Light's Theme/manifest.json index 275c462d..2023874a 100644 --- a/chromeThemes_2560x1440/Ishtar Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Ishtar Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ishtar Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Ishtar from Fate", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Kanna's Theme/manifest.json b/chromeThemes_2560x1440/Kanna's Theme/manifest.json index 3a05d92d..5870c124 100644 --- a/chromeThemes_2560x1440/Kanna's Theme/manifest.json +++ b/chromeThemes_2560x1440/Kanna's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Kanna", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Kanna from Miss Kobayashi's Dragon Maid", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Katsuragi Misato's Theme/manifest.json b/chromeThemes_2560x1440/Katsuragi Misato's Theme/manifest.json index 8eaa9995..08f7b139 100644 --- a/chromeThemes_2560x1440/Katsuragi Misato's Theme/manifest.json +++ b/chromeThemes_2560x1440/Katsuragi Misato's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Katsuragi Misato", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Misato from Evangelion", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Konata's Theme/manifest.json b/chromeThemes_2560x1440/Konata's Theme/manifest.json index 0456f9e5..c3efffd6 100644 --- a/chromeThemes_2560x1440/Konata's Theme/manifest.json +++ b/chromeThemes_2560x1440/Konata's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Konata", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Konata from Lucky Star", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Mai Dark's Theme/manifest.json b/chromeThemes_2560x1440/Mai Dark's Theme/manifest.json index 2881f93c..68f1a13a 100644 --- a/chromeThemes_2560x1440/Mai Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Mai Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mai Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Mai from Bunny Senpai", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Mai Light's Theme/manifest.json b/chromeThemes_2560x1440/Mai Light's Theme/manifest.json index 3530e011..c14a4c04 100644 --- a/chromeThemes_2560x1440/Mai Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Mai Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mai Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Mai from Bunny Senpai", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Makise Kurisu's Theme/manifest.json b/chromeThemes_2560x1440/Makise Kurisu's Theme/manifest.json index 101a4a7c..616ede40 100644 --- a/chromeThemes_2560x1440/Makise Kurisu's Theme/manifest.json +++ b/chromeThemes_2560x1440/Makise Kurisu's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Makise Kurisu", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Kurisu from Steins Gate", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Megumin's Theme/manifest.json b/chromeThemes_2560x1440/Megumin's Theme/manifest.json index 9d1e104c..c2469791 100644 --- a/chromeThemes_2560x1440/Megumin's Theme/manifest.json +++ b/chromeThemes_2560x1440/Megumin's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Megumin", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Megumin from KonoSuba", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Mioda Ibuki Dark's Theme/manifest.json b/chromeThemes_2560x1440/Mioda Ibuki Dark's Theme/manifest.json index d8100173..2b053944 100644 --- a/chromeThemes_2560x1440/Mioda Ibuki Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Mioda Ibuki Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mioda Ibuki Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ibuki from DanganRonpa", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Mioda Ibuki Light's Theme/manifest.json b/chromeThemes_2560x1440/Mioda Ibuki Light's Theme/manifest.json index 5ec1dab5..05cbb724 100644 --- a/chromeThemes_2560x1440/Mioda Ibuki Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Mioda Ibuki Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mioda Ibuki Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Ibuki from DanganRonpa", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Monika Dark's Theme/manifest.json b/chromeThemes_2560x1440/Monika Dark's Theme/manifest.json index 921b9a3c..4ecf88fe 100644 --- a/chromeThemes_2560x1440/Monika Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Monika Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Monika Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Monika from Literature Club", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Monika Light's Theme/manifest.json b/chromeThemes_2560x1440/Monika Light's Theme/manifest.json index 4b12aa46..75a5590d 100644 --- a/chromeThemes_2560x1440/Monika Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Monika Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Monika Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Monika from Literature Club", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Natsuki Dark's Theme/manifest.json b/chromeThemes_2560x1440/Natsuki Dark's Theme/manifest.json index 63303752..eb5d120d 100644 --- a/chromeThemes_2560x1440/Natsuki Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Natsuki Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Natsuki Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Natsuki from Literature Club", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Natsuki Light's Theme/manifest.json b/chromeThemes_2560x1440/Natsuki Light's Theme/manifest.json index 06902c81..3057e907 100644 --- a/chromeThemes_2560x1440/Natsuki Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Natsuki Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Natsuki Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Natsuki from Literature Club", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Ram's Theme/manifest.json b/chromeThemes_2560x1440/Ram's Theme/manifest.json index c9040aaa..1260d61e 100644 --- a/chromeThemes_2560x1440/Ram's Theme/manifest.json +++ b/chromeThemes_2560x1440/Ram's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ram", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ram from Re Zero", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Rem's Theme/manifest.json b/chromeThemes_2560x1440/Rem's Theme/manifest.json index ca72ed00..79740e8c 100644 --- a/chromeThemes_2560x1440/Rem's Theme/manifest.json +++ b/chromeThemes_2560x1440/Rem's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rem", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rem from Re Zero", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Rias's Theme/manifest.json b/chromeThemes_2560x1440/Rias's Theme/manifest.json index dcbecb5a..5c10be95 100644 --- a/chromeThemes_2560x1440/Rias's Theme/manifest.json +++ b/chromeThemes_2560x1440/Rias's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rias", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rias from High School DxD", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Rory Mercury's Theme/manifest.json b/chromeThemes_2560x1440/Rory Mercury's Theme/manifest.json index 3a426506..d8dd7d86 100644 --- a/chromeThemes_2560x1440/Rory Mercury's Theme/manifest.json +++ b/chromeThemes_2560x1440/Rory Mercury's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rory Mercury", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rory from Gate", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Ryuko's Theme/manifest.json b/chromeThemes_2560x1440/Ryuko's Theme/manifest.json index 32669e74..36e4bbed 100644 --- a/chromeThemes_2560x1440/Ryuko's Theme/manifest.json +++ b/chromeThemes_2560x1440/Ryuko's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ryuko", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ryuko from Kill la Kill", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Satsuki's Theme/manifest.json b/chromeThemes_2560x1440/Satsuki's Theme/manifest.json index d575a6d6..5015ee2a 100644 --- a/chromeThemes_2560x1440/Satsuki's Theme/manifest.json +++ b/chromeThemes_2560x1440/Satsuki's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Satsuki", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Satsuki from Kill la Kill", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Sonoda Umi's Theme/manifest.json b/chromeThemes_2560x1440/Sonoda Umi's Theme/manifest.json index d13983d7..8cf47b67 100644 --- a/chromeThemes_2560x1440/Sonoda Umi's Theme/manifest.json +++ b/chromeThemes_2560x1440/Sonoda Umi's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Sonoda Umi", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Umi from Love Live", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Tohsaka Rin's Theme/manifest.json b/chromeThemes_2560x1440/Tohsaka Rin's Theme/manifest.json index ec616326..6a52f108 100644 --- a/chromeThemes_2560x1440/Tohsaka Rin's Theme/manifest.json +++ b/chromeThemes_2560x1440/Tohsaka Rin's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Tohsaka Rin", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rin from Fate", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Yukinoshita Yukino's Theme/manifest.json b/chromeThemes_2560x1440/Yukinoshita Yukino's Theme/manifest.json index fc821aa7..79a90816 100644 --- a/chromeThemes_2560x1440/Yukinoshita Yukino's Theme/manifest.json +++ b/chromeThemes_2560x1440/Yukinoshita Yukino's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Yukinoshita Yukino", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Yukino from OreGairu", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Zero Two Dark's Theme/manifest.json b/chromeThemes_2560x1440/Zero Two Dark's Theme/manifest.json index 8f0a2e64..fdc394b3 100644 --- a/chromeThemes_2560x1440/Zero Two Dark's Theme/manifest.json +++ b/chromeThemes_2560x1440/Zero Two Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Zero Two Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Zero Two from Darling in the Franxx", "theme": { "images": { diff --git a/chromeThemes_2560x1440/Zero Two Light's Theme/manifest.json b/chromeThemes_2560x1440/Zero Two Light's Theme/manifest.json index 16bfe4b5..abcabc5e 100644 --- a/chromeThemes_2560x1440/Zero Two Light's Theme/manifest.json +++ b/chromeThemes_2560x1440/Zero Two Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Zero Two Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Zero Two from Darling in the Franxx", "theme": { "images": { diff --git a/edgeThemes/Aqua's Theme/manifest.json b/edgeThemes/Aqua's Theme/manifest.json index ef1ed760..7a4d2097 100644 --- a/edgeThemes/Aqua's Theme/manifest.json +++ b/edgeThemes/Aqua's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Aqua", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Aqua from KonoSuba", "theme": { "images": { diff --git a/edgeThemes/Asuna Dark's Theme/manifest.json b/edgeThemes/Asuna Dark's Theme/manifest.json index 03d5d6ba..d306e6ab 100644 --- a/edgeThemes/Asuna Dark's Theme/manifest.json +++ b/edgeThemes/Asuna Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Asuna Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Asuna from Sword Art Online", "theme": { "images": { diff --git a/edgeThemes/Asuna Light's Theme/manifest.json b/edgeThemes/Asuna Light's Theme/manifest.json index e0e8d587..ee0303e2 100644 --- a/edgeThemes/Asuna Light's Theme/manifest.json +++ b/edgeThemes/Asuna Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Asuna Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Asuna from Sword Art Online", "theme": { "images": { diff --git a/edgeThemes/Beatrice's Theme/manifest.json b/edgeThemes/Beatrice's Theme/manifest.json index b2293399..8b440d0a 100644 --- a/edgeThemes/Beatrice's Theme/manifest.json +++ b/edgeThemes/Beatrice's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Beatrice", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Beatrice from Re Zero", "theme": { "images": { diff --git a/edgeThemes/Darkness Dark's Theme/manifest.json b/edgeThemes/Darkness Dark's Theme/manifest.json index d265b6f8..2b1ad3e9 100644 --- a/edgeThemes/Darkness Dark's Theme/manifest.json +++ b/edgeThemes/Darkness Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Darkness Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Darkness from KonoSuba", "theme": { "images": { diff --git a/edgeThemes/Darkness Light's Theme/manifest.json b/edgeThemes/Darkness Light's Theme/manifest.json index 85339246..73b62ab6 100644 --- a/edgeThemes/Darkness Light's Theme/manifest.json +++ b/edgeThemes/Darkness Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Darkness Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Darkness from KonoSuba", "theme": { "images": { diff --git a/edgeThemes/Echidna's Theme/manifest.json b/edgeThemes/Echidna's Theme/manifest.json index 2aa3d851..7a020829 100644 --- a/edgeThemes/Echidna's Theme/manifest.json +++ b/edgeThemes/Echidna's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Echidna", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Echidna from Re Zero", "theme": { "images": { diff --git a/edgeThemes/Emilia Dark's Theme/manifest.json b/edgeThemes/Emilia Dark's Theme/manifest.json index eefd6185..3e9f6b46 100644 --- a/edgeThemes/Emilia Dark's Theme/manifest.json +++ b/edgeThemes/Emilia Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Emilia Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Emilia from Re Zero", "theme": { "images": { diff --git a/edgeThemes/Emilia Light's Theme/manifest.json b/edgeThemes/Emilia Light's Theme/manifest.json index e73fffb6..8a81ef1a 100644 --- a/edgeThemes/Emilia Light's Theme/manifest.json +++ b/edgeThemes/Emilia Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Emilia Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Emilia from Re Zero", "theme": { "images": { diff --git a/edgeThemes/Hatsune Miku's Theme/manifest.json b/edgeThemes/Hatsune Miku's Theme/manifest.json index 8b9499ef..1d729005 100644 --- a/edgeThemes/Hatsune Miku's Theme/manifest.json +++ b/edgeThemes/Hatsune Miku's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Hatsune Miku", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Miku from Miscellaneous", "theme": { "images": { diff --git a/edgeThemes/Ishtar Dark's Theme/manifest.json b/edgeThemes/Ishtar Dark's Theme/manifest.json index e1e24255..c0071d86 100644 --- a/edgeThemes/Ishtar Dark's Theme/manifest.json +++ b/edgeThemes/Ishtar Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ishtar Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ishtar from Fate", "theme": { "images": { diff --git a/edgeThemes/Ishtar Light's Theme/manifest.json b/edgeThemes/Ishtar Light's Theme/manifest.json index 00d0d436..aa5d0fcb 100644 --- a/edgeThemes/Ishtar Light's Theme/manifest.json +++ b/edgeThemes/Ishtar Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ishtar Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Ishtar from Fate", "theme": { "images": { diff --git a/edgeThemes/Kanna's Theme/manifest.json b/edgeThemes/Kanna's Theme/manifest.json index ef936eca..3e86118e 100644 --- a/edgeThemes/Kanna's Theme/manifest.json +++ b/edgeThemes/Kanna's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Kanna", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Kanna from Miss Kobayashi's Dragon Maid", "theme": { "images": { diff --git a/edgeThemes/Katsuragi Misato's Theme/manifest.json b/edgeThemes/Katsuragi Misato's Theme/manifest.json index d0912bd1..87fb78ce 100644 --- a/edgeThemes/Katsuragi Misato's Theme/manifest.json +++ b/edgeThemes/Katsuragi Misato's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Katsuragi Misato", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Misato from Evangelion", "theme": { "images": { diff --git a/edgeThemes/Konata's Theme/manifest.json b/edgeThemes/Konata's Theme/manifest.json index f7a84a6a..be70ee03 100644 --- a/edgeThemes/Konata's Theme/manifest.json +++ b/edgeThemes/Konata's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Konata", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Konata from Lucky Star", "theme": { "images": { diff --git a/edgeThemes/Mai Dark's Theme/manifest.json b/edgeThemes/Mai Dark's Theme/manifest.json index c67bf6a3..f9eca309 100644 --- a/edgeThemes/Mai Dark's Theme/manifest.json +++ b/edgeThemes/Mai Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mai Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Mai from Bunny Senpai", "theme": { "images": { diff --git a/edgeThemes/Mai Light's Theme/manifest.json b/edgeThemes/Mai Light's Theme/manifest.json index 5836e366..a3fb9e1c 100644 --- a/edgeThemes/Mai Light's Theme/manifest.json +++ b/edgeThemes/Mai Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mai Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Mai from Bunny Senpai", "theme": { "images": { diff --git a/edgeThemes/Makise Kurisu's Theme/manifest.json b/edgeThemes/Makise Kurisu's Theme/manifest.json index 95952c14..7f0c87b9 100644 --- a/edgeThemes/Makise Kurisu's Theme/manifest.json +++ b/edgeThemes/Makise Kurisu's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Makise Kurisu", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Kurisu from Steins Gate", "theme": { "images": { diff --git a/edgeThemes/Megumin's Theme/manifest.json b/edgeThemes/Megumin's Theme/manifest.json index 568c7d25..673c2a27 100644 --- a/edgeThemes/Megumin's Theme/manifest.json +++ b/edgeThemes/Megumin's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Megumin", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Megumin from KonoSuba", "theme": { "images": { diff --git a/edgeThemes/Mioda Ibuki Dark's Theme/manifest.json b/edgeThemes/Mioda Ibuki Dark's Theme/manifest.json index f069e4d3..8d5995b1 100644 --- a/edgeThemes/Mioda Ibuki Dark's Theme/manifest.json +++ b/edgeThemes/Mioda Ibuki Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mioda Ibuki Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ibuki from DanganRonpa", "theme": { "images": { diff --git a/edgeThemes/Mioda Ibuki Light's Theme/manifest.json b/edgeThemes/Mioda Ibuki Light's Theme/manifest.json index 34265ae2..917e10fc 100644 --- a/edgeThemes/Mioda Ibuki Light's Theme/manifest.json +++ b/edgeThemes/Mioda Ibuki Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Mioda Ibuki Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Ibuki from DanganRonpa", "theme": { "images": { diff --git a/edgeThemes/Monika Dark's Theme/manifest.json b/edgeThemes/Monika Dark's Theme/manifest.json index b068a9d1..5145230d 100644 --- a/edgeThemes/Monika Dark's Theme/manifest.json +++ b/edgeThemes/Monika Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Monika Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Monika from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Monika Light's Theme/manifest.json b/edgeThemes/Monika Light's Theme/manifest.json index 84d147d8..f0d2a641 100644 --- a/edgeThemes/Monika Light's Theme/manifest.json +++ b/edgeThemes/Monika Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Monika Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Monika from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Natsuki Dark's Theme/manifest.json b/edgeThemes/Natsuki Dark's Theme/manifest.json index d3a5328e..64cf675d 100644 --- a/edgeThemes/Natsuki Dark's Theme/manifest.json +++ b/edgeThemes/Natsuki Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Natsuki Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Natsuki from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Natsuki Light's Theme/manifest.json b/edgeThemes/Natsuki Light's Theme/manifest.json index 14c3d3e8..d6f82c75 100644 --- a/edgeThemes/Natsuki Light's Theme/manifest.json +++ b/edgeThemes/Natsuki Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Natsuki Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Natsuki from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Ram's Theme/manifest.json b/edgeThemes/Ram's Theme/manifest.json index 4dd7f67d..4d8f437b 100644 --- a/edgeThemes/Ram's Theme/manifest.json +++ b/edgeThemes/Ram's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ram", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ram from Re Zero", "theme": { "images": { diff --git a/edgeThemes/Rem's Theme/manifest.json b/edgeThemes/Rem's Theme/manifest.json index dae148d9..26ec9cdd 100644 --- a/edgeThemes/Rem's Theme/manifest.json +++ b/edgeThemes/Rem's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rem", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rem from Re Zero", "theme": { "images": { diff --git a/edgeThemes/Rias's Theme/manifest.json b/edgeThemes/Rias's Theme/manifest.json index 52ce893d..514f2188 100644 --- a/edgeThemes/Rias's Theme/manifest.json +++ b/edgeThemes/Rias's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rias", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rias from High School DxD", "theme": { "images": { diff --git a/edgeThemes/Rory Mercury's Theme/manifest.json b/edgeThemes/Rory Mercury's Theme/manifest.json index bc8d2ab7..04351cfa 100644 --- a/edgeThemes/Rory Mercury's Theme/manifest.json +++ b/edgeThemes/Rory Mercury's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Rory Mercury", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rory from Gate", "theme": { "images": { diff --git a/edgeThemes/Ryuko's Theme/manifest.json b/edgeThemes/Ryuko's Theme/manifest.json index 20eb9aba..58ffd206 100644 --- a/edgeThemes/Ryuko's Theme/manifest.json +++ b/edgeThemes/Ryuko's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Ryuko", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Ryuko from Kill la Kill", "theme": { "images": { diff --git a/edgeThemes/Satsuki's Theme/manifest.json b/edgeThemes/Satsuki's Theme/manifest.json index 94641dce..da4dc392 100644 --- a/edgeThemes/Satsuki's Theme/manifest.json +++ b/edgeThemes/Satsuki's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Satsuki", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Satsuki from Kill la Kill", "theme": { "images": { diff --git a/edgeThemes/Sayori Dark's Theme/manifest.json b/edgeThemes/Sayori Dark's Theme/manifest.json index 0f5046e7..24251762 100644 --- a/edgeThemes/Sayori Dark's Theme/manifest.json +++ b/edgeThemes/Sayori Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Sayori Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Š̸̘͚̼͎̯̙̣̱̎̋̐͒a̴̖̟̠̳̤͙̟͂̂͑̐͜ỷ̵̧̨̞̠̖̠o̴̧͍̗̬̎̓͆̔͝ͅr̴̡̮̟͈͠ͅi̴̡̨͓͈̬̗̺̍́̃̇̓ from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Sayori Light's Theme/manifest.json b/edgeThemes/Sayori Light's Theme/manifest.json index 85fa18c9..ab9dd982 100644 --- a/edgeThemes/Sayori Light's Theme/manifest.json +++ b/edgeThemes/Sayori Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Sayori Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Sayori from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Sonoda Umi's Theme/manifest.json b/edgeThemes/Sonoda Umi's Theme/manifest.json index dcfa92cf..cb200b86 100644 --- a/edgeThemes/Sonoda Umi's Theme/manifest.json +++ b/edgeThemes/Sonoda Umi's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Sonoda Umi", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Umi from Love Live", "theme": { "images": { diff --git a/edgeThemes/Tohsaka Rin's Theme/manifest.json b/edgeThemes/Tohsaka Rin's Theme/manifest.json index efb40d50..18c1bcf7 100644 --- a/edgeThemes/Tohsaka Rin's Theme/manifest.json +++ b/edgeThemes/Tohsaka Rin's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Tohsaka Rin", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Rin from Fate", "theme": { "images": { diff --git a/edgeThemes/Yukinoshita Yukino's Theme/manifest.json b/edgeThemes/Yukinoshita Yukino's Theme/manifest.json index 1d93d874..f61a40ef 100644 --- a/edgeThemes/Yukinoshita Yukino's Theme/manifest.json +++ b/edgeThemes/Yukinoshita Yukino's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Yukinoshita Yukino", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Yukino from OreGairu", "theme": { "images": { diff --git a/edgeThemes/Yuri Dark's Theme/manifest.json b/edgeThemes/Yuri Dark's Theme/manifest.json index 616c7375..c9ed4228 100644 --- a/edgeThemes/Yuri Dark's Theme/manifest.json +++ b/edgeThemes/Yuri Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Yuri Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Yuri from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Yuri Light's Theme/manifest.json b/edgeThemes/Yuri Light's Theme/manifest.json index 2bf9c39e..9cf21c7d 100644 --- a/edgeThemes/Yuri Light's Theme/manifest.json +++ b/edgeThemes/Yuri Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Yuri Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Yuri from Literature Club", "theme": { "images": { diff --git a/edgeThemes/Zero Two Dark's Theme/manifest.json b/edgeThemes/Zero Two Dark's Theme/manifest.json index 83a41605..6d98ae9c 100644 --- a/edgeThemes/Zero Two Dark's Theme/manifest.json +++ b/edgeThemes/Zero Two Dark's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Zero Two Dark", - "version": "8.1.0", + "version": "8.2.0", "description": "A dark theme modeled after Zero Two from Darling in the Franxx", "theme": { "images": { diff --git a/edgeThemes/Zero Two Light's Theme/manifest.json b/edgeThemes/Zero Two Light's Theme/manifest.json index 5e79cae4..21968fef 100644 --- a/edgeThemes/Zero Two Light's Theme/manifest.json +++ b/edgeThemes/Zero Two Light's Theme/manifest.json @@ -1,6 +1,6 @@ { "name": "Doki Theme: Zero Two Light", - "version": "8.1.0", + "version": "8.2.0", "description": "A light theme modeled after Zero Two from Darling in the Franxx", "theme": { "images": { diff --git a/firefoxThemes/popup/index.html b/firefoxThemes/popup/index.html index 902d1b8d..bca39fea 100644 --- a/firefoxThemes/popup/index.html +++ b/firefoxThemes/popup/index.html @@ -18,8 +18,6 @@

Doki Theme

- -
@@ -27,11 +25,16 @@

Doki Theme


+




+
+
diff --git a/firefoxThemes/popup/popup.css b/firefoxThemes/popup/popup.css index f950099a..e7cdfc32 100644 --- a/firefoxThemes/popup/popup.css +++ b/firefoxThemes/popup/popup.css @@ -2,7 +2,7 @@ * { font-family: Tahoma, Arial, sans-serif; text-align: center; - color: #bbbbbb; + color: #666879; } body { @@ -60,16 +60,14 @@ select { } .settings-container { - text-align: left; - margin: 1rem 0 1rem 1rem; + margin: 1rem; } -form > label { - margin: auto 0; +form > label > input { + margin-bottom: 1rem; } .settings { - text-align: left; } .switch { @@ -93,7 +91,7 @@ form > label { left: 0; right: 0; bottom: 0; - background-color: #717981; + background-color: #292e34; -webkit-transition: .4s; transition: .4s; } @@ -105,7 +103,7 @@ form > label { width: 26px; left: 4px; bottom: 4px; - background-color: #717981; + background-color: #a73035; -webkit-transition: .4s; transition: .4s; } diff --git a/firefoxThemes/popup/popup.js b/firefoxThemes/popup/popup.js index 7101a865..df6ed358 100644 --- a/firefoxThemes/popup/popup.js +++ b/firefoxThemes/popup/popup.js @@ -2,6 +2,7 @@ const selectTag = document.querySelector("select"); const backgroundSwitch = document.querySelector("#backgroundType"); const showSearchSwitch = document.querySelector("#hideSearch"); +const darkModeSwitch = document.querySelector("#darkMode"); //Enum for the different Mixed option states const mixedStates = { @@ -25,11 +26,11 @@ function setCss(chosenTheme) { } * { - color: ${colors.foregroundColor}; + color: ${colors.lineNumberColor}; } .slider { - background-color: ${colors.baseIconColor}; + background-color: ${colors.selectionInactive}; } .slider:before { @@ -71,22 +72,57 @@ const setHideWidget = async () => { browser.runtime.sendMessage({currentThemeId}); } +const setDarkMode = async () => { + await browser.storage.local.set({ + darkMode: darkModeSwitch.checked + }); + + const {currentThemeId, waifuThemes} = await browser.storage.local.get(["currentThemeId", "waifuThemes"]); + + const currentTheme = waifuThemes.themes[currentThemeId]; + + if(currentTheme) { + const newTheme = Object.values(waifuThemes.themes) + .find(dokiTheme => + dokiTheme.displayName === currentTheme.displayName && + dokiTheme.id !== currentThemeId) || currentTheme + const newThemeId = newTheme.id; + setCss(newTheme); + await browser.storage.local.set({currentThemeId: newThemeId}) + browser.runtime.sendMessage({currentThemeId: newThemeId}); + } +} + /*EVENT: Retrieve the selected waifu. Afterwards, send the chosen waifu to the background script.*/ function setTheme(e) { - browser.storage.local.get("waifuThemes") + browser.storage.local.get([ "darkMode", "waifuThemes"]) .then((storage) => { - let chosenThemeId = e.target.value; - let currentMix = chosenThemeId === "mixed" ? mixedStates.INITIAL : mixedStates.NONE; + const chosenThemeName = e.target.value; + const currentMix = chosenThemeName === "mixed" ? mixedStates.INITIAL : mixedStates.NONE; + let chosenThemeId; if (currentMix === mixedStates.NONE) { - if (chosenThemeId === "random") { + if (chosenThemeName === "random") { chosenThemeId = getRandomTheme(storage.waifuThemes.themes); } - if (storage.waifuThemes.themes[chosenThemeId]) { - setCss(storage.waifuThemes.themes[chosenThemeId]); + const themes = Object.values(storage.waifuThemes.themes) + .filter(dokiTheme => dokiTheme.displayName === chosenThemeName) + + const isDark = storage.darkMode !== undefined && storage.darkMode; + const theme = themes.find(dokiTheme => + dokiTheme.dark === isDark) + + darkModeSwitch.disabled = themes.length < 2; + + const usableTheme = theme || themes[0] + darkModeSwitch.checked = usableTheme.dark + + if (usableTheme) { + setCss(usableTheme); + chosenThemeId = usableTheme.id } } - browser.runtime.sendMessage({currentThemeId: chosenThemeId, mixState: currentMix}); + browser.runtime.sendMessage({currentThemeId: chosenThemeId || 'mixed', mixState: currentMix}); }); } @@ -105,26 +141,36 @@ function getRandomNumber(min, max) { /*Setup Waifu Choices for the popup menu * Also categorizes each theme based on their type (dark/light)*/ function initChoice() { - browser.storage.local.get(["waifuThemes", "currentThemeId", "mixedTabs", "backgroundType", 'showWidget']) + browser.storage.local.get([ + "waifuThemes", + "currentThemeId", + "mixedTabs", + "backgroundType", + 'showWidget', + "darkMode" + ]) .then((storage) => { backgroundSwitch.checked = !!storage.backgroundType; + darkModeSwitch.checked = storage.darkMode; showSearchSwitch.checked = storage.showWidget === undefined || storage.showWidget; - const themes = Object.values(storage.waifuThemes.themes) - .sort((a, b) => a.name.localeCompare(b.name)); - const darkGroup = document.querySelector("optgroup[label='Dark Variant']"); - const lightGroup = document.querySelector("optgroup[label='Light Variant']"); - themes.forEach(theme => { - const opt = document.createElement("option"); - const themeInformation = theme.definition.information; - opt.setAttribute("value", themeInformation.id); - opt.id = themeInformation.id - const txtNode = document.createTextNode(theme.name); - opt.append(txtNode); - if (themeInformation.dark) { - darkGroup.append(opt); - } else { - lightGroup.append(opt); - } + const themesGroupedByName = Object.values(storage.waifuThemes.themes) + .reduce((accum, dokiTheme) => ({ + ...accum, + [dokiTheme.displayName]: [ + ...(accum[dokiTheme.displayName] || []), + dokiTheme + ] + }), {}); + const themes = Object.keys(themesGroupedByName) + .sort((a, b) => a.localeCompare(b)); + const waifuGroup = document.querySelector("#waifus"); + themes.forEach(themeName => { + const themeOption = document.createElement("option"); + themeOption.setAttribute("value", themeName); + themeOption.id = themeName + const txtNode = document.createTextNode(themeName); + themeOption.append(txtNode); + waifuGroup.append(themeOption); }); /*Set the theme of the popup menu based on current tab color*/ browser.tabs.query({active: true}) @@ -148,3 +194,4 @@ initChoice(); selectTag.addEventListener("change", setTheme, true); backgroundSwitch.addEventListener("change", setBackground, true); showSearchSwitch.addEventListener("change", setHideWidget, true); +darkModeSwitch.addEventListener("change", setDarkMode, true); diff --git a/firefoxThemes/resources.js b/firefoxThemes/resources.js index 8df5e1a1..4bb79021 100644 --- a/firefoxThemes/resources.js +++ b/firefoxThemes/resources.js @@ -31,6 +31,7 @@ class Theme { this.backgrounds = backgrounds;//Relative links to each themes backgrounds this.json = json;//Relative link to browser theme file this.definition = themeDefinition; + Object.assign(this, themeDefinition.information) this.page = "/waifus/index.html"; } } diff --git a/firefoxThemes/waifus/tab.js b/firefoxThemes/waifus/tab.js index 0c3139aa..b1869f61 100644 --- a/firefoxThemes/waifus/tab.js +++ b/firefoxThemes/waifus/tab.js @@ -1,27 +1,58 @@ let query = "";//the search query /*Record the keywords to search for. * These keywords will be delegated to the default search engine.*/ -function searchQuery(e){ - query = e.target.value; +function searchQuery(e) { + query = e.target.value; } + /*Submit searches by pressing the search button*/ -function confirmSearch(){ - browser.tabs.getCurrent() - .then((tab)=>{ - browser.search.search({ - query:query, - tabId:tab.id - }); - }); +function confirmSearch() { + browser.tabs.getCurrent() + .then((tab) => { + browser.search.search({ + query: query, + tabId: tab.id + }); + }); } + /*Submit searches by pressing the 'Enter' key*/ -function keyConfirm(e){ - if(e.key === "Enter"){ - confirmSearch(); - } +function keyConfirm(e) { + if (e.key === "Enter") { + confirmSearch(); + } } -/*---Event Listeners---*/ -document.querySelector("input[type='search']").addEventListener("input",searchQuery,true); -document.querySelector("input[type='search']").addEventListener("keydown",keyConfirm,true); -document.querySelector(".search-button").addEventListener("click",confirmSearch,false); \ No newline at end of file + +function applyTabListeners() { + browser.storage.local.get(["showWidget"]) + .then((storage) => { + if (storage.showWidget === undefined || storage.showWidget) { + document.querySelector("body").innerHTML = + ` +
+
+ +
+
+
+ + +
+
+` + /*---Event Listeners---*/ + const input = document.querySelector("input[type='search']"); + input.addEventListener("input", searchQuery, true); + input.addEventListener("keydown", keyConfirm, true); + + const searchButton = document.querySelector(".search-button"); + searchButton.addEventListener("click", confirmSearch, false); + + } + }); +} + +applyTabListeners() diff --git a/firefoxThemes/waifus/waifu.js b/firefoxThemes/waifus/waifu.js index 64c18c71..a3fe38a0 100644 --- a/firefoxThemes/waifus/waifu.js +++ b/firefoxThemes/waifus/waifu.js @@ -38,29 +38,11 @@ function addWaifu(storage) { /*Apply Theme */ function applyTheme() { - browser.storage.local.get(["waifuThemes", "currentThemeId", "backgroundType", "showWidget"]) + browser.storage.local.get(["waifuThemes", "currentThemeId", "backgroundType"]) .then((storage) => { if (Object.keys(storage.waifuThemes.themes).includes(storage.currentThemeId)) { addWaifu(storage); } - - if(storage.showWidget === undefined || storage.showWidget) { - document.querySelector("body").innerHTML = - ` -
-
- -
-
-
- - -
-
-` - } }); } diff --git a/masterExtension/installable_extension/manifest.json b/masterExtension/installable_extension/manifest.json index 10ccc36d..200087c3 100644 --- a/masterExtension/installable_extension/manifest.json +++ b/masterExtension/installable_extension/manifest.json @@ -1,6 +1,6 @@ { "name": "The Doki Theme", - "version": "8.1.0", + "version": "8.2.0", "description": "Supports consistency for the the anime based themes.", "permissions": [ "activeTab", diff --git a/masterExtension/package.json b/masterExtension/package.json index d3cda28d..1d620ae6 100644 --- a/masterExtension/package.json +++ b/masterExtension/package.json @@ -1,6 +1,6 @@ { "name": "doki-theme-web", - "version": "8.1.0", + "version": "8.2.0", "description": "Anime based themes for your chrome browser!", "main": "index.js", "repository": "git@github.com:doki-theme/doki-theme-web.git", diff --git a/masterExtension/public/manifest.json b/masterExtension/public/manifest.json index 10ccc36d..200087c3 100644 --- a/masterExtension/public/manifest.json +++ b/masterExtension/public/manifest.json @@ -1,6 +1,6 @@ { "name": "The Doki Theme", - "version": "8.1.0", + "version": "8.2.0", "description": "Supports consistency for the the anime based themes.", "permissions": [ "activeTab", diff --git a/package.json b/package.json index 07dd27c6..dd2cfe1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "doki-theme-web", - "version": "8.1.0", + "version": "8.2.0", "description": "Browse the web with your waifu", "main": "index.js", "repository": "git@github.com:doki-theme/doki-theme-web.git",