diff --git a/assets/fonts/DarkerGrotesque-Semibold.woff b/assets/fonts/DarkerGrotesque-Semibold.woff new file mode 100644 index 0000000..8b7cc80 Binary files /dev/null and b/assets/fonts/DarkerGrotesque-Semibold.woff differ diff --git a/assets/fonts/karmilla-bold-webfont.woff b/assets/fonts/karmilla-bold-webfont.woff new file mode 100755 index 0000000..7f68f1c Binary files /dev/null and b/assets/fonts/karmilla-bold-webfont.woff differ diff --git a/assets/fonts/karmilla-bold-webfont.woff2 b/assets/fonts/karmilla-bold-webfont.woff2 new file mode 100755 index 0000000..acb8bdb Binary files /dev/null and b/assets/fonts/karmilla-bold-webfont.woff2 differ diff --git a/assets/fonts/karmilla-regular-webfont.woff b/assets/fonts/karmilla-regular-webfont.woff new file mode 100755 index 0000000..3b24b6b Binary files /dev/null and b/assets/fonts/karmilla-regular-webfont.woff differ diff --git a/assets/fonts/karmilla-regular-webfont.woff2 b/assets/fonts/karmilla-regular-webfont.woff2 new file mode 100755 index 0000000..225f189 Binary files /dev/null and b/assets/fonts/karmilla-regular-webfont.woff2 differ diff --git a/assets/images/arrow.png b/assets/images/arrow.png new file mode 100644 index 0000000..fbb7a0d Binary files /dev/null and b/assets/images/arrow.png differ diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..a0e564a --- /dev/null +++ b/functions.php @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/parts/nav-menu.html b/parts/nav-menu.html new file mode 100644 index 0000000..5817c03 --- /dev/null +++ b/parts/nav-menu.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/patterns/homepage.php b/patterns/homepage.php new file mode 100644 index 0000000..edb6856 --- /dev/null +++ b/patterns/homepage.php @@ -0,0 +1,72 @@ + + + +

Autonomic is a co-operative that is owned and run by its workers

+ + + +

What we offer

+ + + + + + + +

Interested? Work with us

+ + + +

We build technologies and infrastructure to empower users to make a positive impact on the world. All of our services reflect our commitment to our core values:

+ + + +
+
+ + + + + + + + + +
+
+ + + +

You can consult our expanded list of values here.

+ + + +
+
Contact us at hello@autonomic.zone
+
+ \ No newline at end of file diff --git a/style.css b/style.css index 490676e..43dd5ae 100644 --- a/style.css +++ b/style.css @@ -20,3 +20,35 @@ This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */ + +.wp-site-blocks h2 { + display: flex; + height: 36px; + align-items: center; + border-bottom: 1px solid; +} + + +.wp-site-blocks h2::before { + content: ""; + border-top: 1px solid; + border-right: 1px solid; + width: 80px; + margin-right: 8px; + height: 36px; + border-bottom: 1px solid #f5fbf8; +} + +.wp-site-blocks h2::after { + content: ""; + border-top: 1px solid; + flex-grow: 1; + margin-left: 8px; + height: 36px; + border-left: 1px solid; + border-bottom: 1px solid #f5fbf8; +} + +.wp-site-blocks ul { + list-style-image: url('/wp-content/themes/autonomic/assets/images/arrow.png'); +} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index e69de29..c436e51 100644 --- a/templates/index.html +++ b/templates/index.html @@ -0,0 +1,18 @@ + +
+
+
+
+
+ + + +
+ + + +
+
+
+ + \ No newline at end of file diff --git a/theme.json b/theme.json index a78c671..8faaad8 100644 --- a/theme.json +++ b/theme.json @@ -1,5 +1,6 @@ { "version": 2, + "$schema": "https://schemas.wp.org/wp/6.0/theme.json", "settings": { "appearanceTools": true, "color": { @@ -9,7 +10,7 @@ "palette": [ { "slug": "background", - "color": "#ffffff", + "color": "#F5FBF8", "name": "Background" }, { @@ -26,11 +27,16 @@ "slug": "secondary", "color": "#27c773", "name": "Secondary" + }, + { + "slug": "button", + "color": "#FF7613", + "name": "Button color" } ] }, "layout": { - "contentSize": "700px", + "contentSize": "1000px", "wideSize": "1100px" }, "spacing": { @@ -43,17 +49,98 @@ "name": "System (Roboto, Segoe UI, Ubuntu)", "slug": "system", "fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif" + }, + { + "fontFace": [ + { + "fontFamily": "Karmilla", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/karmilla-regular-webfont.woff2", + "file:./assets/fonts/karmilla-regular-webfont.woff" + ] + }, + { + "fontFamily": "Karmilla", + "fontStyle": "bold", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/karmilla-bold-webfont.woff2", + "file:./assets/fonts/karmilla-bold-webfont.woff" + ] + } + ], + "fontFamily": "Karmilla", + "slug": "karmilla" + }, + { + "fontFace": [ + { + "fontFamily": "Darker Grotesque", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/DarkerGrotesque-Semibold.woff" + ] + } + ], + "name": "'Darker Grotesque', sans-serif", + "fontFamily": "Darker Grotesque", + "slug": "darkergrotesque" } ] } }, "styles": { "typography": { - "fontFamily": "var(--wp--preset--font-family--system)" + "fontFamily": "var(--wp--preset--font-family--karmilla)", + "fontSize": "21px" }, "color": { "background": "var(--wp--preset--color--background)", "text": "var(--wp--preset--color--foreground)" - } - } + }, + "blocks": { + "core/button": { + "border": { + "radius": "0px" + } + }, + "core/navigation": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--darkergrotesque)", + "fontSize": "21px", + "fontStyle": "normal", + "fontWeight": "600", + "textTransform": "uppercase" + } + } + }, + "elements": { + "h1": { + "typography": { + "fontSize": "44px", + "fontWeight": "400", + "lineHeight": "0.9" + } + }, + "h2": { + "typography": { + "fontSize": "14px", + "textTransform": "uppercase" + } + } + } + }, + "templateParts": [ + { + "name": "nav-menu", + "title": "Navigation" + }, + { + "name": "footer", + "title": "Footer", + "area": "footer" + } + ] }