From 5ff8febb9f4265cbf65323470a14fdc4ba6e302c Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Wed, 22 May 2019 06:50:37 +1200 Subject: [PATCH] Theme manifest key updates Changes to account for the fact that "headerURL":, "accentcolor":, and "textcolor": have been replaced by "theme_frame": , "frame":, and "tab_text": respectively. In addition, removed the empty.png image files, as these are no longer needed. Also added an example of use of theme_inactive to weta_tiled. --- themes/animated/manifest.json | 10 +++++----- themes/weta_fade/manifest.json | 10 +++++----- themes/weta_fade_chrome/manifest.json | 4 ++-- themes/weta_mirror/empty.png | Bin 332 -> 0 bytes themes/weta_mirror/manifest.json | 7 +++---- themes/weta_tiled/empty.png | Bin 332 -> 0 bytes themes/weta_tiled/manifest.json | 12 ++++++------ 7 files changed, 21 insertions(+), 22 deletions(-) delete mode 100755 themes/weta_mirror/empty.png delete mode 100755 themes/weta_tiled/empty.png diff --git a/themes/animated/manifest.json b/themes/animated/manifest.json index e7c9751..30484ed 100755 --- a/themes/animated/manifest.json +++ b/themes/animated/manifest.json @@ -1,19 +1,19 @@ { - "description": "Theme using an animated PNG file as the headerURL image. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", + "description": "Theme using an animated PNG file as the theme_frame image. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", "manifest_version": 2, "name": "animated", - "version": "1.0", + "version": "1.1", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/animated", "theme": { "images": { - "headerURL": "parrot.png" + "theme_frame": "parrot.png" }, "colors": { - "accentcolor": "#ffffff", - "textcolor": "#000" + "frame": "#ffffff", + "tab_text": "#000" } } } diff --git a/themes/weta_fade/manifest.json b/themes/weta_fade/manifest.json index 30145f7..5201115 100644 --- a/themes/weta_fade/manifest.json +++ b/themes/weta_fade/manifest.json @@ -1,19 +1,19 @@ { - "description": "Theme using a PNG as the headerURL image, employing a faded edge. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", + "description": "Theme using a PNG as the theme_frame image, employing a faded edge. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", "manifest_version": 2, "name": "weta_fade", - "version": "1.0", + "version": "1.1", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade", "theme": { "images": { - "headerURL": "weta.png" + "theme_frame": "weta.png" }, "colors": { - "accentcolor": "#adb09f", - "textcolor": "#000" + "frame": "#adb09f", + "tab_text": "#000" } } } diff --git a/themes/weta_fade_chrome/manifest.json b/themes/weta_fade_chrome/manifest.json index ea0d35d..4df6b19 100755 --- a/themes/weta_fade_chrome/manifest.json +++ b/themes/weta_fade_chrome/manifest.json @@ -1,9 +1,9 @@ { - "description": "Version of the weta_fade theme using the Chrome compatible manifest keys. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", + "description": "Version of the weta_fade theme using the Chrome compatible color definitions. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", "manifest_version": 2, "name": "weta_fade_chrome", - "version": "1.0", + "version": "1.1", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade_chrome", diff --git a/themes/weta_mirror/empty.png b/themes/weta_mirror/empty.png deleted file mode 100755 index ceafa98af8b14a5fe621b1c2c5193ead40647d8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 332 zcmeAS@N?(olHy`uVBq!ia0vp^AT}2V8<6ZZI=>f4aTa()7BevL9RXp+soH$fKtc8r zPhVH|hwL1JV&YG}=j(%oTq8;xOG`5Hix^g}JL3Tq;wb?Nxug~+7iAWdWaj5F2y-eb z1I4*O;?DU6l|`B986^yB_|I4YMft#@MX8A(r3xjPxv31M-}yO#GMpfp;QX|b^2DN4 zhS-AtAm!X(!!wJMa}t3{ix{>a*wPOa<^TzYCl=*p=A|iB1I5@t%0ef4aTa()7BevL9RXp+soH$fKtc8r zPhVH|hwL1JV&YG}=j(%oTq8;xOG`5Hix^g}JL3Tq;wb?Nxug~+7iAWdWaj5F2y-eb z1I4*O;?DU6l|`B986^yB_|I4YMft#@MX8A(r3xjPxv31M-}yO#GMpfp;QX|b^2DN4 zhS-AtAm!X(!!wJMa}t3{ix{>a*wPOa<^TzYCl=*p=A|iB1I5@t%0e