diff --git a/xanadu/assets/fonts/crimson-pro_italic_200.ttf b/xanadu/assets/fonts/crimson-pro_italic_200.ttf new file mode 100644 index 0000000000..d1969dd44a Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_200.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_italic_300.ttf b/xanadu/assets/fonts/crimson-pro_italic_300.ttf new file mode 100644 index 0000000000..e525fca3ce Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_300.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_italic_400.ttf b/xanadu/assets/fonts/crimson-pro_italic_400.ttf new file mode 100644 index 0000000000..a9dfbdf980 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_400.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_italic_500.ttf b/xanadu/assets/fonts/crimson-pro_italic_500.ttf new file mode 100644 index 0000000000..bb7beaac9c Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_500.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_italic_600.ttf b/xanadu/assets/fonts/crimson-pro_italic_600.ttf new file mode 100644 index 0000000000..234cd45387 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_600.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_italic_700.ttf b/xanadu/assets/fonts/crimson-pro_italic_700.ttf new file mode 100644 index 0000000000..c55c384490 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_700.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_italic_800.ttf b/xanadu/assets/fonts/crimson-pro_italic_800.ttf new file mode 100644 index 0000000000..99892669d0 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_800.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_italic_900.ttf b/xanadu/assets/fonts/crimson-pro_italic_900.ttf new file mode 100644 index 0000000000..a33291d732 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_italic_900.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_200.ttf b/xanadu/assets/fonts/crimson-pro_normal_200.ttf new file mode 100644 index 0000000000..66245428b9 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_200.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_300.ttf b/xanadu/assets/fonts/crimson-pro_normal_300.ttf new file mode 100644 index 0000000000..f053961b79 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_300.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_400.ttf b/xanadu/assets/fonts/crimson-pro_normal_400.ttf new file mode 100644 index 0000000000..69e4db9ea3 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_400.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_500.ttf b/xanadu/assets/fonts/crimson-pro_normal_500.ttf new file mode 100644 index 0000000000..b555170e6f Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_500.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_600.ttf b/xanadu/assets/fonts/crimson-pro_normal_600.ttf new file mode 100644 index 0000000000..6ea09f75ea Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_600.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_700.ttf b/xanadu/assets/fonts/crimson-pro_normal_700.ttf new file mode 100644 index 0000000000..259c8ed978 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_700.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_800.ttf b/xanadu/assets/fonts/crimson-pro_normal_800.ttf new file mode 100644 index 0000000000..d35c856c21 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_800.ttf differ diff --git a/xanadu/assets/fonts/crimson-pro_normal_900.ttf b/xanadu/assets/fonts/crimson-pro_normal_900.ttf new file mode 100644 index 0000000000..815a8e6252 Binary files /dev/null and b/xanadu/assets/fonts/crimson-pro_normal_900.ttf differ diff --git a/xanadu/functions.php b/xanadu/functions.php new file mode 100644 index 0000000000..cba59b18d9 --- /dev/null +++ b/xanadu/functions.php @@ -0,0 +1,60 @@ +get( 'Version' ) + ); + + // Enqueue theme stylesheet. + wp_enqueue_style( 'xanadu-style' ); + + } + +endif; + +add_action( 'wp_enqueue_scripts', 'xanadu_styles' ); diff --git a/xanadu/parts/footer.html b/xanadu/parts/footer.html new file mode 100644 index 0000000000..5ecf9787cd --- /dev/null +++ b/xanadu/parts/footer.html @@ -0,0 +1 @@ + diff --git a/xanadu/parts/header.html b/xanadu/parts/header.html new file mode 100644 index 0000000000..c1a621f7d7 --- /dev/null +++ b/xanadu/parts/header.html @@ -0,0 +1 @@ + diff --git a/xanadu/patterns/404.php b/xanadu/patterns/404.php new file mode 100644 index 0000000000..8525884303 --- /dev/null +++ b/xanadu/patterns/404.php @@ -0,0 +1,13 @@ + + + +

+ + + diff --git a/xanadu/patterns/footer.php b/xanadu/patterns/footer.php new file mode 100644 index 0000000000..8868320929 --- /dev/null +++ b/xanadu/patterns/footer.php @@ -0,0 +1,27 @@ + + + + + + + +
+ +

