mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
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.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 |
@@ -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 |
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user