From e5c230a1fa68e4ca9c6fa717bb15790870eefe7f Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 30 May 2024 13:45:59 +0500 Subject: [PATCH] define paragraph and heading styles --- theme.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/theme.json b/theme.json index 723448f..5c2f331 100644 --- a/theme.json +++ b/theme.json @@ -510,6 +510,38 @@ "useRootPaddingAwareAlignments": true }, "styles": { + "blocks": { + "core/heading": { + "color": { + "text": "var(--wp--preset--color--black)" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--black)" + } + } + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--instrument-sans-condensed)", + "fontSize": "var(--wp--preset--font-size--huge)", + "fontStyle": "normal", + "fontWeight": "700", + "letterSpacing": "-1.12px", + "lineHeight": "1.0" + } + }, + "core/paragraph": { + "color": { + "text": "var(--wp--preset--color--black)" + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--instrument-sans)", + "fontSize": "var(--wp--preset--font-size--medium)", + "lineHeight": "1.45" + } + } + }, "typography": { "fontFamily": "sans-serif" }