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

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,
"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"
}
}
}

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,
"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"
}
}
}

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,
"name": "weta_fade_chrome",
"version": "1.0",
"version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade_chrome",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

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",
"manifest_version": 2,
"name": "weta_mirror",
"version": "1.0",
"version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_mirror",
"theme": {
"images": {
"headerURL": "empty.png",
"additional_backgrounds": [ "weta.png", "weta-left.png"]
},
@@ -17,8 +16,8 @@
},
"colors": {
"accentcolor": "#adb09f",
"textcolor": "#000"
"frame": "#adb09f",
"tab_text": "#000"
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

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,
"name": "weta_tiled",
"version": "1.0",
"version": "1.1",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_tiled",
"theme": {
"images": {
"headerURL": "empty.png",
"additional_backgrounds": [ "weta_for_tiling.png"]
"additional_backgrounds": "weta_for_tiling.png"
},
"properties": {
@@ -18,8 +17,9 @@
},
"colors": {
"accentcolor": "#adb09f",
"textcolor": "#000"
"frame": "#adb09f",
"frame_inactive": "#000",
"tab_text": "#000"
}
}
}