Merge pull request #708 from Axenide/main

Update PywalZen
This commit is contained in:
mr. m 2024-12-16 15:19:52 +01:00 committed by GitHub
commit 4572d4a4a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 31 additions and 6 deletions

View file

@ -36,7 +36,7 @@
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d2953516-d239-4ef8-aac5-b238e3dc0360/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d2953516-d239-4ef8-aac5-b238e3dc0360/image.png",
"author": "Axenide",
"version": "1.0.2",
"version": "1.0.3",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d2953516-d239-4ef8-aac5-b238e3dc0360/preferences.json",
"tags": [],
"createdAt": "2024-09-29",
@ -1188,4 +1188,4 @@
"createdAt": "2024-11-24",
"updatedAt": "2024-12-04"
}
}
}

View file

@ -1,4 +1,5 @@
:root {
--zen-primary-color: #d9d9d9 !important;
--zen-colors-primary: var(--tab-loading-fill) !important;
--zen-colors-secondary: var(--tab-loading-fill) !important;
--toolbarbutton-icon-fill: var(--tab-loading-fill) !important;
@ -6,27 +7,51 @@
:root:has(#theme-PywalZen[uc-pywalzen-darkness="default"]) {
--zen-colors-tertiary: var(--lwt-accent-color) !important;
--zen-main-browser-background: var(--lwt-accent-color) !important;
--zen-themed-toolbar-bg: var(--lwt-accent-color) !important;
#urlbar[breakout-extend="true"] > #urlbar-background {
background: var(--lwt-accent-color) !important;
}
}
:root:has(#theme-PywalZen[uc-pywalzen-darkness="dark"]) {
--zen-colors-tertiary: color-mix(in srgb, var(--lwt-accent-color), black 25%) !important;
--zen-main-browser-background: color-mix(in srgb, var(--lwt-accent-color), black 25%) !important;
--zen-themed-toolbar-bg: color-mix(in srgb, var(--lwt-accent-color), black 25%) !important;
#urlbar[breakout-extend="true"] > #urlbar-background {
background: color-mix(in srgb, var(--lwt-accent-color), black 25%) !important;
}
}
:root:has(#theme-PywalZen[uc-pywalzen-darkness="darker"]) {
--zen-colors-tertiary: color-mix(in srgb, var(--lwt-accent-color), black 50%) !important;
--zen-main-browser-background: color-mix(in srgb, var(--lwt-accent-color), black 50%) !important;
--zen-themed-toolbar-bg: color-mix(in srgb, var(--lwt-accent-color), black 50%) !important;
#urlbar[breakout-extend="true"] > #urlbar-background {
background: color-mix(in srgb, var(--lwt-accent-color), black 50%) !important;
}
}
:root:has(#theme-PywalZen[uc-pywalzen-darkness="yet-darker"]) {
--zen-colors-tertiary: color-mix(in srgb, var(--lwt-accent-color), black 75%) !important;
--zen-main-browser-background: color-mix(in srgb, var(--lwt-accent-color), black 75%) !important;
--zen-themed-toolbar-bg: color-mix(in srgb, var(--lwt-accent-color), black 75%) !important;
#urlbar[breakout-extend="true"] > #urlbar-background {
background: color-mix(in srgb, var(--lwt-accent-color), black 75%) !important;
}
}
:root:has(#theme-PywalZen[uc-pywalzen-darkness="pitch-black"]) {
--zen-colors-tertiary: black !important;
--zen-main-browser-background: black !important;
--zen-themed-toolbar-bg: black !important;
#urlbar[breakout-extend="true"] > #urlbar-background {
background: black !important;
}
}
#urlbar:not([focused="true"]):not([breakout-extend="true"]) > #urlbar-background {
background: color-mix(in srgb, light-dark(#fff, var(--zen-colors-secondary)) 35%, transparent 65%) !important;
backdrop-filter: blur(10px);
}
#commonDialogWindow {

View file

@ -2,7 +2,7 @@
By using some native color variables, this theme makes [Pywalfox](https://github.com/Frewacom/pywalfox) work with [Zen](https://zen-browser.app/) Browser correctly.
> **NOTE**: Zen Browser implemented custom gradients for each workspace. While this theme works, you need to tweak the contrast for Zen to recognize it, just the first time. It is compatible with gradients and the new grain effect!
> **NOTE**: This theme overrides custom gradients, but it is compatible with the new grain effect!
![](https://raw.githubusercontent.com/Axenide/PywalZen/main/screenshots/1.png)
![](https://raw.githubusercontent.com/Axenide/PywalZen/main/screenshots/2.png)

View file

@ -7,9 +7,9 @@
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d2953516-d239-4ef8-aac5-b238e3dc0360/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d2953516-d239-4ef8-aac5-b238e3dc0360/image.png",
"author": "Axenide",
"version": "1.0.2",
"version": "1.0.3",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d2953516-d239-4ef8-aac5-b238e3dc0360/preferences.json",
"tags": [],
"createdAt": "2024-09-29",
"updatedAt": "2024-10-31"
}
}