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.

Fix link color (#1767)

Ivan Starkov173cc7192802
diff --git a/packages/react-sdk/src/css/normalize.ts b/packages/react-sdk/src/css/normalize.ts
index 5e91dae0fe..bdaecb3b0e 100644
--- a/packages/react-sdk/src/css/normalize.ts
+++ b/packages/react-sdk/src/css/normalize.ts
@@ -63,7 +63,18 @@ export const i = baseStyle;
export const img = baseStyle;
-export const a = baseStyle;
+export const a = [
+ ...baseStyle,
+ {
+ property: "color",
+ value: { type: "rgb", r: 0, g: 0, b: 238, alpha: 1 },
+ },
+ {
+ state: ":visited",
+ property: "color",
+ value: { type: "rgb", r: 85, g: 26, b: 139, alpha: 1 },
+ },
+] satisfies Styles;
export const li = baseStyle;
export const ul = baseStyle;
export const ol = baseStyle;