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.

small cleanup

Sara Vieira19ae67e09010
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-info.tsx b/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-info.tsx
index bec201ba94..513b038a07 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-info.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/asset-manager/asset-info.tsx
@@ -24,7 +24,7 @@ import { useSubmit } from "@remix-run/react";
type AssetInfoProps = Asset & {
closeInfo: () => void;
- setIsDeleting: (a: boolean) => void;
+ setIsDeleting: (isDeleting: boolean) => void;
};
export const AssetInfo = ({
@@ -53,7 +53,7 @@ export const AssetInfo = ({
align="center"
justify="between"
>
- <Text size="1" css={{ fontWeight: "bold" }}>
+ <Text size="1" weight="bold">
Asset Details
</Text>
diff --git a/packages/design-system/src/components/text.tsx b/packages/design-system/src/components/text.tsx
index 3663a0355d..b6f21768ec 100644
--- a/packages/design-system/src/components/text.tsx
+++ b/packages/design-system/src/components/text.tsx
@@ -47,6 +47,17 @@ export const Text = styled("div", {
textIndent: "-.025em",
},
},
+ weight: {
+ bold: {
+ fontWeight: "700",
+ },
+ semibold: {
+ fontWeight: "600",
+ },
+ light: {
+ fontWeight: "300",
+ },
+ },
variant: {
red: {
color: "$red11",