Browse Source

backatitšŸ”„

windhamdavid 2 weeks ago
parent
commit
6c57d8e08a
4 changed files with 117 additions and 23 deletions
  1. 2 1
      .gitignore
  2. 5 4
      functions.php
  3. 6 0
      style.css
  4. 104 18
      theme.json

+ 2 - 1
.gitignore

@@ -1 +1,2 @@
-.DS_Store
+.DS_Store
+assets/*

+ 5 - 4
functions.php

@@ -6,12 +6,13 @@
 
 
 //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( 
-		'2025-style', 
-		get_parent_theme_file_uri( 'style.css' )
-	);
+	wp_enqueue_style( '2025-style', get_parent_theme_file_uri( 'style.css' ));
 }
 }
 
 
+add_action( 'wp_enqueue_scripts', 'srh25_enqueue_styles' );
+function srh25_enqueue_styles() {
+	wp_enqueue_style( 'srh-style', get_stylesheet_uri() );
+}
 
 
 /***********************************************************
 /***********************************************************
 ###################### Admin Clean #########################
 ###################### Admin Clean #########################

+ 6 - 0
style.css

@@ -1,8 +1,14 @@
 /**
 /**
 Theme Name: Edit SRH
 Theme Name: Edit SRH
+Text Domain: srh
 Template: twentytwentyfive
 Template: twentytwentyfive
 Description: a theme to edit SRH
 Description: a theme to edit SRH
 Version: 1.0
 Version: 1.0
 Author: windhamdavid
 Author: windhamdavid
 Author URI: https://davidwindham.com
 Author URI: https://davidwindham.com
 */
 */
+
+
+.logo-letter {
+  font-size: 115%;
+}

+ 104 - 18
theme.json

@@ -3,6 +3,10 @@
 	"version": 3,
 	"version": 3,
 	"settings": {
 	"settings": {
 		"appearanceTools": true,
 		"appearanceTools": true,
+		"layout": {
+			"contentSize": "850px",
+			"wideSize": "1340px"
+		},
 		"color": {
 		"color": {
 			"defaultDuotone": false,
 			"defaultDuotone": false,
 			"defaultGradients": false,
 			"defaultGradients": false,
@@ -88,17 +92,23 @@
 			"fontSizes": [
 			"fontSizes": [
 				{
 				{
 					"fluid": false,
 					"fluid": false,
-					"name": "Small",
+					"name": "Extra Small",
 					"size": "0.875rem",
 					"size": "0.875rem",
+					"slug": "x-small"
+				},
+				{
+					"fluid": false,
+					"name": "Small",
+					"size": "1rem",
 					"slug": "small"
 					"slug": "small"
 				},
 				},
 				{
 				{
 					"fluid": {
 					"fluid": {
-						"max": "1.125rem",
-						"min": "1rem"
+						"max": "1.3rem",
+						"min": "1.1rem"
 					},
 					},
 					"name": "Medium",
 					"name": "Medium",
-					"size": "1rem",
+					"size": "1.2rem",
 					"slug": "medium"
 					"slug": "medium"
 				},
 				},
 				{
 				{
@@ -131,40 +141,48 @@
 			],
 			],
 			"fontFamilies": [
 			"fontFamilies": [
 				{
 				{
-					"name": "Manrope",
-					"slug": "manrope",
-					"fontFamily": "Manrope, sans-serif",
+					"name": "Century Gothic",
+					"slug": "century-gothic",
+					"fontFamily": "Century Gothic, sans-serif",
 					"fontFace": [
 					"fontFace": [
 						{
 						{
 							"src": [
 							"src": [
-								"file:./assets/fonts/manrope/Manrope-VariableFont_wght.woff2"
+								"file:./assets/fonts/Century-Gothic.woff2"
 							],
 							],
-							"fontWeight": "200 800",
+							"fontWeight": "400",
 							"fontStyle": "normal",
 							"fontStyle": "normal",
-							"fontFamily": "Manrope"
+							"fontFamily": "Century Gothic"
+						},
+						{
+							"src": [
+								"file:./assets/fonts/Century-Gothic-Bold.woff2"
+							],
+							"fontWeight": "700",
+							"fontStyle": "bold",
+							"fontFamily": "Century Gothic"
 						}
 						}
 					]
 					]
 				},
 				},
 				{
 				{
-					"name": "Century Gothic",
-					"slug": "century-gothic",
-					"fontFamily": "Century Gothic, sans-serif",
+					"name": "Berkeley Pro",
+					"slug": "berkeley-pro",
+					"fontFamily": "Berkeley Pro, serif",
 					"fontFace": [
 					"fontFace": [
 						{
 						{
 							"src": [
 							"src": [
-								"file:./assets/fonts/Century-Gothic.woff2"
+								"file:./assets/fonts/BerkeleyPro-Medium.woff2"
 							],
 							],
 							"fontWeight": "400",
 							"fontWeight": "400",
 							"fontStyle": "normal",
 							"fontStyle": "normal",
-							"fontFamily": "Century Gothic"
+							"fontFamily": "Berkeley Pro"
 						},
 						},
 						{
 						{
 							"src": [
 							"src": [
-								"file:./assets/fonts/Century-Gothic-Bold.woff2"
+								"file:./assets/fonts/BerkeleyPro-Bold.woff2"
 							],
 							],
 							"fontWeight": "700",
 							"fontWeight": "700",
 							"fontStyle": "bold",
 							"fontStyle": "bold",
-							"fontFamily": "Century Gothic"
+							"fontFamily": "Berkeley Pro"
 						}
 						}
 					]
 					]
 				},
 				},
@@ -185,5 +203,73 @@
 				}
 				}
 			]
 			]
 		}
 		}
-  }
+  },
+	"styles": {
+		"typography": {
+			"fontFamily": "var:preset|font-family|century-gothic",
+			"fontSize": "var:preset|font-size|medium",
+			"fontWeight": "300",
+			"letterSpacing": "0px",
+			"lineHeight": "1.3"
+		},
+		"elements": {
+			"caption": {
+				"typography": {
+					"fontSize": "var:preset|font-size|medium",
+					"lineHeight": "1.4"
+				}
+			},
+			"h1": {
+				"typography": {
+					"fontSize": "var:preset|font-size|xx-large"
+				}
+			},
+			"h2": {
+				"typography": {
+					"fontSize": "var:preset|font-size|x-large"
+				}
+			},
+			"h3": {
+				"typography": {
+					"fontSize": "var:preset|font-size|large"
+				}
+			},
+			"h4": {
+				"typography": {
+					"fontSize": "var:preset|font-size|medium"
+				}
+			},
+			"h5": {
+				"typography": {
+					"fontSize": "var:preset|font-size|small",
+					"letterSpacing": "0.5px"
+				}
+			},
+			"h6": {
+				"typography": {
+					"fontSize": "var:preset|font-size|small",
+					"fontWeight": "700",
+					"letterSpacing": "1.4px",
+					"textTransform": "uppercase"
+				}
+			},
+			"heading": {
+				"typography": {
+					"fontWeight": "400",
+					"lineHeight": "1.125",
+					"letterSpacing": "-0.1px"
+				}
+			},
+			"link": {
+				"color": {
+					"text": "currentColor"
+				},
+				":hover": {
+					"typography": {
+						"textDecoration": "none"
+					}
+				}
+			}
+		}
+	}
 }
 }