Browse Source

multiple themes: update font sizes from px to rem for better a11y (#5801)

Madhu Dollu 3 years ago
parent
commit
ead4fed58b

+ 6 - 6
archeo/theme.json

@@ -127,27 +127,27 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "16px",
+					"size": "1rem",
 					"slug": "small"
 				},
 				{
 					"name": "Normal",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "normal"
 				},
 				{
 					"name": "Medium",
-					"size": "clamp(24px, 5vw, 32px)",
+					"size": "clamp(1.5rem, 5vw, 2rem)",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "clamp(36px, 6vw, 48px)",
+					"size": "clamp(2.25rem, 6vw, 3rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Huge",
-					"size": "clamp(42px, 7vw, 64px)",
+					"size": "clamp(2.625rem, 7vw, 4rem)",
 					"slug": "huge"
 				}
 			]
@@ -249,7 +249,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "clamp(48px, 8vw, 72px)"
+					"fontSize": "clamp(3rem, 8vw, 4.5rem)"
 				}
 			},
 			"h2": {

+ 7 - 7
block-canvas/theme.json

@@ -106,22 +106,22 @@
             "fontSizes": [
                 {
                     "name": "Small",
-                    "size": "16px",
+                    "size": "1rem",
                     "slug": "small"
                 },
                 {
                     "name": "Medium",
-                    "size": "24px",
+                    "size": "1.5rem",
                     "slug": "medium"
                 },
                 {
                     "name": "Large",
-                    "size": "28px",
+                    "size": "1.75rem",
                     "slug": "large"
                 },
                 {
                     "name": "Extra Large",
-                    "size": "32px",
+                    "size": "2rem",
                     "slug": "x-large"
                 }
             ],
@@ -262,7 +262,7 @@
             },
             "core/site-tagline": {
                 "typography": {
-                    "fontSize": "14px"
+                    "fontSize": "0.825rem"
                 }
             },
             "core/site-title": {
@@ -280,7 +280,7 @@
         "elements": {
             "h1": {
                 "typography": {
-                    "fontSize": "48px"
+                    "fontSize": "3rem"
                 }
             },
             "h2": {
@@ -300,7 +300,7 @@
             },
             "h5": {
                 "typography": {
-                    "fontSize": "18px"
+                    "fontSize": "1.125rem"
                 }
             },
             "h6": {

+ 10 - 10
geologist-blue/theme.json

@@ -115,8 +115,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -191,22 +191,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -245,7 +245,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 64px)",
+					"fontSize": "min(max(3rem, 7vw), 4rem)",
 					"fontWeight": "normal",
 					"lineHeight": "1.2",
 					"fontStyle": "italic"
@@ -261,7 +261,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -315,7 +315,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2",
 					"fontStyle": "italic",
 					"fontWeight": "normal"
@@ -323,7 +323,7 @@
 			},
 			"h2": {
 				"typography": {
-					"fontSize": "min(max(36px, 6vw), 65px)",
+					"fontSize": "min(max(2.25rem, 6vw), 4.0625rem)",
 					"lineHeight": "1.2",
 					"fontStyle": "italic",
 					"fontWeight": "normal"

+ 10 - 10
geologist-cream/theme.json

@@ -115,8 +115,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -191,22 +191,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -245,7 +245,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 64px)",
+					"fontSize": "min(max(3rem, 7vw), 4rem)",
 					"fontWeight": "normal",
 					"lineHeight": "1.2",
 					"fontStyle": "italic"
@@ -261,7 +261,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -315,7 +315,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2",
 					"fontStyle": "italic",
 					"fontWeight": "normal"
@@ -323,7 +323,7 @@
 			},
 			"h2": {
 				"typography": {
-					"fontSize": "min(max(36px, 6vw), 65px)",
+					"fontSize": "min(max(2.25rem, 6vw), 4.0625rem)",
 					"lineHeight": "1.2",
 					"fontStyle": "italic",
 					"fontWeight": "normal"

+ 10 - 10
geologist-slate/theme.json

@@ -115,8 +115,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -191,22 +191,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -245,7 +245,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 64px)",
+					"fontSize": "min(max(3rem, 7vw), 4rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -260,7 +260,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -313,13 +313,13 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},
 			"h2": {
 				"typography": {
-					"fontSize": "min(max(36px, 6vw), 65px)",
+					"fontSize": "min(max(2.25rem, 6vw), 4.0625rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 10 - 10
geologist-yellow/theme.json

@@ -115,8 +115,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -189,22 +189,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -243,7 +243,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 64px)",
+					"fontSize": "min(max(3rem, 7vw), 4rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -258,7 +258,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -311,13 +311,13 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},
 			"h2": {
 				"typography": {
-					"fontSize": "min(max(36px, 6vw), 65px)",
+					"fontSize": "min(max(2.25rem, 6vw), 4.0625rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 10 - 10
geologist/theme.json

@@ -115,8 +115,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -191,22 +191,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -245,7 +245,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 64px)",
+					"fontSize": "min(max(3rem, 7vw), 4rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -260,7 +260,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -313,13 +313,13 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},
 			"h2": {
 				"typography": {
-					"fontSize": "min(max(36px, 6vw), 65px)",
+					"fontSize": "min(max(2.25rem, 6vw), 4.0625rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 6 - 6
mayland-blocks/theme.json

@@ -114,22 +114,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "16.6px",
+					"size": "1rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "20px",
+					"size": "1.25rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "28.8px",
+					"size": "1.75rem",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "34.56px",
+					"size": "2.125rem",
 					"slug": "x-large"
 				}
 			]
@@ -171,7 +171,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "41.47px"
+					"fontSize": "2.625rem"
 				}
 			},
 			"h2": {
@@ -186,7 +186,7 @@
 			},
 			"h4": {
 				"typography": {
-					"fontSize": "24px"
+					"fontSize": "1.5rem"
 				}
 			},
 			"h5": {

+ 10 - 10
quadrat-black/theme.json

@@ -181,8 +181,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -257,22 +257,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -316,7 +316,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -331,7 +331,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -357,7 +357,7 @@
 				"elements": {
 					"h2": {
 						"typography": {
-							"fontSize": "min(max(28px, 5vw), 38px)"
+							"fontSize": "min(max(1.75rem, 5vw), 2.375rem)"
 						}
 					}
 				}
@@ -382,7 +382,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 10 - 10
quadrat-green/theme.json

@@ -181,8 +181,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -257,22 +257,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -316,7 +316,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -331,7 +331,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -357,7 +357,7 @@
 				"elements": {
 					"h2": {
 						"typography": {
-							"fontSize": "min(max(28px, 5vw), 38px)"
+							"fontSize": "min(max(1.75rem, 5vw), 2.375rem)"
 						}
 					}
 				}
@@ -382,7 +382,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 10 - 10
quadrat-red/theme.json

@@ -181,8 +181,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -257,22 +257,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -316,7 +316,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -331,7 +331,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -357,7 +357,7 @@
 				"elements": {
 					"h2": {
 						"typography": {
-							"fontSize": "min(max(28px, 5vw), 38px)"
+							"fontSize": "min(max(1.75rem, 5vw), 2.375rem)"
 						}
 					}
 				}
@@ -382,7 +382,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 10 - 10
quadrat-white/theme.json

@@ -181,8 +181,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -257,22 +257,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -316,7 +316,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -331,7 +331,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -357,7 +357,7 @@
 				"elements": {
 					"h2": {
 						"typography": {
-							"fontSize": "min(max(28px, 5vw), 38px)"
+							"fontSize": "min(max(1.75rem, 5vw), 2.375rem)"
 						}
 					}
 				}
@@ -382,7 +382,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 10 - 10
quadrat-yellow/theme.json

@@ -181,8 +181,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -257,22 +257,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -316,7 +316,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -331,7 +331,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -357,7 +357,7 @@
 				"elements": {
 					"h2": {
 						"typography": {
-							"fontSize": "min(max(28px, 5vw), 38px)"
+							"fontSize": "min(max(1.75rem, 5vw), 2.375rem)"
 						}
 					}
 				}
@@ -382,7 +382,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 10 - 10
quadrat/theme.json

@@ -182,8 +182,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "20px"
+				"x-small": "1rem",
+				"normal": "1.25rem"
 			},
 			"body": {
 				"typography": {
@@ -258,22 +258,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -317,7 +317,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
 					"lineHeight": "1.2"
 				}
@@ -332,7 +332,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -358,7 +358,7 @@
 				"elements": {
 					"h2": {
 						"typography": {
-							"fontSize": "min(max(28px, 5vw), 38px)"
+							"fontSize": "min(max(1.75rem, 5vw), 2.375rem)"
 						}
 					}
 				}
@@ -383,7 +383,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": "1.2"
 				}
 			},

+ 6 - 6
remote/theme.json

@@ -94,27 +94,27 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "16px",
+					"size": "1rem",
 					"slug": "small"
 				},
 				{
 					"name": "Normal",
-					"size": "20px",
+					"size": "1.25rem",
 					"slug": "normal"
 				},
 				{
 					"name": "Medium",
-					"size": "min(max(32px, 5vw), 42px)",
+					"size": "min(max(2rem, 5vw), 2.625rem)",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(36px, 5vw), 54px)",
+					"size": "min(max(2.25rem, 5vw), 3.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Huge",
-					"size": "min(max(42px, 5vw), 72px)",
+					"size": "min(max(2.625rem, 5vw), 4.5rem)",
 					"slug": "huge"
 				}
 			]
