From 52b5275d68b01b7991f1f39c028b27f7343354f1 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Tue, 28 Jun 2022 19:39:42 +0100 Subject: [PATCH 1/4] Add colors and text alignment to nav markup --- curator/parts/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curator/parts/header.html b/curator/parts/header.html index 07fbac5549..bed04b2db2 100644 --- a/curator/parts/header.html +++ b/curator/parts/header.html @@ -1,7 +1,7 @@
-
+ From 58a187b0cba1b3ca566d5247cc33e4d03501c325 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Tue, 28 Jun 2022 19:58:49 +0100 Subject: [PATCH 2/4] Add huge font size --- curator/theme.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/curator/theme.json b/curator/theme.json index 30dba8e7af..c85ff9cf5c 100644 --- a/curator/theme.json +++ b/curator/theme.json @@ -187,6 +187,11 @@ "name": "Extra Large", "size": "2rem", "slug": "x-large" + }, + { + "name": "Huge", + "size": "2.75rem", + "slug": "huge" } ], "lineHeight": true From 12774daaa551463985043c101f97d4ecfa787627 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Tue, 28 Jun 2022 19:59:10 +0100 Subject: [PATCH 3/4] Add mobile nav font size and weight CSS --- curator/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/curator/style.css b/curator/style.css index aad557793b..f9fa994fff 100644 --- a/curator/style.css +++ b/curator/style.css @@ -198,6 +198,14 @@ a:not( text-underline-offset: 0.25rem; } +/* + * Needed until https://github.com/WordPress/gutenberg/issues/39142 is fixed. + */ + .wp-block-navigation__responsive-container.is-menu-open ul { + font-size: var(--wp--preset--font-size--huge); + font-weight: 300; +} + /* * Hero post * The following style are required because variable fontSize doen't work in templates From 57ea09c7c97612857c530a63a0d5450e5bdeb938 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Wed, 29 Jun 2022 17:50:18 +0100 Subject: [PATCH 4/4] Remove huge font size; move nav font size to CSS --- curator/style.css | 2 +- curator/theme.json | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/curator/style.css b/curator/style.css index f9fa994fff..26b6220ebd 100644 --- a/curator/style.css +++ b/curator/style.css @@ -202,7 +202,7 @@ a:not( * Needed until https://github.com/WordPress/gutenberg/issues/39142 is fixed. */ .wp-block-navigation__responsive-container.is-menu-open ul { - font-size: var(--wp--preset--font-size--huge); + font-size: 2.75rem; font-weight: 300; } diff --git a/curator/theme.json b/curator/theme.json index c85ff9cf5c..30dba8e7af 100644 --- a/curator/theme.json +++ b/curator/theme.json @@ -187,11 +187,6 @@ "name": "Extra Large", "size": "2rem", "slug": "x-large" - }, - { - "name": "Huge", - "size": "2.75rem", - "slug": "huge" } ], "lineHeight": true