Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
icon: Improve, simplify usage in dark/light themes (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
floand authored and eoger committed Feb 7, 2018
1 parent 6b60cc0 commit e0c87c4
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 11 deletions.
24 changes: 16 additions & 8 deletions src/icons/tabcenter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 17 additions & 3 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"default_icon": "icons/tabcenter.svg"
},
"icons": {
"48": "icons/tabcenter.svg"
"48": "icons/tabcenter.svg",
"96": "icons/tabcenter.svg"
},
"permissions": [
"<all_urls>",
Expand All @@ -22,8 +23,21 @@
"tabs"
],
"browser_action": {
"default_icon": "icons/tabcenter.svg",
"default_title": "__MSG_browserActionTitle__"
"browser_style": true,
"default_icon": {
"16": "icons/tabcenter.svg",
"32": "icons/tabcenter.svg"
},
"default_title": "__MSG_browserActionTitle__",
"theme_icons": [{
"dark": "icons/tabcenter.svg#dark",
"light": "icons/tabcenter.svg#light",
"size": 16
}, {
"dark": "icons/tabcenter.svg#dark",
"light": "icons/tabcenter.svg#light",
"size": 32
}]
},
"background": {
"scripts": ["background.js"]
Expand Down

0 comments on commit e0c87c4

Please sign in to comment.