@@ -171,7 +171,7 @@
 			},
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(72px, 5vw), 42px)"
+					"fontSize": "min(max(4.5rem, 5vw), 2.625rem)"
 				}
 			},
 			"link": {

+ 4 - 4
russell/theme.json

@@ -58,22 +58,22 @@
             "fontSizes": [
                 {
                     "name": "Small",
-                    "size": "16px",
+                    "size": "1rem",
                     "slug": "small"
                 },
                 {
                     "name": "Medium",
-                    "size": "24px",
+                    "size": "1.5rem",
                     "slug": "medium"
                 },
                 {
                     "name": "Large",
-                    "size": "28px",
+                    "size": "1.75rem",
                     "slug": "large"
                 },
                 {
                     "name": "Extra Large",
-                    "size": "32px",
+                    "size": "2rem",
                     "slug": "x-large"
                 }
             ]

+ 6 - 6
seedlet-blocks/theme.json

@@ -155,22 +155,22 @@
 				{
 					"name": "Small",
 					"slug": "small",
-					"size": "16px"
+					"size": "1rem"
 				},
 				{
 					"name": "Medium",
 					"slug": "medium",
-					"size": "18px"
+					"size": "1.125rem"
 				},
 				{
 					"name": "Large",
 					"slug": "large",
-					"size": "24px"
+					"size": "1.5rem"
 				},
 				{
 					"name": "Extra Large",
 					"slug": "x-large",
-					"size": "28px"
+					"size": "1.75rem"
 				}
 			],
 			"spacing": {
@@ -199,7 +199,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "32px",
+					"fontSize": "2rem",
 					"fontStyle": "italic",
 					"lineHeight": "1.3"
 				}
