Skip to content

Commit

Permalink
add in different theme images (mdn#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay authored and wbamberg committed Oct 6, 2017
1 parent f635b67 commit 93711a6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions beastify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ When the user clicks the reset button, the page reloads, and reverts to its orig
## What it shows ##

* write a browser action with a popup
* how to have different browser_action images based upon the theme
* give the popup style and behavior using CSS and JS
* inject a content script programmatically using `tabs.executeScript()`
* send a message from the main extension to a content script
Expand Down
Binary file added beastify/icons/beasts-32-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified beastify/icons/beasts-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions beastify/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@

"permissions": [
"activeTab"
],
],

"browser_action": {
"default_icon": "icons/beasts-32.png",
"theme_icons": [{
"light": "icons/beasts-32-light.png",
"dark": "icons/beasts-32.png",
"size": 32
}],
"default_title": "Beastify",
"default_popup": "popup/choose_beast.html"
},

"web_accessible_resources": [
"beasts/frog.jpg",
"beasts/turtle.jpg",
Expand Down

0 comments on commit 93711a6

Please sign in to comment.