From 1fdbbd5dcd8e6a03ee54ff38726df9d7ce3a1888 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 8 May 2024 15:46:26 +0500 Subject: [PATCH] define default text and bg colors --- theme.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/theme.json b/theme.json index a836bec..44509b1 100644 --- a/theme.json +++ b/theme.json @@ -9,6 +9,8 @@ "wideSize": "1368" }, "color": { + "defaultPalette": false, + "defaultGradients": false, "palette": [ { "slug": "background", @@ -175,7 +177,8 @@ }, "styles": { "color": { - "background": "var(--wp--preset--color--background)" + "background": "var(--wp--preset--color--background)", + "text": "var(--wp--preset--color--contrast)", }, "typography": { "fontFamily": "Inter" @@ -203,16 +206,16 @@ }, "link": { "color": { - "text": "var(--wp--preset--color--text)" + "text": "var(--wp--preset--color--main-green)" }, ":visited": { "color": { - "text": "var(--wp--preset--color--text)" + "text": "var(--wp--preset--color--washed-green)" } }, ":hover": { "color": { - "text": "var(--wp--preset--color--secondary)" + "text": "var(--wp--preset--color--washed-green)" } } }