@@ -214,7 +214,7 @@
 					"link": "var(--wp--custom--color--primary)"
 				},
 				"typography": {
-					"fontSize": "55px"
+					"fontSize": "3.4375rem"
 				}
 			}
 		}

+ 11 - 11
skatepark/theme.json

@@ -107,7 +107,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "16px",
+					"fontSize": "1rem",
 					"fontWeight": "700",
 					"lineHeight": 1.2
 				}
@@ -175,8 +175,8 @@
 				}
 			},
 			"fontSizes": {
-				"x-small": "14px",
-				"normal": "20px"
+				"x-small": "0.875rem",
+				"normal": "1.25rem"
 			},
 			"gap": {
 				"baseline": "10px",
@@ -229,22 +229,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "16px",
+					"size": "1rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "24px",
+					"size": "1.5rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 36px)",
+					"size": "min(max(1.75rem, 5vw), 2.25rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -350,7 +350,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 72px)",
+					"fontSize": "min(max(3rem, 7vw), 4.5rem)",
 					"fontWeight": "700",
 					"lineHeight": "1.2"
 				},
@@ -437,7 +437,7 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 72px)",
+					"fontSize": "min(max(3rem, 7vw), 4.5rem)",
 					"fontWeight": "700",
 					"lineHeight": "1.2"
 				},
