diff --git a/poetry/functions.php b/poetry/functions.php
new file mode 100644
index 00000000..b8b31ca3
--- /dev/null
+++ b/poetry/functions.php
@@ -0,0 +1,59 @@
+get( 'Version' );
+
+ $version_string = is_string( $theme_version ) ? $theme_version : false;
+ wp_register_style(
+ 'poetry-style',
+ get_template_directory_uri() . '/style.css',
+ array(),
+ $version_string
+ );
+
+ // Enqueue theme stylesheet.
+ wp_enqueue_style( 'poetry-style' );
+ }
+
+endif;
+
+add_action( 'wp_enqueue_scripts', 'poetry_styles' );
diff --git a/poetry/parts/header-small.html b/poetry/parts/header-small.html
new file mode 100644
index 00000000..0a332c2f
--- /dev/null
+++ b/poetry/parts/header-small.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+
diff --git a/poetry/templates/search.html b/poetry/templates/search.html
index 1e25efa2..6b659b5f 100644
--- a/poetry/templates/search.html
+++ b/poetry/templates/search.html
@@ -1,4 +1,4 @@
-
+
diff --git a/poetry/theme.json b/poetry/theme.json
index 04847bd8..a9eca501 100644
--- a/poetry/theme.json
+++ b/poetry/theme.json
@@ -122,7 +122,7 @@
},
"styles": {
"color": {
- "background": "var:preset|color|white"
+ "background": "var(--wp--preset--color--white)"
},
"elements": {
"h1": {
@@ -131,7 +131,7 @@
"fontSize": "var(--wp--preset--font-size--xx-large)",
"fontStyle": "normal",
"fontWeight": "400",
- "lineHeight": 0.8
+ "lineHeight": "0.8"
}
},
"h2": {
@@ -147,9 +147,17 @@
}
}
},
+ "spacing": {
+ "padding": {
+ "bottom": "0px",
+ "left": "2rem",
+ "right": "2rem",
+ "top": "0px"
+ }
+ },
"typography": {
- "fontFamily": "var:preset|font-family|inter",
- "lineHeight": 2
+ "fontFamily": "var(--wp--preset--font-family--inter)",
+ "lineHeight": "2"
}
},
"templateParts": [
@@ -157,11 +165,15 @@
"area": "header",
"name": "header"
},
+ {
+ "area": "header",
+ "name": "header-small"
+ },
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
- "$schema": "https://schemas.wp.org/wp/6.1/theme.json"
+ "$schema": "https://schemas.wp.org/wp/6.5/theme.json"
}
\ No newline at end of file