From 0c110db63e933f2f9ab5a3794404fd94e7dd9ac3 Mon Sep 17 00:00:00 2001 From: Maggie Date: Fri, 25 Mar 2022 11:43:01 +0100 Subject: [PATCH 1/7] layout for index template --- pendant/templates/index.html | 56 +++++++++++++++++++----------------- pendant/theme.json | 2 +- 2 files changed, 31 insertions(+), 27 deletions(-) diff --git a/pendant/templates/index.html b/pendant/templates/index.html index 82523e613d..3209423793 100644 --- a/pendant/templates/index.html +++ b/pendant/templates/index.html @@ -1,33 +1,37 @@ - -
- - -
- - - - - - - -
+ +
+

Articles

+
+ + + +
+
+ +
+ + + + + +
- -
- - - + +
+ - - -
- -
- + + + + - - \ No newline at end of file + + +
+ + + diff --git a/pendant/theme.json b/pendant/theme.json index 2a1a348ceb..982dd57be9 100644 --- a/pendant/theme.json +++ b/pendant/theme.json @@ -182,7 +182,7 @@ }, "layout": { "contentSize": "820px", - "wideSize": "1000px" + "wideSize": "1240px" }, "border": { "color": true, From c8b4d2d5df956fafd0b21b50276099b92e0e778d Mon Sep 17 00:00:00 2001 From: Maggie Date: Mon, 28 Mar 2022 14:01:35 +0200 Subject: [PATCH 2/7] theme.json settings and adjustments --- pendant/templates/index.html | 24 ++++++++++++------------ pendant/theme.json | 17 +++++++++++++++++ 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/pendant/templates/index.html b/pendant/templates/index.html index 3209423793..8d68e2616e 100644 --- a/pendant/templates/index.html +++ b/pendant/templates/index.html @@ -9,27 +9,27 @@

Articles

- -
+ +
- -
+ +
- -
+ +
- - - - + + + + - - + +
diff --git a/pendant/theme.json b/pendant/theme.json index 982dd57be9..d699be19c4 100644 --- a/pendant/theme.json +++ b/pendant/theme.json @@ -218,6 +218,23 @@ "fontSize": "var(--wp--preset--font-size--medium)" } }, + "core/post-title": { + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--foreground)" + }, + "typography": { + "textDecoration": "none" + } + } + } + }, + "core/read-more": { + "color": { + "text": "var(--wp--preset--color--foreground)" + } + }, "core/site-title": { "typography": { "fontSize": "var(--wp--preset--font-size--medium)", From 4e0d33d3111711c76a066bb74530fac1c1758e70 Mon Sep 17 00:00:00 2001 From: Maggie Date: Tue, 29 Mar 2022 10:30:42 +0200 Subject: [PATCH 3/7] make pagination styles theme wide --- pendant/templates/index.html | 4 ++-- pendant/theme.json | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/pendant/templates/index.html b/pendant/templates/index.html index 8d68e2616e..97fbf872ba 100644 --- a/pendant/templates/index.html +++ b/pendant/templates/index.html @@ -25,11 +25,11 @@

Articles

