Skip to content

Commit

Permalink
Add theme: Finetuning
Browse files Browse the repository at this point in the history
  • Loading branch information
wxxxcxx authored Nov 7, 2024
1 parent 6769e74 commit a70e799
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 0 deletions.
23 changes: 23 additions & 0 deletions themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/chrome.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

@-moz-document url-prefix("chrome:") {
:root {
--zen-toolbar-height: var(--finetuning-titlebar-titlebar_height) !important;
}
#nav-bar #zen-sidebar-top-buttons {
min-height: auto !important;
height: auto !important;
max-height: auto !important;
padding-right: 15px !important;
}

.titlebar-buttonbox-container {
padding-left: 15px !important;
}

/* Hide the new tab button at the end of the tabs */
@media (-moz-bool-pref: "finetuning.tabs.hide_tabs_newtab_button") {
#tabbrowser-arrowscrollbox-periphery {
display: none !important;
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"property": "finetuning.titlebar.titlebar_height",
"label": "Set the height of the titlebar",
"type": "string",
"defaultValue": "40px",
"disabledOn": []
},
{
"property": "finetuning.tabs.hide_tabs_newtab_button",
"label": "Hide the new tab button at the end of the tabs",
"type": "checkbox",
"defaultValue": false,
"disabledOn": []
}
]
9 changes: 9 additions & 0 deletions themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# Finetuning

Finetuning is a theme that allows you to fine-tune the appearance of the browser.

## Features

- Set the height of the titlebar
- Hide the new tab button at the end of the tabs
15 changes: 15 additions & 0 deletions themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "823645f2-dcf3-4efc-843b-25d3d74dfdfd",
"name": "Finetuning",
"description": "Finetuning is a mod that allows you to fine-tune the appearance of the browser.",
"homepage": "",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/image.png",
"author": "wxxxcxx",
"version": "1.0.0",
"tags": [],
"createdAt": "2024-11-07",
"updatedAt": "2024-11-07",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/823645f2-dcf3-4efc-843b-25d3d74dfdfd/preferences.json"
}

0 comments on commit a70e799

Please sign in to comment.