mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-15 06:16:14 +00:00
fix: Fixed gradient having wrong percentages, b=(no-bug), c=workspaces
This commit is contained in:
@@ -927,8 +927,8 @@
|
|||||||
getToolbarModifiedBase() {
|
getToolbarModifiedBase() {
|
||||||
const opacity = this.#allowTransparencyOnSidebar ? 0.6 : 1;
|
const opacity = this.#allowTransparencyOnSidebar ? 0.6 : 1;
|
||||||
return this.isDarkMode
|
return this.isDarkMode
|
||||||
? `color-mix(in srgb, var(--zen-themed-toolbar-bg) 80%, rgba(255,255,255,${opacity}) 4%)`
|
? `color-mix(in srgb, var(--zen-themed-toolbar-bg) 96%, rgba(255,255,255,${opacity}) 4%)`
|
||||||
: `color-mix(in srgb, var(--zen-themed-toolbar-bg) 95%, rgba(0,0,0,${opacity}) 4%)`;
|
: `color-mix(in srgb, var(--zen-themed-toolbar-bg) 96%, rgba(0,0,0,${opacity}) 4%)`;
|
||||||
}
|
}
|
||||||
|
|
||||||
getSingleRGBColor(color, forToolbar = false) {
|
getSingleRGBColor(color, forToolbar = false) {
|
||||||
|
Reference in New Issue
Block a user