feat: Added default engine selection step on the onboarding, b=(bug #7000), c=welcome, workspaces

This commit is contained in:
Mr. M
2025-05-02 09:29:54 +02:00
parent 33ac98c2b3
commit 62f56d7949
4 changed files with 141 additions and 5 deletions

View File

@@ -909,12 +909,12 @@
} else if (themedColors.length === 1) {
return this.getSingleRGBColor(themedColors[0], forToolbar);
} else if (themedColors.length !== 3) {
return `linear-gradient(in oklch ${this.currentRotation}deg, ${themedColors.map((color) => this.getSingleRGBColor(color, forToolbar)).join(', ')})`;
return `linear-gradient(${this.currentRotation}deg, ${themedColors.map((color) => this.getSingleRGBColor(color, forToolbar)).join(', ')})`;
} else {
let color1 = this.getSingleRGBColor(themedColors[2], forToolbar);
let color2 = this.getSingleRGBColor(themedColors[0], forToolbar);
let color3 = this.getSingleRGBColor(themedColors[1], forToolbar);
return `linear-gradient(in oklch ${this.currentRotation}deg, ${color1}, ${color2}, ${color3})`;
return `linear-gradient(${this.currentRotation}deg, ${color1}, ${color2}, ${color3})`;
}
}