Merge branch 'main' into main

This commit is contained in:
Sameera Sandakelum 2025-04-12 03:54:36 +05:30 committed by GitHub
commit 9b0a1808c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 56 additions and 24 deletions

View file

@ -562,16 +562,16 @@
"642854b5-88b4-4c40-b256-e035532109df": {
"id": "642854b5-88b4-4c40-b256-e035532109df",
"name": "Transparent Zen",
"description": "Make the Zen Browser's background transparent and modify the empty tab page. Turn off transparency in mod settings before uninstallation.",
"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.",
"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",
"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",
"author": "sameerasw",
"version": "1.9.1",
"version": "1.11.2",
"tags": [],
"createdAt": "2025-02-04",
"updatedAt": "2025-03-11",
"updatedAt": "2025-04-11",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json"
},
"22c9ec3b-7c62-46ae-991f-c8fff5046829": {
@ -1226,10 +1226,10 @@
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/8039de3b-72e1-41ea-83b3-5077cf0f98d1/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/8039de3b-72e1-41ea-83b3-5077cf0f98d1/image.png",
"author": "Fury7425",
"version": "1.0.0",
"version": "1.1.0",
"tags": [],
"createdAt": "2025-04-08",
"updatedAt": "2025-04-09"
"updatedAt": "2025-04-11"
},
"a5f6a231-e3c8-4ce8-8a8e-3e93efd6adec": {
"id": "a5f6a231-e3c8-4ce8-8a8e-3e93efd6adec",

View file

@ -1,21 +1,24 @@
:root {
--mod-browser-scale: var(--user-browser-scale, 0.98);
--mod-browser-ease-swipe: var(--user-browser-ease-swipe, 0.3, 1.2, 0.5, 1);
--mod-browser-ease-reset: var(--user-browser-ease-reset, 0.2, 1.4, 0.3, 1);
}
.browserStack browser {
transition: transform 0.22s cubic-bezier(0.3, 1.2, 0.5, 1) !important;
}
.browserStack browser {
transition: transform 0.22s cubic-bezier(var(--mod-browser-ease-swipe)) !important;
}
.browserStack:has(#historySwipeAnimationPreviousArrow:not([style="translate: none;"]))
browser {
scale: 0.95 !important;
transform: translateX(4%) !important;
}
.browserStack:has(#historySwipeAnimationPreviousArrow:not([style="translate: none;"])) browser {
scale: var(--mod-browser-scale) !important;
transform: translateX(4%) !important;
}
.browserStack:has(#historySwipeAnimationNextArrow:not([style="translate: none;"]))
browser {
scale: 0.95 !important;
transform: translateX(-4%) !important;
}
.browserStack:has(#historySwipeAnimationNextArrow:not([style="translate: none;"])) browser {
scale: var(--mod-browser-scale) !important;
transform: translateX(-4%) !important;
}
.browserStack browser:not(:has(#historySwipeAnimationPreviousArrow, #historySwipeAnimationNextArrow)) {
transition: transform 0.25s cubic-bezier(0.2, 1.4, 0.3, 1) !important;
transform: translateX(0) !important;
}
.browserStack browser:not(:has(#historySwipeAnimationPreviousArrow, #historySwipeAnimationNextArrow)) {
transition: transform 0.25s cubic-bezier(var(--mod-browser-ease-reset)) !important;
transform: translateX(0) !important;
}

View file

@ -0,0 +1,29 @@
[
{
"property": "mod.browser.scale_enabled",
"label": "Enable swipe scale animation",
"type": "checkbox",
"defaultValue": true
},
{
"property": "user-browser-scale",
"label": "Swipe scale (e.g. 0.98 for 2%)",
"type": "string",
"defaultValue": "0.98",
"placeholder": "0.97\u20131.00"
},
{
"property": "user-browser-ease-swipe",
"label": "Swipe easing curve (4 numbers)",
"type": "string",
"defaultValue": "0.3, 1.2, 0.5, 1",
"placeholder": "e.g. 0.25, 0.1, 0.25, 1"
},
{
"property": "user-browser-ease-reset",
"label": "Reset easing curve (4 numbers)",
"type": "string",
"defaultValue": "0.2, 1.4, 0.3, 1",
"placeholder": "e.g. 0.2, 0.8, 0.2, 1"
}
]

View file

@ -7,8 +7,8 @@
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/8039de3b-72e1-41ea-83b3-5077cf0f98d1/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/8039de3b-72e1-41ea-83b3-5077cf0f98d1/image.png",
"author": "Fury7425",
"version": "1.0.0",
"version": "1.1.0",
"tags": [],
"createdAt": "2025-04-08",
"updatedAt": "2025-04-09"
"updatedAt": "2025-04-11"
}