Skip to content

Commit 4e6af30

Browse files
author
Irene Smith
authored
Merge pull request mdn#412 from rebloor/theme-update
Theme manifest key updates
2 parents e1dcb30 + 5ff8feb commit 4e6af30

File tree

7 files changed

+21
-22
lines changed

7 files changed

+21
-22
lines changed

themes/animated/manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22

3-
"description": "Theme using an animated PNG file as the headerURL image. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes",
3+
"description": "Theme using an animated PNG file as the theme_frame image. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes",
44
"manifest_version": 2,
55
"name": "animated",
6-
"version": "1.0",
6+
"version": "1.1",
77
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/animated",
88

99
"theme": {
1010
"images": {
11-
"headerURL": "parrot.png"
11+
"theme_frame": "parrot.png"
1212
},
1313

1414
"colors": {
15-
"accentcolor": "#ffffff",
16-
"textcolor": "#000"
15+
"frame": "#ffffff",
16+
"tab_text": "#000"
1717
}
1818
}
1919
}

themes/weta_fade/manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22

3-
"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",
3+
"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",
44
"manifest_version": 2,
55
"name": "weta_fade",
6-
"version": "1.0",
6+
"version": "1.1",
77
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade",
88

99
"theme": {
1010
"images": {
11-
"headerURL": "weta.png"
11+
"theme_frame": "weta.png"
1212
},
1313

1414
"colors": {
15-
"accentcolor": "#adb09f",
16-
"textcolor": "#000"
15+
"frame": "#adb09f",
16+
"tab_text": "#000"
1717
}
1818
}
1919
}

themes/weta_fade_chrome/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22

3-
"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",
3+
"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",
44
"manifest_version": 2,
55
"name": "weta_fade_chrome",
6-
"version": "1.0",
6+
"version": "1.1",
77
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_fade_chrome",
88

99

themes/weta_mirror/empty.png

-332 Bytes
Binary file not shown.

themes/weta_mirror/manifest.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
"description": "Theme using multiple additional_backgrounds images. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes",
44
"manifest_version": 2,
55
"name": "weta_mirror",
6-
"version": "1.0",
6+
"version": "1.1",
77
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_mirror",
88

99
"theme": {
1010
"images": {
11-
"headerURL": "empty.png",
1211
"additional_backgrounds": [ "weta.png", "weta-left.png"]
1312
},
1413

@@ -17,8 +16,8 @@
1716
},
1817

1918
"colors": {
20-
"accentcolor": "#adb09f",
21-
"textcolor": "#000"
19+
"frame": "#adb09f",
20+
"tab_text": "#000"
2221
}
2322
}
2423
}

themes/weta_tiled/empty.png

-332 Bytes
Binary file not shown.

themes/weta_tiled/manifest.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
22

3-
"description": "Theme with a single image placed centrally and then tiled. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#themes",
3+
"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",
44
"manifest_version": 2,
55
"name": "weta_tiled",
6-
"version": "1.0",
6+
"version": "1.1",
77
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/themes/weta_tiled",
88

99
"theme": {
1010
"images": {
11-
"headerURL": "empty.png",
12-
"additional_backgrounds": [ "weta_for_tiling.png"]
11+
"additional_backgrounds": "weta_for_tiling.png"
1312
},
1413

1514
"properties": {
@@ -18,8 +17,9 @@
1817
},
1918

2019
"colors": {
21-
"accentcolor": "#adb09f",
22-
"textcolor": "#000"
20+
"frame": "#adb09f",
21+
"frame_inactive": "#000",
22+
"tab_text": "#000"
2323
}
2424
}
2525
}

0 commit comments

Comments
 (0)