Browse Source

century gothic

David Windham 5 months ago
parent
commit
af39d6b6a2

BIN
assets/fonts/Century-Gothic-Bold.woff2


BIN
assets/fonts/Century-Gothic.woff2


BIN
assets/fonts/MyriadPro-Bold.woff


BIN
assets/fonts/MyriadPro-Regular.woff


+ 1 - 1
functions.php

@@ -4,7 +4,7 @@
 ###################### Child Theme #########################
 ###################### Child Theme #########################
 ************************************************************/
 ************************************************************/
 
 
-add_action( 'wp_enqueue_scripts', 'twenty_five_enqueue_styles' );
+//add_action( 'wp_enqueue_scripts', 'twenty_five_enqueue_styles' );
 function twenty_five_enqueue_styles() {
 function twenty_five_enqueue_styles() {
 	wp_enqueue_style( 
 	wp_enqueue_style( 
 		'2025-style', 
 		'2025-style', 

+ 104 - 0
theme.json

@@ -80,6 +80,110 @@
 					"slug": "accent-6"
 					"slug": "accent-6"
 				}
 				}
 			]
 			]
+		},
+		"typography": {
+			"writingMode": true,
+			"defaultFontSizes": false,
+			"fluid": true,
+			"fontSizes": [
+				{
+					"fluid": false,
+					"name": "Small",
+					"size": "0.875rem",
+					"slug": "small"
+				},
+				{
+					"fluid": {
+						"max": "1.125rem",
+						"min": "1rem"
+					},
+					"name": "Medium",
+					"size": "1rem",
+					"slug": "medium"
+				},
+				{
+					"fluid": {
+						"max": "1.375rem",
+						"min": "1.125rem"
+					},
+					"name": "Large",
+					"size": "1.38rem",
+					"slug": "large"
+				},
+				{
+					"fluid": {
+						"max": "2rem",
+						"min": "1.75rem"
+					},
+					"name": "Extra Large",
+					"size": "1.75rem",
+					"slug": "x-large"
+				},
+				{
+					"fluid": {
+						"max": "3rem",
+						"min": "2.15rem"
+					},
+					"name": "Extra Extra Large",
+					"size": "2.15rem",
+					"slug": "xx-large"
+				}
+			],
+			"fontFamilies": [
+				{
+					"name": "Manrope",
+					"slug": "manrope",
+					"fontFamily": "Manrope, sans-serif",
+					"fontFace": [
+						{
+							"src": [
+								"file:./assets/fonts/manrope/Manrope-VariableFont_wght.woff2"
+							],
+							"fontWeight": "200 800",
+							"fontStyle": "normal",
+							"fontFamily": "Manrope"
+						}
+					]
+				},
+				{
+					"name": "Century Gothic",
+					"slug": "century-gothic",
+					"fontFamily": "Century Gothic, sans-serif",
+					"fontFace": [
+						{
+							"src": [
+								"file:./assets/fonts/Century-Gothic.woff2"
+							],
+							"fontWeight": "400",
+							"fontStyle": "normal",
+							"fontFamily": "Century Gothic"
+						},
+						{
+							"src": [
+								"file:./assets/fonts/Century-Gothic-Bold.woff2"
+							],
+							"fontWeight": "700",
+							"fontStyle": "bold",
+							"fontFamily": "Century Gothic"
+						}
+					]
+				},
+				{
+					"name": "Fira Code",
+					"slug": "fira-code",
+					"fontFamily": "\"Fira Code\", monospace",
+					"fontFace": [
+						{
+							"src": [
+								"file:./assets/fonts/fira-code/FiraCode-VariableFont_wght.woff2"
+							],
+							"fontWeight": "300 700",
+							"fontStyle": "normal",
+							"fontFamily": "\"Fira Code\""
+						}
+					]
+				}
+			]
 		}
 		}
   }
   }
 }
 }