Skip to content

Commit

Permalink
Merge pull request #25 from tolgee/stepangranat/update-icon
Browse files Browse the repository at this point in the history
feat: update icon
  • Loading branch information
JanCizmar authored Dec 21, 2023
2 parents 90eeaa4 + 882ca22 commit b11b08c
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 10 deletions.
Binary file added assets/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 removed assets/active128.png
Binary file not shown.
Binary file removed assets/active16.png
Binary file not shown.
Binary file removed assets/active48.png
Binary file not shown.
Binary file added assets/inactive.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 removed assets/inactive128.png
Binary file not shown.
Binary file removed assets/inactive16.png
Binary file not shown.
Binary file removed assets/inactive48.png
Binary file not shown.
Binary file added assets/present.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 removed assets/present128.png
Binary file not shown.
Binary file removed assets/present16.png
Binary file not shown.
Binary file removed assets/present48.png
Binary file not shown.
8 changes: 2 additions & 6 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"description": "Translate your web application more effectively with Tolgee plugin!",
"browser_action": {
"default_icon": {
"16": "assets/inactive16.png",
"48": "assets/inactive48.png",
"128": "assets/inactive128.png"
"128": "assets/inactive.png"
},
"default_popup": "src/popup/index.html"
},
Expand All @@ -17,9 +15,7 @@
},
"permissions": ["activeTab", "<all_urls>", "storage"],
"icons": {
"16": "assets/present16.png",
"48": "assets/present48.png",
"128": "assets/present128.png"
"128": "assets/present.png"
},
"content_scripts": [
{
Expand Down
4 changes: 1 addition & 3 deletions src/background/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ chrome.runtime.onMessage.addListener(({ type, data }, sender, sendResponse) => {
const setStateIcon = (state: State, tabId: number) => {
chrome.browserAction.setIcon({
path: {
16: `assets/${state}16.png`,
48: `assets/${state}48.png`,
128: `assets/${state}128.png`,
128: `assets/${state}.png`,
},
tabId,
});
Expand Down
2 changes: 1 addition & 1 deletion src/popup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TolgeeDetector } from './TolgeeDetector';
const theme = createMuiTheme({
palette: {
primary: {
main: '#822B55',
main: '#EC407A',
},
secondary: {
main: '#2B5582',
Expand Down

0 comments on commit b11b08c

Please sign in to comment.