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.

designer theme update

Sultand6d58c8d9353
diff --git a/apps/designer/app/designer/designer.tsx b/apps/designer/app/designer/designer.tsx
index f2814f61fb..d41038b6c5 100644
--- a/apps/designer/app/designer/designer.tsx
+++ b/apps/designer/app/designer/designer.tsx
@@ -7,7 +7,7 @@ import type {
HoveredInstanceData,
SelectedInstanceData,
} from "~/shared/canvas-components";
-import { Box, Flex, Grid, type CSS } from "~/shared/design-system";
+import { darkTheme, Box, Flex, Grid, type CSS } from "~/shared/design-system";
import interStyles from "~/shared/font-faces/inter.css";
import { SidebarLeft } from "./features/sidebar-left";
import { Inspector } from "./features/inspector";
@@ -108,7 +108,7 @@ const SidePanel = ({
);
};
-const Main = ({ children }: { children: Array<JSX.Element> }) => (
+const Main = ({ children }: { children: JSX.Element | Array<JSX.Element> }) => (
<Flex
as="main"
direction="column"
@@ -130,27 +130,48 @@ const ChromeWrapper = ({ children, isPreviewMode }: ChromeWrapperProps) => {
const gridLayout = isPreviewMode
? {
gridTemplateColumns: "auto 1fr",
- gridTemplateRows: "auto 1fr",
+ gridTemplateRows: "auto 1fr auto",
gridTemplateAreas: `
"header header"
"sidebar main"
+ "footer footer"
`,
}
: {
gridTemplateColumns: "auto 1fr 240px",
- gridTemplateRows: "auto 1fr",
+ gridTemplateRows: "auto 1fr auto",
gridTemplateAreas: `
"header header header"
"sidebar main inspector"
+ "footer footer footer"
`,
};
return (
<Grid
+ // className={darkTheme}
css={{
height: "100vh",
overflow: "hidden",
display: "grid",
...gridLayout,
+ "--outline": "$colors$slate6",
+ "&.dark-theme": {
+ "--outline": "rgba(255, 255, 255, 8%)",
+ },
+ "&.dark-theme header": {
+ boxShadow: "inset 0 -1px 0 0 var(--outline)",
+ },
+ "&.dark-theme footer": {
+ boxShadow: "inset 0 1px 0 0 var(--outline)",
+ },
+ "& aside": {
+ "&:first-of-type": {
+ boxShadow: "inset -1px 0 0 0 var(--outline)",
+ },
+ "&:last-of-type": {
+ boxShadow: "inset 1px 0 0 0 var(--outline)",
+ },
+ },
}}
>
{children}
@@ -188,9 +209,6 @@ export const Designer = ({ config, project }: DesignerProps) => {
return (
<DndProvider backend={HTML5Backend}>
<ChromeWrapper isPreviewMode={isPreviewMode}>
- <SidePanel gridArea="sidebar" isPreviewMode={isPreviewMode}>
- <SidebarLeft onDragChange={setIsDragging} publish={publish} />
- </SidePanel>
<Topbar
css={{ gridArea: "header" }}
config={config}
@@ -210,8 +228,10 @@ export const Designer = ({ config, project }: DesignerProps) => {
}}
/>
</Workspace>
- <Breadcrumbs publish={publish} />
</Main>
+ <SidePanel gridArea="sidebar" isPreviewMode={isPreviewMode}>
+ <SidebarLeft onDragChange={setIsDragging} publish={publish} />
+ </SidePanel>
<SidePanel
gridArea="inspector"
isPreviewMode={isPreviewMode}
@@ -219,6 +239,9 @@ export const Designer = ({ config, project }: DesignerProps) => {
>
{isDragging ? <TreePrevew /> : <Inspector publish={publish} />}
</SidePanel>
+ <Box css={{ gridArea: "footer" }}>
+ <Breadcrumbs publish={publish} />
+ </Box>
</ChromeWrapper>
</DndProvider>
);
diff --git a/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx b/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx
index de2f2251ba..f879b4d675 100644
--- a/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx
+++ b/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx
@@ -1,5 +1,5 @@
import { ChevronRightIcon } from "~/shared/icons";
-import { Button, Flex, Text } from "~/shared/design-system";
+import { Button, Flex, Text, darkTheme } from "~/shared/design-system";
import { useSelectedInstancePath } from "../../shared/instance/use-selected-instance-path";
import { type Publish, type Instance } from "@webstudio-is/sdk";
import { useSelectedInstanceData } from "~/designer/shared/nano-states";
@@ -11,20 +11,27 @@ type BreadcrumbProps = {
const Breadcrumb = ({ component, onClick }: BreadcrumbProps) => {
return (
- <Flex align="center">
- <Button ghost css={{ color: "$loContrast", px: 0 }} onClick={onClick}>
+ <Flex
+ align="center"
+ css={{
+ "& button": {
+ color: "$hiContrast",
+ px: "0",
+ },
+ "& path": {
+ fill: "$hiContrast",
+ },
+ }}
+ >
+ <Button ghost onClick={onClick}>
{component}
- </Button>{" "}
+ </Button>
<ChevronRightIcon />
</Flex>
);
};
-const EmptyState = () => (
- <Text variant="loContrast" size="1">
- No instance selected
- </Text>
-);
+const EmptyState = () => <Text size="1">No instance selected</Text>;
type BreadcrumbsProps = {
publish: Publish;
@@ -36,9 +43,14 @@ export const Breadcrumbs = ({ publish }: BreadcrumbsProps) => {
);
return (
<Flex
+ className={darkTheme}
as="footer"
align="center"
- css={{ height: "$5", background: "$hiContrast", padding: "$1" }}
+ css={{
+ height: "$5",
+ background: "$loContrast",
+ padding: "$2",
+ }}
>
{selectedInstancePath.length === 0 ? (
<EmptyState />
diff --git a/apps/designer/app/designer/features/inspector/inspector.tsx b/apps/designer/app/designer/features/inspector/inspector.tsx
index 4d374c8ecb..22cd7185b1 100644
--- a/apps/designer/app/designer/features/inspector/inspector.tsx
+++ b/apps/designer/app/designer/features/inspector/inspector.tsx
@@ -1,5 +1,6 @@
import type { Publish } from "@webstudio-is/sdk";
import {
+ Text,
Tabs,
TabsList,
TabsTrigger,
@@ -29,6 +30,7 @@ export const Inspector = ({ publish }: InspectorProps) => {
if (selectedInstanceData === undefined) {
return (
<Box css={{ p: "$2" }}>
+ {/* @todo: use this space for something more usefull: a-la figma's no instance selected sate */}
<Card css={{ p: "$3", mt: "$3" }}>
<Paragraph>Select an instance on the canvas</Paragraph>
</Card>
@@ -37,13 +39,17 @@ export const Inspector = ({ publish }: InspectorProps) => {
}
return (
- <Tabs defaultValue="style" css={{ width: "100%", gap: "$2" }}>
+ <Tabs defaultValue="style" css={{ width: "100%" }}>
<TabsList>
<TabsTrigger value="style">
- <BrushIcon />
+ <Text>Style</Text>
</TabsTrigger>
+ {/* @note: events would be part of props */}
<TabsTrigger value="props">
- <GearIcon />
+ <Text>Props</Text>
+ </TabsTrigger>
+ <TabsTrigger value="inspect">
+ <Text>Inspect</Text>
</TabsTrigger>
</TabsList>
<TabsContent value="style" css={contentStyle}>
diff --git a/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx b/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx
index 0102081d5d..c838d65590 100644
--- a/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx
@@ -17,7 +17,8 @@ const sidebarTabsContentStyle = {
width: 250,
height: "100%",
bc: "$loContrast",
- outline: "1px solid $slate6",
+ // @todo: focus state should be same as hover/active state
+ outline: "none",
};
const none = { TabContent: () => null };
diff --git a/apps/designer/app/designer/features/style-panel/search.tsx b/apps/designer/app/designer/features/style-panel/search.tsx
index f9670ed9b9..4853772cef 100644
--- a/apps/designer/app/designer/features/style-panel/search.tsx
+++ b/apps/designer/app/designer/features/style-panel/search.tsx
@@ -44,7 +44,15 @@ export const Search = ({ onSearch }: SearchProps) => {
>
<TextField
value={search}
- css={{ paddingRight: "$5" }}
+ css={{
+ padding: "$2 $2",
+ boxShadow: "0 0 0 1px $colors$slate7",
+ bc: "$colors$slate3",
+ "&:focus": {
+ bc: "$colors$slate1",
+ boxShadow: "0 0 0 2px $colors$blue10",
+ },
+ }}
placeholder="Search property or value"
onChange={(event) => {
const { value } = event.target;
@@ -56,6 +64,10 @@ export const Search = ({ onSearch }: SearchProps) => {
type="reset"
aria-label="Reset search"
className={resetStyle()}
+ css={{
+ transform: "scale(.75)",
+ "&:disabled path": { fill: "none" },
+ }}
>
<Cross1Icon />
</IconButton>
diff --git a/apps/designer/app/designer/features/style-panel/settings.tsx b/apps/designer/app/designer/features/style-panel/settings.tsx
index fbe29866b2..b8e79436c3 100644
--- a/apps/designer/app/designer/features/style-panel/settings.tsx
+++ b/apps/designer/app/designer/features/style-panel/settings.tsx
@@ -160,5 +160,5 @@ export const VisualSettings = ({
</CollapsibleSection>
);
}
- return <Box css={{ overflow: "auto" }}>{all}</Box>;
+ return <>{all}</>;
};
diff --git a/apps/designer/app/designer/features/style-panel/style-panel.tsx b/apps/designer/app/designer/features/style-panel/style-panel.tsx
index 8cccc80c43..6f2b97550a 100644
--- a/apps/designer/app/designer/features/style-panel/style-panel.tsx
+++ b/apps/designer/app/designer/features/style-panel/style-panel.tsx
@@ -55,19 +55,21 @@ export const StylePanel = ({
return (
<>
- <Box css={{ p: "$2" }}>
+ {/* <Box css={{ py: "$3", px: "$3" }}>
<ComponentInfo selectedInstanceData={selectedInstanceData} />
+ </Box> */}
+ <Box css={{ overflow: "auto" }}>
+ <Box css={{ py: "$3", px: "$3" }}>
+ <Search onSearch={setSearch} />
+ </Box>
+ <VisualSettings
+ search={search}
+ selectedInstanceData={selectedInstanceData}
+ currentStyle={currentStyle}
+ inheritedStyle={inheritedStyle}
+ setProperty={setProperty}
+ />
</Box>
- <Box css={{ p: "$2" }}>
- <Search onSearch={setSearch} />
- </Box>
- <VisualSettings
- search={search}
- selectedInstanceData={selectedInstanceData}
- currentStyle={currentStyle}
- inheritedStyle={inheritedStyle}
- setProperty={setProperty}
- />
</>
);
};
diff --git a/apps/designer/app/designer/features/topbar/menu/menu.tsx b/apps/designer/app/designer/features/topbar/menu/menu.tsx
index 2c5b030ece..2211c40951 100644
--- a/apps/designer/app/designer/features/topbar/menu/menu.tsx
+++ b/apps/designer/app/designer/features/topbar/menu/menu.tsx
@@ -9,6 +9,8 @@ import {
DropdownMenuSeparator,
IconButton,
Text,
+ Box,
+ type CSS,
} from "~/shared/design-system";
import { HamburgerMenuIcon } from "~/shared/icons";
import type { Config } from "~/config";
@@ -34,9 +36,10 @@ const textCss = {
type MenuProps = {
config: Config;
publish: Publish;
+ css?: CSS;
};
-export const Menu = ({ config, publish }: MenuProps) => {
+export const Menu = ({ config, publish, css }: MenuProps) => {
const navigate = useNavigate();
const [, setIsShareOpen] = useIsShareDialogOpen();
const [, setIsPublishOpen] = useIsPublishDialogOpen();
@@ -44,9 +47,22 @@ export const Menu = ({ config, publish }: MenuProps) => {
return (
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <IconButton aria-label="Menu Button">
- <HamburgerMenuIcon />
- </IconButton>
+ <Box
+ css={{
+ width: "$sizes$7",
+ height: "100%",
+ borderRadius: "0",
+ outline: "none",
+ "& > button": {
+ width: "inherit",
+ height: "inherit",
+ },
+ }}
+ >
+ <IconButton aria-label="Menu Button">
+ <HamburgerMenuIcon />
+ </IconButton>
+ </Box>
</DropdownMenuTrigger>
<DropdownMenuContent>
<DropdownMenuItem
diff --git a/apps/designer/app/designer/features/topbar/sync-status.tsx b/apps/designer/app/designer/features/topbar/sync-status.tsx
index 37f231cdcf..121d01ce4c 100644
--- a/apps/designer/app/designer/features/topbar/sync-status.tsx
+++ b/apps/designer/app/designer/features/topbar/sync-status.tsx
@@ -30,11 +30,12 @@ export const SyncStatus = () => {
align="center"
justify="center"
css={{
- mx: "$1",
- width: iconSize,
- height: iconSize,
- backgroundColor: "$green9",
- borderRadius: "100%",
+ "& > svg": {
+ width: iconSize,
+ height: iconSize,
+ background: "$green9",
+ borderRadius: "$radii$round",
+ },
}}
>
<AccessibleIcon label={`Sync status: ${status}`}>
diff --git a/apps/designer/app/designer/features/topbar/topbar.tsx b/apps/designer/app/designer/features/topbar/topbar.tsx
index 24c13813fd..4bddac48ad 100644
--- a/apps/designer/app/designer/features/topbar/topbar.tsx
+++ b/apps/designer/app/designer/features/topbar/topbar.tsx
@@ -1,5 +1,5 @@
import type { Project, Publish } from "@webstudio-is/sdk";
-import { Flex, type CSS } from "~/shared/design-system";
+import { darkTheme, Flex, type CSS } from "~/shared/design-system";
import type { Config } from "~/config";
import { PreviewButton } from "./preview";
import { ShareButton } from "./share";
@@ -18,19 +18,37 @@ type TopbarProps = {
export const Topbar = ({ config, css, project, publish }: TopbarProps) => {
return (
<Flex
+ className={darkTheme}
as="header"
align="center"
justify="between"
css={{
- p: "$1",
bc: "$loContrast",
- borderBottom: "1px solid $slate8",
+ height: "$sizes$7",
+ "& :focus": {
+ boxShadow: "none",
+ },
+ "& > *": {
+ height: "100%",
+ },
+ "& button": {
+ borderRadius: "0",
+ },
...css,
}}
>
<Menu config={config} publish={publish} />
<Breakpoints publish={publish} />
- <Flex gap="1" align="center">
+ <Flex
+ align="center"
+ css={{
+ "& > *": {
+ height: "inherit",
+ width: "auto",
+ padding: "0 $2",
+ },
+ }}
+ >
<SyncStatus />
<PreviewButton publish={publish} />
<ShareButton path={config.previewPath} project={project} />
diff --git a/apps/designer/app/designer/features/workspace/workspace.tsx b/apps/designer/app/designer/features/workspace/workspace.tsx
index fdfa7f3663..5193e1ebe9 100644
--- a/apps/designer/app/designer/features/workspace/workspace.tsx
+++ b/apps/designer/app/designer/features/workspace/workspace.tsx
@@ -5,8 +5,9 @@ import { type Publish } from "@webstudio-is/sdk";
const workspaceStyle = {
flexGrow: 1,
- background: "$gray8",
- overflow: "auto",
+ background: "$gray3",
+ // scroll behaviour should be derived from the iframe
+ overflow: "hidden",
scrollbarGutter: "stable",
};
diff --git a/apps/designer/app/designer/shared/inspector/collapsible-section.tsx b/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
index dcbd788838..6804de9bd7 100644
--- a/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
+++ b/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
@@ -1,6 +1,11 @@
import { createValueContainer, useValue } from "react-nano-state";
-import { Flex, Text, Collapsible } from "~/shared/design-system";
-import { TriangleRightIcon, TriangleDownIcon } from "~/shared/icons";
+import { Box, Flex, Text, Collapsible } from "~/shared/design-system";
+import {
+ TriangleRightIcon,
+ TriangleDownIcon,
+ PlusIcon,
+ MinusIcon,
+} from "~/shared/icons";
type CollapsibleSectionProps = {
label: string;
@@ -36,34 +41,46 @@ export const CollapsibleSection = ({
const isOpenFinal = isOpen === undefined ? isOpenByUser : isOpen;
return (
<Collapsible.Root open={isOpenFinal} onOpenChange={setIsOpenByUser}>
- <Collapsible.Trigger asChild>
- <Flex
- align="center"
- gap="1"
- justify="between"
- css={{
- py: "$3",
- px: "$1",
- color: "$hiContrast",
- cursor: "default",
- }}
- >
- {isOpenFinal ? <TriangleDownIcon /> : <TriangleRightIcon />}
- <Text size="3" css={{ flexGrow: 1 }}>
- {label}
- </Text>
- {rightSlot}
- </Flex>
- </Collapsible.Trigger>
- <Collapsible.Content asChild>
- <Flex
- gap="3"
- direction="column"
- css={{ p: "$2", borderBottom: "1px solid $slate6" }}
- >
- {children}
- </Flex>
- </Collapsible.Content>
+ <Box
+ css={{
+ boxShadow: "0px 1px 0 $colors$slate6",
+ }}
+ >
+ <Collapsible.Trigger asChild>
+ <Flex
+ align="center"
+ gap="1"
+ justify="between"
+ css={{
+ py: "$3",
+ px: "$3",
+ color: "$hiContrast",
+ cursor: "default",
+ }}
+ >
+ <Text size="1" css={{ fontWeight: "500", flexGrow: 1 }}>
+ {label}
+ </Text>
+ {/* @todo: props panel shows double plus icon when rightSlot is set */}
+ {isOpenFinal ? <MinusIcon /> : <PlusIcon />}
+ {rightSlot}
+ </Flex>
+ </Collapsible.Trigger>
+ <Collapsible.Content asChild>
+ <Flex
+ gap="3"
+ direction="column"
+ css={{
+ p: "$3",
+ "&:empty": {
+ display: "none",
+ },
+ }}
+ >
+ {children}
+ </Flex>
+ </Collapsible.Content>
+ </Box>
</Collapsible.Root>
);
};
diff --git a/apps/designer/app/designer/shared/inspector/component-info.tsx b/apps/designer/app/designer/shared/inspector/component-info.tsx
index 72b2c9af15..2bad1ae179 100644
--- a/apps/designer/app/designer/shared/inspector/component-info.tsx
+++ b/apps/designer/app/designer/shared/inspector/component-info.tsx
@@ -9,9 +9,13 @@ export const ComponentInfo = ({
}) => {
return (
<Flex justify="between" align="center">
- <Text>{`Selected: ${
- primitives[selectedInstanceData.component].label
- }`}</Text>
+ <Text
+ css={{
+ fontSize: "$2",
+ color: "$colors$slate11",
+ fontWeight: "500",
+ }}
+ >{`Selected: ${primitives[selectedInstanceData.component].label}`}</Text>
</Flex>
);
};
diff --git a/apps/designer/app/shared/design-system/components/button.tsx b/apps/designer/app/shared/design-system/components/button.tsx
index e07009106c..fd384bbd87 100644
--- a/apps/designer/app/shared/design-system/components/button.tsx
+++ b/apps/designer/app/shared/design-system/components/button.tsx
@@ -40,7 +40,7 @@ export const Button = styled("button", {
"1": {
borderRadius: "$1",
height: "$5",
- px: "$2",
+ px: "$3",
fontSize: "$1",
lineHeight: "$sizes$5",
},
diff --git a/apps/designer/app/shared/design-system/components/sidebar-tabs.tsx b/apps/designer/app/shared/design-system/components/sidebar-tabs.tsx
index 66bfa3e450..20a1d34c78 100644
--- a/apps/designer/app/shared/design-system/components/sidebar-tabs.tsx
+++ b/apps/designer/app/shared/design-system/components/sidebar-tabs.tsx
@@ -12,7 +12,7 @@ export const SidebarTabs = styled(TabsPrimitive.Root, {
export const SidebarTabsTrigger = styled(TabsPrimitive.Trigger, {
flexShrink: 0,
display: "flex",
- size: "$6",
+ size: "$7",
m: 0,
userSelect: "none",
outline: "none",
diff --git a/apps/designer/app/shared/design-system/components/tabs.tsx b/apps/designer/app/shared/design-system/components/tabs.tsx
index ebc47f62b7..2dbb6d7b1a 100644
--- a/apps/designer/app/shared/design-system/components/tabs.tsx
+++ b/apps/designer/app/shared/design-system/components/tabs.tsx
@@ -1,6 +1,7 @@
import React from "react";
import { styled, CSS } from "../stitches.config";
import * as TabsPrimitive from "@radix-ui/react-tabs";
+import { Text } from "./text";
export const Tabs = styled(TabsPrimitive.Root, {
display: "flex",
@@ -11,7 +12,7 @@ export const Tabs = styled(TabsPrimitive.Root, {
export const TabsTrigger = styled(TabsPrimitive.Trigger, {
flexShrink: 0,
- size: "$6",
+ height: "$7",
display: "inline-flex",
lineHeight: 1,
fontFamily: "inherit",
@@ -21,14 +22,17 @@ export const TabsTrigger = styled(TabsPrimitive.Trigger, {
outline: "none",
alignItems: "center",
justifyContent: "center",
- color: "$slate11",
border: "none",
- borderBottom: "1px solid transparent",
- borderTopLeftRadius: "$2",
- borderTopRightRadius: "$2",
zIndex: "10",
backgroundColor: "transparent",
-
+ ["&:first-child"]: {
+ paddingLeft: "$3",
+ },
+ [`& > ${Text}`]: {
+ color: "$slate9",
+ fontSize: "$1",
+ fontWeight: "600",
+ },
"@hover": {
"&:hover": {
color: "$hiContrast",
@@ -36,26 +40,20 @@ export const TabsTrigger = styled(TabsPrimitive.Trigger, {
},
'&[data-state="active"]': {
- color: "$hiContrast",
- borderColor: "$slate6",
+ [`& > ${Text}`]: {
+ color: "$hiContrast",
+ },
},
'&[data-orientation="vertical"]': {
justifyContent: "flex-start",
- borderTopRightRadius: 0,
- borderBottomLeftRadius: "$2",
- borderBottomColor: "transparent",
-
- '&[data-state="active"]': {
- borderBottomColor: "$slate6",
- borderRightColor: "transparent",
- },
},
});
const StyledTabsList = styled(TabsPrimitive.List, {
flexShrink: 0,
display: "flex",
+ borderBottom: "1px solid $colors$slate6",
"&:focus": {
outline: "none",
boxShadow: "inset 0 0 0 1px $slate8, 0 0 0 1px $slate8",
diff --git a/apps/designer/app/shared/design-system/components/text.tsx b/apps/designer/app/shared/design-system/components/text.tsx
index 73fb4ea864..3663a0355d 100644
--- a/apps/designer/app/shared/design-system/components/text.tsx
+++ b/apps/designer/app/shared/design-system/components/text.tsx
@@ -7,6 +7,7 @@ export const Text = styled("div", {
fontWeight: 400,
fontVariantNumeric: "tabular-nums",
display: "block",
+ userSelect: "none",
variants: {
size: {
diff --git a/apps/designer/app/shared/design-system/stitches.config.ts b/apps/designer/app/shared/design-system/stitches.config.ts
index 9b9daafa4d..c783e8f5a9 100644
--- a/apps/designer/app/shared/design-system/stitches.config.ts
+++ b/apps/designer/app/shared/design-system/stitches.config.ts
@@ -497,7 +497,7 @@ export const darkTheme = createTheme("dark-theme", {
muted: "$slate8",
primary: "$blue9",
hiContrast: "$slate12",
- loContrast: "$slate1",
+ loContrast: "hsl(0 0% 17%)",
canvas: "hsl(0 0% 15%)",
panel: "$slate3",
transparentPanel: "hsl(0 100% 100% / 97%)",
diff --git a/apps/designer/app/shared/documents/designer.tsx b/apps/designer/app/shared/documents/designer.tsx
index 46ba3018f1..23dafb5f29 100644
--- a/apps/designer/app/shared/documents/designer.tsx
+++ b/apps/designer/app/shared/documents/designer.tsx
@@ -13,7 +13,7 @@ export const Designer = () => {
<Links />
<CriticalCss />
</head>
- <body className={darkTheme}>
+ <body>
<Outlet />
<Env />
<Scripts />