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
Merge branch 'main' into 252-fonts-manager-and-fonts-selector
Oleg Isonen653499306014
diff --cc packages/react-sdk/src/stitches/stitches.tsindex 11d16995fa,0154bed1e3..e724c3db2e--- a/packages/react-sdk/src/stitches/stitches.ts+++ b/packages/react-sdk/src/stitches/stitches.ts@@@ -1,20 -1,14 +1,17 @@@- import {- type CSS,- createStitches,- globalCss as globalCssImport,- css as createCss,- } from "@stitches/core";+ import { createStitches, type CSS } from "@stitches/core";+import type { FontFace } from "@webstudio-is/fonts";import type { Breakpoint } from "../css";let media = {};- // @todo needs fixing- // eslint-disable-next-line @typescript-eslint/no-explicit-any- let stitches: any;+ const createStitchesInstance = () => createStitches({ media });++ type StitchesInstance = ReturnType<typeof createStitchesInstance>;++ let stitches: StitchesInstance | undefined;+let fontsCss = "";+export { type CSS };const getCachedConfig = () => {