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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
Add TooltipProvider and fix fontFamily for the styleguide
Andrey Okonetchnikov6bd933025618
diff --git a/apps/designer/.storybook/preview.tsx b/apps/designer/.storybook/preview.tsxindex 72373c71d6..5bc24f57f5 100644--- a/apps/designer/.storybook/preview.tsx+++ b/apps/designer/.storybook/preview.tsx@@ -1,4 +1,5 @@-import React from "react";+import * as React from "react";+import { TooltipProvider } from "@radix-ui/react-tooltip";import { darkTheme, globalCss } from "@webstudio-is/design-system";export const parameters = {@@ -15,6 +16,7 @@ const globalStyles = globalCss({body: {backgroundColor: "$background",color: "$text",+ fontFamily: "$sans",},});@@ -22,6 +24,10 @@ export const decorators = [(StoryFn: any) => {document.body.classList.add(darkTheme);globalStyles();- return <StoryFn />;+ return (+ <TooltipProvider>+ <StoryFn />+ </TooltipProvider>+ );},];