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.

Add semantic colors to the theme

Andrey Okonetchnikov756246454d86
diff --git a/app/shared/design-system/stitches.config.ts b/app/shared/design-system/stitches.config.ts
index 1a934774e4..1e8019eb13 100644
--- a/app/shared/design-system/stitches.config.ts
+++ b/app/shared/design-system/stitches.config.ts
@@ -201,6 +201,8 @@ export const {
transparentPanel: "hsl(0 0% 0% / 97%)",
shadowLight: "hsl(206 22% 7% / 35%)",
shadowDark: "hsl(206 22% 7% / 20%)",
+ background: "$slate1",
+ text: "$slate12",
},
fonts: {
sans: "Inter, -apple-system, system-ui, sans-serif",
@@ -498,5 +500,8 @@ export const darkTheme = createTheme("dark-theme", {
transparentPanel: "hsl(0 100% 100% / 97%)",
shadowLight: "hsl(206 22% 7% / 35%)",
shadowDark: "hsl(206 22% 7% / 20%)",
+
+ background: "$slate12",
+ text: "$slate1",
},
});