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.

remove borderWidths theme variables

Roman Pominovf575862841dc
diff --git a/packages/design-system/src/components/tree/placement-indicator.tsx b/packages/design-system/src/components/tree/placement-indicator.tsx
index c467c72476..de38e5d226 100644
--- a/packages/design-system/src/components/tree/placement-indicator.tsx
+++ b/packages/design-system/src/components/tree/placement-indicator.tsx
@@ -24,7 +24,7 @@ const Circle = styled(Box, {
height: CIRCLE_SIZE,
position: "absolute",
border: "solid $dropPlacement",
- borderWidth: "$2",
+ borderWidth: 2,
borderRadius: "50%",
pointerEvents: "none",
});
diff --git a/packages/design-system/src/components/tree/tree-node.tsx b/packages/design-system/src/components/tree/tree-node.tsx
index 4a3edb5891..a59709afac 100644
--- a/packages/design-system/src/components/tree/tree-node.tsx
+++ b/packages/design-system/src/components/tree/tree-node.tsx
@@ -105,7 +105,7 @@ const hoverStyle = {
right: 2,
height: ITEM_HEIGHT,
border: "solid $blue10",
- borderWidth: "$2",
+ borderWidth: 2,
borderRadius: "$2",
pointerEvents: "none",
boxSizing: "border-box",
diff --git a/packages/design-system/src/stitches.config.ts b/packages/design-system/src/stitches.config.ts
index 077b1768be..dabe8501c4 100644
--- a/packages/design-system/src/stitches.config.ts
+++ b/packages/design-system/src/stitches.config.ts
@@ -258,10 +258,6 @@ export const {
4: "400",
max: "999",
},
- borderWidths: {
- 1: "1px",
- 2: "2px",
- },
},
media: {
bp1: "(min-width: 520px)",