diff --git a/tt1-blocks/assets/css/blocks.css b/tt1-blocks/assets/css/blocks.css index 7e20b55..5e656fc 100644 --- a/tt1-blocks/assets/css/blocks.css +++ b/tt1-blocks/assets/css/blocks.css @@ -231,10 +231,14 @@ hr.is-style-twentytwentyone-separator-thick, # Site Title --------------------------------------------------------------*/ -h1.wp-block-site-title { - font-weight: var(--wp--custom--font-weight-normal); -} - h1.wp-block-site-title a:not(:hover):not(:focus):not(:active) { text-decoration: none; } + +/*-------------------------------------------------------------- +# Single view Post Title +--------------------------------------------------------------*/ + +h1.wp-block-post-title { + font-weight: var(--wp--custom--font-weight--light); +} diff --git a/tt1-blocks/experimental-theme.json b/tt1-blocks/experimental-theme.json index 3364476..7b4d19e 100644 --- a/tt1-blocks/experimental-theme.json +++ b/tt1-blocks/experimental-theme.json @@ -188,6 +188,10 @@ "unit": "20px", "horizontal": "25px", "vertical": "30px" + }, + "font-weight":{ + "light": "300", + "normal": "normal" } } } @@ -207,19 +211,22 @@ "core/heading/h1": { "typography": { "fontSize": "var(--wp--preset--font-size--gigantic)", - "lineHeight": "var(--wp--custom--line-height--page-title)" + "lineHeight": "var(--wp--custom--line-height--page-title)", + "fontWeight": "var(--wp--custom--font-weight--normal)" } }, "core/heading/h2": { "typography": { "fontSize": "var(--wp--preset--font-size--extra-large)", - "lineHeight": "var(--wp--custom--line-height--heading)" + "lineHeight": "var(--wp--custom--line-height--heading)", + "fontWeight": "var(--wp--custom--font-weight--normal)" } }, "core/heading/h3": { "typography": { "fontSize": "calc(1.25 * var(--wp--preset--font-size--large))", - "lineHeight": "var(--wp--custom--line-height--heading)" + "lineHeight": "var(--wp--custom--line-height--heading)", + "fontWeight": "var(--wp--custom--font-weight--normal)" } }, "core/heading/h4": { @@ -273,6 +280,7 @@ "core/site-title": { "typography": { "fontSize": "var(--wp--preset--font-size--large)", + "fontWeight": "var(--wp--custom--font-weight--normal)", "textTransform": "uppercase" } }