WordPress'; + echo sprintf( + esc_html__( 'Designed with %1$s', 'xanadu' ), + $wordpress_link + ); + ?>

+ +
+ diff --git a/xanadu/patterns/header.php b/xanadu/patterns/header.php new file mode 100644 index 0000000000..c28e6a3038 --- /dev/null +++ b/xanadu/patterns/header.php @@ -0,0 +1,26 @@ + + + +
+ +
+ + + +

,

+ +
+ + + + + +
+ diff --git a/xanadu/patterns/no-results.php b/xanadu/patterns/no-results.php new file mode 100644 index 0000000000..9e970a1a69 --- /dev/null +++ b/xanadu/patterns/no-results.php @@ -0,0 +1,11 @@ + + + +

+ diff --git a/xanadu/readme.txt b/xanadu/readme.txt new file mode 100644 index 0000000000..753a36ca58 --- /dev/null +++ b/xanadu/readme.txt @@ -0,0 +1,35 @@ +=== Xanadu === +Contributors: +Requires at least: 6.0 +Tested up to: 6.4 +Requires PHP: 5.7 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +== Description == + +This theme is named after the city in Samuel Taylor Coleridge’s poem Kubla Khan. Literary legend says the poem came to Coleridge in a dream, which he rushed to write down without preamble. Likewise, this design begins in earnest. + +== Changelog == + += 1.0.0 = +* Initial release + +== Copyright == + +Xanadu WordPress Theme, (C) 2023 +Xanadu is distributed under the terms of the GNU GPL. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Crimson Pro Font +Licensed under SIL Open Font License, 1.1 (http://scripts.sil.org/OFL) +https://fonts.google.com/specimen/Crimson+Pro diff --git a/xanadu/screenshot.png b/xanadu/screenshot.png new file mode 100644 index 0000000000..e01676fc69 Binary files /dev/null and b/xanadu/screenshot.png differ diff --git a/xanadu/style.css b/xanadu/style.css new file mode 100644 index 0000000000..d26f8b2c34 --- /dev/null +++ b/xanadu/style.css @@ -0,0 +1,24 @@ +/* +Theme Name: Xanadu +Theme URI: https://wordpress.com/theme/xanadu +Author: Automattic +Author URI: https://automattic.com/ +Description: This theme is named after the city in Samuel Taylor Coleridge’s poem Kubla Khan. Literary legend says the poem came to Coleridge in a dream, which he rushed to write down without preamble. Likewise, this design begins in earnest. +Requires at least: 6.0 +Tested up to: 6.4 +Requires PHP: 5.7 +Version: 1.0.0 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: xanadu +Tags: one-column, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks +*/ + +/* +* Control the hover stylings of outline block style. +*/ +.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover { + background-color: var(--wp--preset--color--primary); + border-color: var(--wp--preset--color--primary); + color: var(--wp--preset--color--base); +} diff --git a/xanadu/styles/old-book.json b/xanadu/styles/old-book.json new file mode 100644 index 0000000000..b7499211b8 --- /dev/null +++ b/xanadu/styles/old-book.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 2, + "title": "Old Book", + "settings": { + "color": { + "palette": [ + { + "color": "#f2ebe2", + "name": "Base", + "slug": "base" + }, + { + "color": "#5b3d25", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#53360a", + "name": "Secondary", + "slug": "secondary" + } + ] + } + } +} diff --git a/xanadu/templates/404.html b/xanadu/templates/404.html new file mode 100644 index 0000000000..2cee2eb453 --- /dev/null +++ b/xanadu/templates/404.html @@ -0,0 +1,14 @@ + + + +
+ + + + + + +
+ + + diff --git a/xanadu/templates/archive.html b/xanadu/templates/archive.html new file mode 100644 index 0000000000..4989491544 --- /dev/null +++ b/xanadu/templates/archive.html @@ -0,0 +1,55 @@ + + + +
+ +
+ + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + +
+ + + + + +
+ +
+ +
+ + + diff --git a/xanadu/templates/index.html b/xanadu/templates/index.html new file mode 100644 index 0000000000..78ac4d4a64 --- /dev/null +++ b/xanadu/templates/index.html @@ -0,0 +1,49 @@ + + + +
+ +
+ + +
+ + + + + + + + + +
+ + + + + + + + +
+ + + + + +
+ +
+ +
+ + + diff --git a/xanadu/templates/page.html b/xanadu/templates/page.html new file mode 100644 index 0000000000..f5ac71e5cb --- /dev/null +++ b/xanadu/templates/page.html @@ -0,0 +1,35 @@ + + + +
+ +
+ + + + + + + + + + + + + +
+ + + + + +
+ + + diff --git a/xanadu/templates/search.html b/xanadu/templates/search.html new file mode 100644 index 0000000000..da681173b6 --- /dev/null +++ b/xanadu/templates/search.html @@ -0,0 +1,59 @@ + + + +
+ +
+ + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + +
+ +
+ +
+ + + diff --git a/xanadu/templates/single.html b/xanadu/templates/single.html new file mode 100644 index 0000000000..cc3a08ce7c --- /dev/null +++ b/xanadu/templates/single.html @@ -0,0 +1,47 @@ + + + +
+ +
+ + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + +
+ +
+ + + diff --git a/xanadu/theme.json b/xanadu/theme.json new file mode 100644 index 0000000000..35b657923c --- /dev/null +++ b/xanadu/theme.json @@ -0,0 +1,524 @@ +{ + "settings": { + "appearanceTools": true, + "color": { + "defaultDuotone": false, + "defaultGradients": false, + "defaultPalette": false, + "palette": [ + { + "color": "#ffffff", + "name": "Base", + "slug": "base" + }, + { + "color": "#fa053f", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#000000", + "name": "Secondary", + "slug": "secondary" + } + ] + }, + "layout": { + "contentSize": "66vw", + "wideSize": "78vw" + }, + "spacing": { + "units": [ + "%", + "px", + "em", + "rem", + "vh", + "vw" + ] + }, + "typography": { + "fluid": true, + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "200", + "src": [ + "file:./assets/fonts/crimson-pro_normal_200.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/crimson-pro_normal_300.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/crimson-pro_normal_400.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/crimson-pro_normal_500.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/crimson-pro_normal_600.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/crimson-pro_normal_700.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/crimson-pro_normal_800.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "normal", + "fontWeight": "900", + "src": [ + "file:./assets/fonts/crimson-pro_normal_900.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "200", + "src": [ + "file:./assets/fonts/crimson-pro_italic_200.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/crimson-pro_italic_300.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/crimson-pro_italic_400.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/crimson-pro_italic_500.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/crimson-pro_italic_600.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/crimson-pro_italic_700.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/crimson-pro_italic_800.ttf" + ] + }, + { + "fontFamily": "Crimson Pro", + "fontStyle": "italic", + "fontWeight": "900", + "src": [ + "file:./assets/fonts/crimson-pro_italic_900.ttf" + ] + } + ], + "fontFamily": "Crimson Pro", + "slug": "crimson-pro" + } + ], + "fontSizes": [ + { + "fluid": { + "max": "1rem", + "min": "0.75rem" + }, + "name": "Tiny", + "size": "0.9rem", + "slug": "x-small" + }, + { + "fluid": false, + "name": "Small", + "size": "1rem", + "slug": "small" + }, + { + "fluid": false, + "name": "Medium", + "size": "1.125rem", + "slug": "medium" + }, + { + "fluid": false, + "name": "Large", + "size": "1.37rem", + "slug": "large" + }, + { + "fluid": { + "max": "2.25rem", + "min": "1.75rem" + }, + "name": "Extra Large", + "size": "2rem", + "slug": "x-large" + }, + { + "fluid": { + "max": "3rem", + "min": "2.25rem" + }, + "name": "Huge", + "size": "2.25rem", + "slug": "xx-large" + } + ] + }, + "useRootPaddingAwareAlignments": true + }, + "styles": { + "blocks": { + "core/code": { + "spacing": { + "padding": { + "bottom": "var(--wp--preset--spacing--50)", + "left": "var(--wp--preset--spacing--50)", + "right": "var(--wp--preset--spacing--50)", + "top": "var(--wp--preset--spacing--50)" + } + }, + "typography": { + "fontFamily": "monospace", + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "core/gallery": { + "spacing": { + "margin": { + "bottom": "var(--wp--preset--spacing--50)" + } + } + }, + "core/heading": { + "spacing": { + "margin": { + "bottom": "var(--wp--preset--spacing--30)", + "left": "0", + "right": "0", + "top": "var(--wp--preset--spacing--70)" + } + }, + "typography": { + "fontStyle": "normal", + "fontWeight": "400" + } + }, + "core/post-date": { + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal", + "fontWeight": "600", + "textTransform": "none" + } + }, + "core/post-featured-image": { + "border": { + "radius": "2px" + } + }, + "core/post-navigation-link": { + "typography": { + "textTransform": "lowercase" + } + }, + "core/post-title": { + "spacing": { + "margin": { + "bottom": "0" + }, + "padding": { + "bottom": "0", + "left": "0", + "right": "0", + "top": "0" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal", + "fontWeight": "600" + } + }, + "core/pullquote": { + "border": { + "style": "solid", + "width": "1px 0" + }, + "elements": { + "cite": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "fontStyle": "normal" + } + } + }, + "spacing": { + "padding": { + "bottom": "var(--wp--preset--spacing--50)", + "left": "var(--wp--preset--spacing--50)", + "right": "var(--wp--preset--spacing--50)", + "top": "var(--wp--preset--spacing--50)" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal" + } + }, + "core/query-pagination": { + "typography": { + "textTransform": "lowercase" + } + }, + "core/query-title": { + "typography": { + "fontStyle": "normal", + "fontWeight": "400" + } + }, + "core/quote": { + "border": { + "color": "var(--wp--preset--color--primary)", + "style": "solid", + "width": "0 0 0 2px" + }, + "elements": { + "cite": { + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal" + } + } + }, + "spacing": { + "padding": { + "left": "var(--wp--preset--spacing--50)" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal" + } + }, + "core/search": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)", + "lineHeight": "1.6" + } + }, + "core/separator": { + "border": { + "color": "currentColor", + "style": "solid", + "width": "0 0 1px 0" + }, + "color": { + "text": "var(--wp--preset--color--secondary)" + } + }, + "core/site-tagline": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, + "core/site-title": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "typography": { + "fontSize": "6rem", + "fontStyle": "normal", + "fontWeight": "500", + "textDecoration": "none", + "textTransform": "lowercase" + } + }, + "core/table": { + "css": "& td, & th{padding: var(--wp--preset--spacing--30);} &+figcaption {font-size: var(--wp--preset--font-size--small);text-align: center;}" + } + }, + "color": { + "background": "var(--wp--preset--color--base)", + "text": "var(--wp--preset--color--secondary)" + }, + "elements": { + "button": { + ":hover": { + "color": { + "background": "var(--wp--preset--color--primary)", + "text": "var(--wp--preset--color--base)" + } + }, + "border": { + "radius": "2px" + }, + "color": { + "background": "var(--wp--preset--color--secondary)", + "text": "var(--wp--preset--color--base)" + } + }, + "caption": { + "color": { + "text": "var(--wp--preset--color--secondary)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "h1": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-large)", + "fontStyle": "normal", + "fontWeight": "700", + "lineHeight": "1.1" + } + }, + "h2": { + "typography": { + "fontSize": "1.45rem", + "fontStyle": "normal", + "fontWeight": "700", + "lineHeight": "1.1" + } + }, + "h3": { + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal", + "fontWeight": "700", + "lineHeight": "1.2" + } + }, + "h4": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "h5": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)", + "fontWeight": "normal" + } + }, + "h6": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "fontWeight": "normal" + } + }, + "heading": { + "typography": { + "fontStyle": "normal", + "fontWeight": "600", + "lineHeight": "1.6", + "textTransform": "none" + } + }, + "link": { + ":hover": { + "color": { + "text": "var(--wp--preset--color--secondary)" + }, + "typography": { + "textDecoration": "none" + } + }, + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "typography": { + "textDecoration": "none" + } + } + }, + "spacing": { + "blockGap": "var(--wp--preset--spacing--50)", + "padding": { + "bottom": "0", + "left": "0", + "right": "0", + "top": "0" + } + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--crimson-pro)", + "fontSize": "var(--wp--preset--font-size--x-large)", + "fontStyle": "normal", + "fontWeight": "400", + "lineHeight": "1.3" + } + }, + "templateParts": [ + { + "area": "header", + "name": "header", + "title": "Header" + }, + { + "area": "footer", + "name": "footer", + "title": "Footer" + } + ], + "version": 2, + "$schema": "https://schemas.wp.org/trunk/theme.json" +}