Skip to content

Commit

Permalink
add 16x16 browserAction icons for new Chrome UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflix committed Aug 11, 2016
1 parent 76bc402 commit 1878af3
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 7 deletions.
Binary file modified _sources/dimensions icon.sketch
Binary file not shown.
12 changes: 8 additions & 4 deletions extension/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ var dimensions = {
chrome.browserAction.setIcon({
tabId: this.tab.id,
path: {
19: "images/icon_active.png",
38: "images/icon_active@2x.png"
16: "images/icon16_active.png",
19: "images/icon19_active.png",
32: "images/icon16_active@2x.png",
38: "images/icon19_active@2x.png"
}
});

Expand Down Expand Up @@ -92,8 +94,10 @@ var dimensions = {
chrome.browserAction.setIcon({
tabId: this.tab.id,
path: {
19: "images/icon.png",
38: "images/icon@2x.png"
16: "images/icon16.png",
19: "images/icon19.png",
32: "images/icon16@2x.png",
38: "images/icon19@2x.png"
}
});

Expand Down
Binary file modified extension/images/icon128.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 added extension/images/icon16.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 added extension/images/icon16@2x.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 added extension/images/icon16_active.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 added extension/images/icon16_active@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified extension/images/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "Dimensions",
"description": "A tool for designers to measure screen dimensions",
"version": "2.0.4",
"version": "2.0.5",
"manifest_version": 2,
"author": "Felix Niklas",
"icons": {
"16": "images/icon16.png",
"32": "images/icon16@2x.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
Expand All @@ -21,8 +23,10 @@
},
"browser_action": {
"default_icon": {
"19": "images/icon.png",
"38": "images/icon@2x.png"
"16": "images/icon16.png",
"19": "images/icon19.png",
"32": "images/icon16@2x.png",
"38": "images/icon19@2x.png"
},
"default_title": "Measure Dimensions"
},
Expand Down

0 comments on commit 1878af3

Please sign in to comment.