add in a theme switching example (#228)

* add in a theme switching example

* remove background script

* filter out non-themes
This commit is contained in:
Andy McKay
2017-06-12 13:37:56 -07:00
committed by wbamberg
parent 3870a213bb
commit db7a686f3c
6 changed files with 79 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"browser_action": {
"default_title": "Theme switcher",
"default_popup": "switcher.html",
"browser_style": true,
"default_icon": {
"128": "star-half.svg"
}
},
"description": "An example of how to use the management API for themes.",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/theme-switcher",
"manifest_version": 2,
"name": "Theme Switcher",
"permissions": [
"management"
],
"icons": {
"128": "star-half.svg"
},
"version": "1.0",
"applications": {
"gecko": {
"strict_min_version": "55.0a1"
}
}
}