Merge pull request #1413 from sameerasw/main

Update theme: Transparent Zen
This commit is contained in:
mr. m 2025-04-17 17:16:41 +02:00 committed by GitHub
commit 8066330ec8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 74 additions and 74 deletions

View file

@ -45,7 +45,7 @@ hbox.browserSidebarContainer,
/* Tab switch animation */ /* Tab switch animation */
#tabbrowser-tabpanels #tabbrowser-tabpanels
> hbox:not([zen-split="true"]):not(:has(.zen-glance-background)) { > hbox:not([zen-split="true"]):not(:has(.zen-glance-background)) {
@media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_animation") { @media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_anim") {
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.35), transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.35),
filter 0.45s ease-in-out, opacity 0.35s ease-in-out !important; filter 0.45s ease-in-out, opacity 0.35s ease-in-out !important;
scale: 0.9 !important; scale: 0.9 !important;
@ -53,7 +53,7 @@ hbox.browserSidebarContainer,
} }
} }
#tabbrowser-tabpanels > hbox.deck-selected:not([zen-split="true"]) { #tabbrowser-tabpanels > hbox.deck-selected:not([zen-split="true"]) {
@media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_animation") { @media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_anim") {
scale: 1 !important; scale: 1 !important;
opacity: 1 !important; opacity: 1 !important;
} }
@ -112,10 +112,3 @@ tabpanels .browserStack browser {
border-radius: 2em !important; border-radius: 2em !important;
} }
} }
/* smoothen trackpad gestures */
.browserStack browser[style*="transform: none"] {
@media (-moz-bool-pref: "mod.sameerasw.zen_trackpad_anim") {
border-radius: 0.75em !important;
}
}

View file

@ -1,62 +1,69 @@
[ [
{ {
"property": "browser.tabs.allow_transparent_browser", "property": "browser.tabs.allow_transparent_browser",
"label": "Allow zen browser to be transparent (Turn off before uninstall)", "label": "Allow zen browser to be transparent (Turn off before uninstall)",
"type": "checkbox", "type": "checkbox",
"defaultvalue": true "defaultvalue": true
}, },
{ {
"property": "mod.sameerasw.zen_bg_color_enabled", "property": "zen.widget.linux.transparency",
"label": "Enable custom background color for Zen", "label": "Allow zen browser on linux to be transparent (Turn off before uninstall)",
"type": "checkbox", "type": "checkbox",
"defaultvalue": false "defaultvalue": true,
}, "disabledOn": ["windows", "macos"]
{ },
"property": "mod.sameerasw.zen_transparency_color", {
"label": "Set background color for Zen (Overrides default theme colors)", "property": "mod.sameerasw.zen_bg_color_enabled",
"type": "string", "label": "Enable custom background color for Zen",
"defaultvalue": "#00000000" "type": "checkbox",
}, "defaultvalue": false
{ },
"property": "mod.sameerasw.zen_light_tint_flip", {
"label": "Flip light tint for Zen after 1.8b to dark", "property": "mod.sameerasw.zen_transparency_color",
"type": "checkbox", "label": "Set background color for Zen (Overrides default theme colors)",
"defaultvalue": false "type": "string",
}, "defaultvalue": "#00000000"
{ },
"property": "mod.sameerasw.zen_light_tint_disabled", {
"label": "Disable light tint for Zen after 1.8b", "property": "mod.sameerasw.zen_light_tint_flip",
"type": "checkbox", "label": "Flip light tint for Zen after 1.8b to dark",
"defaultvalue": true "type": "checkbox",
}, "defaultvalue": false
{ },
"property": "mod.sameerasw.zen_empty_page_transparency", {
"label": "Make the empty page transparent after Zen 1.9b", "property": "mod.sameerasw.zen_light_tint_disabled",
"type": "checkbox", "label": "Disable light tint for Zen after 1.8b",
"defaultvalue": true "type": "checkbox",
}, "defaultvalue": true
{ },
"property": "mod.sameerasw.zen_no_shadow", {
"label": "Remove the shadow around the web page", "property": "mod.sameerasw.zen_empty_page_transparency",
"type": "checkbox", "label": "Make the empty page transparent after Zen 1.9b",
"defaultvalue": false "type": "checkbox",
}, "defaultvalue": true
{ },
"property": "mod.sameerasw.zen_tab_switch_anim", {
"label": "Enable tab switch animation", "property": "mod.sameerasw.zen_no_shadow",
"type": "checkbox", "label": "Remove the shadow around the web page",
"defaultvalue": false "type": "checkbox",
}, "defaultvalue": false
{ },
"property": "mod.sameerasw.zen_urlbar_zoom_anim", {
"label": "Enable URL bar zoom animation", "property": "mod.sameerasw.zen_tab_switch_anim",
"type": "checkbox", "label": "Enable tab switch animation",
"defaultvalue": false "type": "checkbox",
}, "defaultvalue": false
{ },
"property": "mod.sameerasw.zen_trackpad_anim", {
"label": "Enable trackpad animation", "property": "mod.sameerasw.zen_urlbar_zoom_anim",
"type": "checkbox", "label": "Enable URL bar zoom animation",
"defaultvalue": false "type": "checkbox",
} "defaultvalue": false
] },
{
"property": "mod.sameerasw.zen_trackpad_anim",
"label": "Enable trackpad animation",
"type": "checkbox",
"defaultvalue": false
}
]

View file

@ -1,15 +1,15 @@
{ {
"id": "642854b5-88b4-4c40-b256-e035532109df", "id": "642854b5-88b4-4c40-b256-e035532109df",
"name": "Transparent Zen", "name": "Transparent Zen",
"description": "Make the Zen Browser's background transparent and modify the empty tab page and ahve animations that goes along with the transparency. Turn off transparency in mod settings before uninstallation.", "description": "Make the Zen Browser's background transparent and modify the empty tab page and have animations that goes along with the transparency. Turn off transparency in mod settings before uninstallation.",
"homepage": "https://github.com/sameerasw/zen-themes/tree/main/TransparentZen", "homepage": "https://github.com/sameerasw/zen-themes/tree/main/TransparentZen",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/chrome.css", "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/readme.md", "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/image.png", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/image.png",
"author": "sameerasw", "author": "sameerasw",
"version": "1.11.2", "version": "1.11.2b",
"tags": [], "tags": [],
"createdAt": "2025-02-04", "createdAt": "2025-02-04",
"updatedAt": "2025-04-11", "updatedAt": "2025-04-12",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json" "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json"
} }