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.

popover/panel background/borders with figma

Oleg Isonen9b32470d380e
diff --git a/packages/design-system/src/components/panel.tsx b/packages/design-system/src/components/panel.tsx
index 414018ad6e..348cb789bc 100644
--- a/packages/design-system/src/components/panel.tsx
+++ b/packages/design-system/src/components/panel.tsx
@@ -5,7 +5,7 @@ export const panelStyles = css({
backgroundColor: "$slate4",
borderRadius: "$1",
boxShadow:
- "0px 2px 7px rgba(0, 0, 0, 0.1), 0px 5px 17px rgba(0, 0, 0, 0.15), inset 0 0 1px 1px $colors$slate1, 0 0 0 1px $colors$slate8",
+ "0px 2px 7px rgba(0, 0, 0, 0.1), 0px 5px 17px rgba(0, 0, 0, 0.15), inset 0 0 1px 1px $colors$slate1, 0 0 0 1px $colors$slate7",
});
export const Panel = styled("div", panelStyles);
diff --git a/packages/design-system/src/components/popover.tsx b/packages/design-system/src/components/popover.tsx
index 7ef6455061..1805fd274c 100644
--- a/packages/design-system/src/components/popover.tsx
+++ b/packages/design-system/src/components/popover.tsx
@@ -18,6 +18,7 @@ export const Popover = ({ children, ...props }: PopoverProps) => {
};
const StyledContent = styled(PopoverPrimitive.Content, panelStyles, {
+ backgroundColor: "white",
minWidth: 200,
minHeight: "$6",
maxWidth: 265,