Merge pull request #412 from rebloor/theme-update

Theme manifest key updates
This commit is contained in:
Irene Smith
2019-05-22 07:54:24 -04:00
committed by GitHub
7 changed files with 21 additions and 22 deletions
+5 -5
View File
@@ -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, "manifest_version": 2,
"name": "animated", "name": "animated",
"version": "1.0", "version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/animated", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/animated",
"theme": { "theme": {
"images": { "images": {
"headerURL": "parrot.png" "theme_frame": "parrot.png"
}, },
"colors": { "colors": {
"accentcolor": "#ffffff", "frame": "#ffffff",
"textcolor": "#000" "tab_text": "#000"
} }
} }
} }
+5 -5
View File
@@ -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, "manifest_version": 2,
"name": "weta_fade", "name": "weta_fade",
"version": "1.0", "version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade",
"theme": { "theme": {
"images": { "images": {
"headerURL": "weta.png" "theme_frame": "weta.png"
}, },
"colors": { "colors": {
"accentcolor": "#adb09f", "frame": "#adb09f",
"textcolor": "#000" "tab_text": "#000"
} }
} }
} }
+2 -2
View File
@@ -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, "manifest_version": 2,
"name": "weta_fade_chrome", "name": "weta_fade_chrome",
"version": "1.0", "version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade_chrome", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade_chrome",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

+3 -4
View File
@@ -3,12 +3,11 @@
"description": "Theme using multiple additional_backgrounds images. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", "description": "Theme using multiple additional_backgrounds images. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes",
"manifest_version": 2, "manifest_version": 2,
"name": "weta_mirror", "name": "weta_mirror",
"version": "1.0", "version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_mirror", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_mirror",
"theme": { "theme": {
"images": { "images": {
"headerURL": "empty.png",
"additional_backgrounds": [ "weta.png", "weta-left.png"] "additional_backgrounds": [ "weta.png", "weta-left.png"]
}, },
@@ -17,8 +16,8 @@
}, },
"colors": { "colors": {
"accentcolor": "#adb09f", "frame": "#adb09f",
"textcolor": "#000" "tab_text": "#000"
} }
} }
} }
Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

+6 -6
View File
@@ -1,15 +1,14 @@
{ {
"description": "Theme with a single image placed centrally and then tiled. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes", "description": "Theme with a single image placed centrally and then tiled. Also, illustrates the use of frame_inactive to change the header background color when the browser window isn't in focus. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes",
"manifest_version": 2, "manifest_version": 2,
"name": "weta_tiled", "name": "weta_tiled",
"version": "1.0", "version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_tiled", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_tiled",
"theme": { "theme": {
"images": { "images": {
"headerURL": "empty.png", "additional_backgrounds": "weta_for_tiling.png"
"additional_backgrounds": [ "weta_for_tiling.png"]
}, },
"properties": { "properties": {
@@ -18,8 +17,9 @@
}, },
"colors": { "colors": {
"accentcolor": "#adb09f", "frame": "#adb09f",
"textcolor": "#000" "frame_inactive": "#000",
"tab_text": "#000"
} }
} }
} }