Parcourir la source

Style font sizes for site title and tagline

Jason Crist il y a 2 ans
Parent
commit
15d7b512f9
1 fichiers modifiés avec 12 ajouts et 2 suppressions
  1. 12 2
      decibel/theme.json

+ 12 - 2
decibel/theme.json

@@ -81,6 +81,15 @@
 				}
 			],
 			"fontSizes": [
+				{
+					"fluid": {
+						"min": "0.75rem",
+						"max": "1rem"
+					},
+					"name": "Tiny",
+					"size": "0.9rem",
+					"slug": "x-small"
+				},
 				{
 					"fluid": false,
 					"name": "Small",
@@ -134,7 +143,7 @@
 			},
 			"core/site-tagline": {
 				"typography": {
-					"fontSize": "var(--wp--preset--font-size--small)"
+					"fontSize": "var(--wp--preset--font-size--x-small)"
 				}
 			},
 			"core/site-title": {
@@ -142,7 +151,8 @@
 					"text": "var(--wp--preset--color--foreground)"
 				},
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--rubik)"
+					"fontFamily": "var(--wp--preset--font-family--rubik)",
+					"fontSize": "var(--wp--preset--font-size--x-large)"
 				}
 			}
 		},