- + - + diff --git a/pendant/theme.json b/pendant/theme.json index d699be19c4..773a02bfad 100644 --- a/pendant/theme.json +++ b/pendant/theme.json @@ -230,6 +230,27 @@ } } }, + "core/query-pagination-next":{ + "typography": { + "fontWeight": "500", + "textTransform": "uppercase", + "fontSize": "var(--wp--preset--font-size--small)" + + } + }, + "core/query-pagination-numbers":{ + "typography": { + "fontWeight": "500", + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/query-pagination-previous":{ + "typography": { + "fontWeight": "500", + "textTransform": "uppercase", + "fontSize": "var(--wp--preset--font-size--small)" + } + }, "core/read-more": { "color": { "text": "var(--wp--preset--color--foreground)" From 18cf92d92a52b7ea24ee035fb90964d5e941b56f Mon Sep 17 00:00:00 2001 From: Maggie Date: Tue, 29 Mar 2022 11:52:31 +0200 Subject: [PATCH 4/7] pagination tweaks --- pendant/templates/index.html | 24 +++++++++++++++--------- pendant/theme.json | 12 ++++++++++++ 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/pendant/templates/index.html b/pendant/templates/index.html index 97fbf872ba..e223d090a2 100644 --- a/pendant/templates/index.html +++ b/pendant/templates/index.html @@ -7,8 +7,8 @@

Articles

-
-
+
+
@@ -19,19 +19,25 @@

Articles

+ +
+ - -
+ +
- - - + +
+ + - +
-
+ + +
diff --git a/pendant/theme.json b/pendant/theme.json index 773a02bfad..cf9e930bd4 100644 --- a/pendant/theme.json +++ b/pendant/theme.json @@ -238,6 +238,18 @@ } }, + "core/query-pagination":{ + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--foreground)" + }, + "typography": { + "textDecoration": "none" + } + } + } + }, "core/query-pagination-numbers":{ "typography": { "fontWeight": "500", From 61245c29338896d1009e40a041ba1c90a9a520bc Mon Sep 17 00:00:00 2001 From: Maggie Date: Wed, 30 Mar 2022 11:00:30 +0200 Subject: [PATCH 5/7] added x-small font size --- pendant/theme.json | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pendant/theme.json b/pendant/theme.json index cf9e930bd4..f7ff42db34 100644 --- a/pendant/theme.json +++ b/pendant/theme.json @@ -157,6 +157,11 @@ } ], "fontSizes": [ + { + "name": "Extra Small", + "size": "15px", + "slug": "x-small" + }, { "name": "Small", "size": "16px", @@ -230,14 +235,6 @@ } } }, - "core/query-pagination-next":{ - "typography": { - "fontWeight": "500", - "textTransform": "uppercase", - "fontSize": "var(--wp--preset--font-size--small)" - - } - }, "core/query-pagination":{ "elements": { "link": { @@ -250,17 +247,24 @@ } } }, + "core/query-pagination-next":{ + "typography": { + "fontWeight": "500", + "textTransform": "uppercase", + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, "core/query-pagination-numbers":{ "typography": { "fontWeight": "500", - "fontSize": "var(--wp--preset--font-size--small)" + "fontSize": "var(--wp--preset--font-size--x-small)" } }, "core/query-pagination-previous":{ "typography": { "fontWeight": "500", "textTransform": "uppercase", - "fontSize": "var(--wp--preset--font-size--small)" + "fontSize": "var(--wp--preset--font-size--x-small)" } }, "core/read-more": { From c75c962f06deeb0d5a17bf5a0ec09463b61ccdf9 Mon Sep 17 00:00:00 2001 From: Jason Crist Date: Thu, 31 Mar 2022 11:53:41 -0400 Subject: [PATCH 6/7] removed post-title configuration tweaks and reduced to h3 to match design and new font size definitions --- pendant/templates/index.html | 3 +-- pendant/theme.json | 12 ------------ 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/pendant/templates/index.html b/pendant/templates/index.html index e223d090a2..f0bad0db37 100644 --- a/pendant/templates/index.html +++ b/pendant/templates/index.html @@ -12,8 +12,7 @@

Articles

- - +
diff --git a/pendant/theme.json b/pendant/theme.json index 709ffb503a..85de0c6dbd 100644 --- a/pendant/theme.json +++ b/pendant/theme.json @@ -225,18 +225,6 @@ "fontSize": "var(--wp--preset--font-size--medium)" } }, - "core/post-title": { - "elements": { - "link": { - "color": { - "text": "var(--wp--preset--color--foreground)" - }, - "typography": { - "textDecoration": "none" - } - } - } - }, "core/query-pagination":{ "elements": { "link": { From ed0400c8630cba107957967a86294a0c8aa88670 Mon Sep 17 00:00:00 2001 From: Jason Crist Date: Thu, 31 Mar 2022 11:59:32 -0400 Subject: [PATCH 7/7] formatted (re-exported) theme.json and removed unneeded settings --- pendant/theme.json | 66 ++++++++++++++++++++-------------------------- 1 file changed, 29 insertions(+), 37 deletions(-) diff --git a/pendant/theme.json b/pendant/theme.json index 85de0c6dbd..e7253b88b7 100644 --- a/pendant/theme.json +++ b/pendant/theme.json @@ -225,43 +225,35 @@ "fontSize": "var(--wp--preset--font-size--medium)" } }, - "core/query-pagination":{ - "elements": { - "link": { - "color": { - "text": "var(--wp--preset--color--foreground)" - }, - "typography": { - "textDecoration": "none" - } - } - } - }, - "core/query-pagination-next":{ - "typography": { - "fontWeight": "500", - "textTransform": "uppercase", - "fontSize": "var(--wp--preset--font-size--x-small)" - } - }, - "core/query-pagination-numbers":{ - "typography": { - "fontWeight": "500", - "fontSize": "var(--wp--preset--font-size--x-small)" - } - }, - "core/query-pagination-previous":{ - "typography": { - "fontWeight": "500", - "textTransform": "uppercase", - "fontSize": "var(--wp--preset--font-size--x-small)" - } - }, - "core/read-more": { - "color": { - "text": "var(--wp--preset--color--foreground)" - } - }, + "core/query-pagination": { + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--foreground)" + } + } + } + }, + "core/query-pagination-next": { + "typography": { + "fontWeight": "500", + "textTransform": "uppercase", + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, + "core/query-pagination-numbers": { + "typography": { + "fontWeight": "500", + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, + "core/query-pagination-previous": { + "typography": { + "fontWeight": "500", + "textTransform": "uppercase", + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, "core/site-title": { "typography": { "fontSize": "var(--wp--preset--font-size--medium)",