1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 00:10:00 +02:00

feat: Make default lightness be 50%, b=no-bug, c=workspaces

This commit is contained in:
mr. m 2025-07-03 19:46:30 +02:00
parent 974680e1a4
commit f80fe998e8
No known key found for this signature in database
GPG key ID: 928E01ED4C97749F

View file

@ -1628,7 +1628,7 @@
const previousOpacity = this.currentOpacity; const previousOpacity = this.currentOpacity;
const previousLightness = this.#currentLightness; const previousLightness = this.#currentLightness;
this.currentOpacity = workspace.theme.opacity ?? 0.5; this.currentOpacity = workspace.theme.opacity ?? 0.5;
this.#currentLightness = workspace.theme.lightness ?? 70; this.#currentLightness = workspace.theme.lightness ?? 50;
const gradient = this.getGradient(workspace.theme.gradientColors); const gradient = this.getGradient(workspace.theme.gradientColors);
this.currentOpacity = previousOpacity; this.currentOpacity = previousOpacity;
this.#currentLightness = previousLightness; this.#currentLightness = previousLightness;