Skip to content

Commit

Permalink
Merge pull request #647 from Axenide/main
Browse files Browse the repository at this point in the history
Updated PywalZen for 1.0.1-a.14 + Preferences
  • Loading branch information
mauro-balades authored Oct 28, 2024
2 parents 53e2134 + ba2b653 commit ef60b8d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 15 deletions.
5 changes: 3 additions & 2 deletions themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"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.0",
"version": "1.0.1",
"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-09-29"
Expand Down Expand Up @@ -1058,4 +1059,4 @@
"createdAt": "2024-08-19",
"updatedAt": "2024-10-18"
}
}
}
15 changes: 4 additions & 11 deletions themes/d2953516-d239-4ef8-aac5-b238e3dc0360/chrome.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@

:root {
--zen-primary-color: var(--tab-loading-fill) !important;
--zen-colors-primary: var(--tab-loading-fill) !important;
--zen-colors-secondary: var(--tab-loading-fill) !important;
--zen-colors-tertiary: var(--lwt-accent-color) !important; !important;
}

@media (-moz-bool-pref: "zen.view.compact") {
#navigator-toolbox, #nav-bar {
background: var(--lwt-accent-color) !important;
}
--zen-colors-tertiary: color-mix(in srgb, var(--lwt-accent-color), black calc(var(--uc-pywalzen-darkness) * 1%)) !important;
--toolbarbutton-icon-fill: var(--tab-loading-fill) !important;
}

#browser {
background: var(--lwt-accent-color) !important;
#commonDialogWindow {
background-color: black !important;
}
16 changes: 16 additions & 0 deletions themes/d2953516-d239-4ef8-aac5-b238e3dc0360/preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"property": "uc.pywalzen.darkness",
"label": "Darkness level",
"type": "dropdown",
"defaultValue": 0,
"options": [
{"value": 0, "label": "Default"},
{"value": 25, "label": "Dark"},
{"value": 50, "label": "Darker"},
{"value": 75, "label": "Yet darker"},
{"value": 100, "label": "Pitch black"}
],
"disabledOn": []
}
]
2 changes: 2 additions & 0 deletions themes/d2953516-d239-4ef8-aac5-b238e3dc0360/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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!
![](https://raw.githubusercontent.com/Axenide/PywalZen/main/screenshots/1.png)
![](https://raw.githubusercontent.com/Axenide/PywalZen/main/screenshots/2.png)
![](https://raw.githubusercontent.com/Axenide/PywalZen/main/screenshots/3.png)
Expand Down
5 changes: 3 additions & 2 deletions themes/d2953516-d239-4ef8-aac5-b238e3dc0360/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +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.0",
"version": "1.0.1",
"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-09-29"
}
}

0 comments on commit ef60b8d

Please sign in to comment.