@@ -450,7 +450,7 @@
 			},
 			"h2": {
 				"typography": {
-					"fontSize": "min(max(36px, 5vw), 64px)",
+					"fontSize": "min(max(2.25rem, 5vw), 4rem)",
 					"fontWeight": "900",
 					"lineHeight": "1.2"
 				},
@@ -463,7 +463,7 @@
 			},
 			"h3": {
 				"typography": {
-					"fontSize": "min(max(30px, 5vw), 48px)",
+					"fontSize": "min(max(1.875rem, 5vw), 3rem)",
 					"fontWeight": "900",
 					"lineHeight": "1.3"
 				},

+ 7 - 7
stewart/theme.json

@@ -159,37 +159,37 @@
 			"fontSizes": [
 				{
 					"name": "Tiny",
-					"size": "16px",
+					"size": "1rem",
 					"slug": "tiny"
 				},
 				{
 					"name": "Small",
-					"size": "18px",
+					"size": "1.125rem",
 					"slug": "small"
 				},
 				{
 					"name": "Normal",
-					"size": "20px",
+					"size": "1.25rem",
 					"slug": "normal"
 				},
 				{
 					"name": "Large",
-					"size": "24px",
+					"size": "1.5rem",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "32px",
+					"size": "2rem",
 					"slug": "extra-large"
 				},
 				{
 					"name": "Huge",
-					"size": "38px",
+					"size": "2.375rem",
 					"slug": "huge"
 				},
 				{
 					"name": "Gigantic",
-					"size": "50px",
+					"size": "3.125rem",
 					"slug": "gigantic"
 				}
 			]

+ 6 - 6
videomaker-white/theme.json

@@ -100,8 +100,8 @@
 				}
 			],
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "18px"
+				"x-small": "1rem",
+				"normal": "1.125rem"
 			},
 			"gap": {
 				"baseline": "10px"
@@ -129,22 +129,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "16px",
+					"size": "1rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "25px",
+					"size": "1.5625rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "45px",
+					"size": "2.8125rem",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "60px",
+					"size": "3.75rem",
 					"slug": "x-large"
 				}
 			]

+ 6 - 6
videomaker/theme.json

@@ -100,8 +100,8 @@
 				}
 			],
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "18px"
+				"x-small": "1rem",
+				"normal": "1.125rem"
 			},
 			"gap": {
 				"baseline": "10px"
@@ -129,22 +129,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "16px",
+					"size": "1rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "25px",
+					"size": "1.5625rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "45px",
+					"size": "2.8125rem",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "60px",
+					"size": "3.75rem",
 					"slug": "x-large"
 				}
 			]

+ 10 - 10
zoologist/theme.json

@@ -115,8 +115,8 @@
 				"padding": "20px"
 			},
 			"fontSizes": {
-				"x-small": "16px",
-				"normal": "18px"
+				"x-small": "1rem",
+				"normal": "1.125rem"
 			},
 			"body": {
 				"typography": {
@@ -191,22 +191,22 @@
 			"fontSizes": [
 				{
 					"name": "Small",
-					"size": "16px",
+					"size": "1rem",
 					"slug": "small"
 				},
 				{
 					"name": "Medium",
-					"size": "22px",
+					"size": "1.375rem",
 					"slug": "medium"
 				},
 				{
 					"name": "Large",
-					"size": "min(max(28px, 5vw), 38px)",
+					"size": "min(max(1.75rem, 5vw), 2.375rem)",
 					"slug": "large"
 				},
 				{
 					"name": "Extra Large",
-					"size": "min(max(36px, 5vw), 48px)",
+					"size": "min(max(2.25rem, 5vw), 3rem)",
 					"slug": "x-large"
 				}
 			]
@@ -255,7 +255,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 64px)",
+					"fontSize": "min(max(3rem, 7vw), 4rem)",
 					"fontWeight": "700",
 					"lineHeight": 1.2
 				}
@@ -270,7 +270,7 @@
 					}
 				},
 				"typography": {
-					"fontSize": "25px",
+					"fontSize": "1.5625rem",
 					"fontWeight": "normal",
 					"lineHeight": "40px"
 				}
@@ -323,13 +323,13 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontSize": "min(max(48px, 7vw), 80px)",
+					"fontSize": "min(max(3rem, 7vw), 5rem)",
 					"lineHeight": 1.2
 				}
 			},
 			"h2": {
 				"typography": {
-					"fontSize": "min(max(36px, 6vw), 65px)",
+					"fontSize": "min(max(2.25rem, 6vw), 4.0625rem)",
 					"lineHeight": 1.2
 				}
 			},