-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Theme: PywalZen #839
Comments
Just in case I'll leave this here: :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;
}
: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;
}
#commonDialogWindow {
background-color: black !important;
}
[
{
"property": "uc.pywalzen.darkness",
"label": "Darkness level",
"type": "dropdown",
"defaultValue": "default",
"options": [
{"value": "default", "label": "Default"},
{"value": "dark", "label": "Dark"},
{"value": "darker", "label": "Darker"},
{"value": "yet-darker", "label": "Yet darker"},
{"value": "pitch-black", "label": "Pitch black"}
],
"disabledOn": []
}
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I made a PR a while ago. Just in case, I'll leave it here: #708
Thanks!
The text was updated successfully, but these errors were encountered: