Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

chore: make initial value of the logo brightness always at least 30 (#3911)

Oleg Isonen9b1ff5a09b42
diff --git a/apps/builder/app/builder/builder.tsx b/apps/builder/app/builder/builder.tsx
index 450ee7c6b2..ddb62b433a 100644
--- a/apps/builder/app/builder/builder.tsx
+++ b/apps/builder/app/builder/builder.tsx
@@ -283,7 +283,7 @@ const ProgressIndicator = ({ value }: { value: number }) => {
style={{
filter: `
drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.7))
- brightness(${fakeValue}%)
+ brightness(${Math.max(fakeValue, 30)}%)
`,
transitionProperty: "filter",
transitionDuration: "500ms",