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.

fix: initially label shouldn't have a hover effect (#3041)

Oleg Isonenef45142a218d
diff --git a/packages/design-system/src/components/label.tsx b/packages/design-system/src/components/label.tsx
index b2acdae073..c48051b32e 100644
--- a/packages/design-system/src/components/label.tsx
+++ b/packages/design-system/src/components/label.tsx
@@ -32,6 +32,7 @@ const StyledLabel = styled(RadixLabel, {
border: "1px solid transparent",
borderRadius: theme.borderRadius[3],
transition: "200ms color, 200ms background-color",
+ color: theme.colors.foregroundMain,
// https://github.com/webstudio-is/webstudio/issues/1271#issuecomment-1478436340
"&:focus-visible": {
@@ -110,7 +111,6 @@ const StyledLabel = styled(RadixLabel, {
},
defaultVariants: {
- color: "default",
sectionTitle: false,
},
});