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 compiled JS file

Andrey Okonetchnikov6264c0ebe8ae
diff --git a/apps/designer/.storybook/preview.js b/apps/designer/.storybook/preview.js
deleted file mode 100644
index c7593a925a..0000000000
--- a/apps/designer/.storybook/preview.js
+++ /dev/null
@@ -1,32 +0,0 @@
-import React from "react";
-import { globalCss, darkTheme } from "@webstudio-is/design-system";
-
-const globalStyles = globalCss({
- body: {
- margin: "0",
- background: darkTheme.colors.background.value,
- color: darkTheme.colors.text.value,
- fontFamily: "$sans",
- },
-});
-
-export const decorators = [
- (Story) => {
- globalStyles();
- return (
- <div className={darkTheme}>
- <Story />
- </div>
- );
- },
-];
-
-export const parameters = {
- actions: { argTypesRegex: "^on[A-Z].*" },
- controls: {
- matchers: {
- color: /(background|color)$/i,
- date: /Date$/,
- },
- },
-};