From e4d439ad52e859f9a374835078513b4e94ed3c19 Mon Sep 17 00:00:00 2001 From: Jeena Date: Sat, 4 Jul 2020 23:27:20 +0200 Subject: [PATCH] Add dark theme icon --- icons/icon-light.svg | 60 ++++++++++++++++++++++++++++++++++++++++++++ manifest.json | 11 +++++--- popup.html | 1 - 3 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 icons/icon-light.svg diff --git a/icons/icon-light.svg b/icons/icon-light.svg new file mode 100644 index 0000000..9a6bc9c --- /dev/null +++ b/icons/icon-light.svg @@ -0,0 +1,60 @@ + +image/svg+xml + + + + + diff --git a/manifest.json b/manifest.json index 1207ed1..6d7f834 100644 --- a/manifest.json +++ b/manifest.json @@ -2,15 +2,20 @@ "description": "Button to like and reply", "manifest_version": 2, "name": "Indie Reply Button", - "version": "2.0", + "version": "3.0", "icons": { "48": "icons/icon.svg" }, "browser_action": { - "default_icon": "icons/icon.svg", "default_title": "IndieButton", "default_popup": "popup.html", - "browser_style": false + "browser_style": false, + "default_icon": "icons/icon.svg", + "theme_icons": [{ + "light": "icons/icon-light.svg", + "dark": "icons/icon.svg", + "size": 32 + }] }, "permissions": [ "tabs" diff --git a/popup.html b/popup.html index 5b2d259..9de5f2c 100644 --- a/popup.html +++ b/popup.html @@ -4,7 +4,6 @@ Indie Buttons