diff --git a/chuck-theme/.gitignore b/chuck-theme/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/chuck-theme/assets/css/blocks/post-title.css b/chuck-theme/assets/css/blocks/post-title.css new file mode 100644 index 0000000..fbcc9a4 --- /dev/null +++ b/chuck-theme/assets/css/blocks/post-title.css @@ -0,0 +1,17 @@ +/* .wp-block-post-title { + position: relative; +} +.wp-block-post-title::after { + background-image: var(--accent-gradient); + background-size: 100%; + background-position: 0%; + + content: ''; + position: absolute; + z-index: -10; + bottom: 5px; + left: -2px; + right: -2px; + height: 10px; + border-radius: 5px; +} */ \ No newline at end of file diff --git a/chuck-theme/functions.php b/chuck-theme/functions.php new file mode 100644 index 0000000..b2c920a --- /dev/null +++ b/chuck-theme/functions.php @@ -0,0 +1,95 @@ +. + // */ + // add_theme_support( 'automatic-feed-links' ); + + // /** + // * Enable support for post thumbnails and featured images. + // */ + // add_theme_support( 'post-thumbnails' ); + + // /** + // * Add support for two custom navigation menus. + // */ + // register_nav_menus( array( + // 'primary' => __( 'Primary Menu', 'chucktheme' ), + // 'secondary' => __( 'Secondary Menu', 'chucktheme' ), + // ) ); + + // /** + // * Enable support for the following post formats: + // * aside, gallery, quote, image, and video + // */ + // add_theme_support( 'post-formats', array( 'aside', 'gallery', 'quote', 'image', 'video' ) ); + + $styled_blocks = ['post-title']; + foreach ($styled_blocks as $block_name) { + $args = array( + 'handle' => "myfirsttheme-$block_name", + 'src' => get_theme_file_uri("assets/css/blocks/$block_name.css"), + $args['path'] = get_theme_file_path("assets/css/blocks/$block_name.css"), + ); + wp_enqueue_block_style("core/$block_name", $args); + } + + add_theme_support('align-wide'); + + // add_filter('render_block', function ($blockContent, $block) { + + // if ($block['blockName'] !== 'core/post-title') { + // return $blockContent; + // } + + // $pattern = '/(]*>)(.*)(<\/h[1-7]{1}>)/i'; + // $replacement = '$1$2$3'; + // return preg_replace($pattern, $replacement, $blockContent); + // }, 10, 2); + } +endif; // chucktheme_setup +add_action('after_setup_theme', 'chucktheme_setup'); + +if (!function_exists('chucktheme_enqueue')) : + function chucktheme_enqueue() + { + wp_enqueue_style('style', get_stylesheet_uri()); + } +endif; +add_action('wp_enqueue_scripts', 'chucktheme_enqueue'); diff --git a/chuck-theme/parts/comments.html b/chuck-theme/parts/comments.html new file mode 100644 index 0000000..54536f8 --- /dev/null +++ b/chuck-theme/parts/comments.html @@ -0,0 +1,44 @@ + +

Comments

+ + +
+ + +
+ +
+ +
+ + + +
+ + + +
+ + +
+ + + + +
+ +
+ + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/chuck-theme/parts/footer.html b/chuck-theme/parts/footer.html new file mode 100644 index 0000000..1fd95f9 --- /dev/null +++ b/chuck-theme/parts/footer.html @@ -0,0 +1,33 @@ + +
+
+
+
+
+

Contact

+ + + +

(954)-667-2916

+ + + +

info@transsocial.org

+ + + + +
+
+ + + +

+ Proudly powered by WordPress. +

+
+
+
+ \ No newline at end of file diff --git a/chuck-theme/parts/header.html b/chuck-theme/parts/header.html new file mode 100644 index 0000000..009b198 --- /dev/null +++ b/chuck-theme/parts/header.html @@ -0,0 +1,15 @@ + +
+ + + +
+ diff --git a/chuck-theme/patterns/footer.php b/chuck-theme/patterns/footer.php new file mode 100644 index 0000000..8bbc07f --- /dev/null +++ b/chuck-theme/patterns/footer.php @@ -0,0 +1,49 @@ + + +
+
+
+
+
+

Contact

+ + + +

(954)-667-2916

+ + + +

info@transsocial.org

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

+ Proudly powered by WordPress. +

+ +
+ +
+ +
+ \ No newline at end of file diff --git a/chuck-theme/style.css b/chuck-theme/style.css new file mode 100644 index 0000000..8ebc5d4 --- /dev/null +++ b/chuck-theme/style.css @@ -0,0 +1,48 @@ +/* +Theme Name: chucktheme +Author: Chuck Dries +Description: A short description of the theme. +Version: The version, written in X.X or X.X.X format. +Requires at least: The oldest main WordPress version supported, written in X.X format. +Tested up to: The last main WordPress version the theme has been tested up to, i.e. 6.0. Write only the number. +Requires PHP: The oldest PHP version supported, in X.X format, only the number. +License: The license of the theme. +License URI: The URL of the theme license. +Text Domain: chucktheme +*/ +:root { + --accent: 91 206 250; + --accent-text: hsl(197deg 52% 55%); + --accent-pink: hsl(348deg 29% 61%); + --accent-gradient: linear-gradient( + 45deg, + hsl(348deg 79% 81%) 0%, /*#F5A8B8*/ + hsl(336deg 73% 81%) 21%, + hsl(321deg 61% 80%) 30%, + hsl(296deg 47% 79%) 39%, + hsl(269deg 64% 82%) 46%, + hsl(244deg 82% 85%) 54%, + hsl(224deg 99% 83%) 61%, + hsl(211deg 100% 78%) 69%, + hsl(203deg 100% 73%) 79%, + hsl(197deg 94% 67%) 100% /*#5CCDFA*/ + ); + --accent-gradient-reverse: linear-gradient( + 225deg, + hsl(348deg 79% 81%) 0%, + hsl(336deg 73% 81%) 21%, + hsl(321deg 61% 80%) 30%, + hsl(296deg 47% 79%) 39%, + hsl(269deg 64% 82%) 46%, + hsl(244deg 82% 85%) 54%, + hsl(224deg 99% 83%) 61%, + hsl(211deg 100% 78%) 69%, + hsl(203deg 100% 73%) 79%, + hsl(197deg 94% 67%) 100% + ); + --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); +} + +.white-bg-overlay { + background: hsla(0, 0%, 100%, 0.7) +} diff --git a/chuck-theme/templates/404.html b/chuck-theme/templates/404.html new file mode 100644 index 0000000..c9bb02c --- /dev/null +++ b/chuck-theme/templates/404.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/chuck-theme/templates/home.html b/chuck-theme/templates/home.html new file mode 100644 index 0000000..49bc7f9 --- /dev/null +++ b/chuck-theme/templates/home.html @@ -0,0 +1 @@ +

hello world!

\ No newline at end of file diff --git a/chuck-theme/templates/index.html b/chuck-theme/templates/index.html new file mode 100644 index 0000000..a021a2d --- /dev/null +++ b/chuck-theme/templates/index.html @@ -0,0 +1,25 @@ + + +
+ +
+ + + + + + + + + + +
+ + +
+ +
+ +
+ + diff --git a/chuck-theme/templates/no-title.html b/chuck-theme/templates/no-title.html new file mode 100644 index 0000000..1df77bf --- /dev/null +++ b/chuck-theme/templates/no-title.html @@ -0,0 +1,19 @@ + + + +
+ + + + + +
+ + + diff --git a/chuck-theme/templates/page.html b/chuck-theme/templates/page.html new file mode 100644 index 0000000..60ce3ad --- /dev/null +++ b/chuck-theme/templates/page.html @@ -0,0 +1,15 @@ + + +
+ + + + + + + + + +
+ + diff --git a/chuck-theme/templates/search.html b/chuck-theme/templates/search.html new file mode 100644 index 0000000..9b1e326 --- /dev/null +++ b/chuck-theme/templates/search.html @@ -0,0 +1,55 @@ + + +
+ + +
+ + + + + + + + + +
+ + +
+ + + + + +

No results found

+ + + +

+ Sorry, but nothing matched your search terms. Please try again with some + different keywords. +

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

Looking for a specific topic?

+ + + + +
+ +
+ + diff --git a/chuck-theme/templates/single.html b/chuck-theme/templates/single.html new file mode 100644 index 0000000..2e60ed7 --- /dev/null +++ b/chuck-theme/templates/single.html @@ -0,0 +1,28 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/chuck-theme/theme.json b/chuck-theme/theme.json new file mode 100644 index 0000000..8111a82 --- /dev/null +++ b/chuck-theme/theme.json @@ -0,0 +1,182 @@ +{ + "customTemplates": [ + { + "name": "no-title", + "postTypes": [ + "post", + "page" + ], + "title": "No title" + } + ], + "settings": { + "appearanceTools": true, + "color": { + "duotone": [ + { + "colors": [ + "#00a0d2", + "#0073aa" + ], + "name": "Secondary and primary", + "slug": "secondary-primary" + }, + { + "colors": [ + "#0073aa", + "#f0f0f0" + ], + "name": "Primary and Contrast", + "slug": "primary-contrast" + } + ], + "gradients": [ + { + "gradient": "linear-gradient(45deg, hsl(348deg 79% 81%) 0%, hsl(336deg 73% 81%) 21%, hsl(321deg 61% 80%) 30%, hsl(296deg 47% 79%) 39%, hsl(269deg 64% 82%) 46%, hsl(244deg 82% 85%) 54%, hsl(224deg 99% 83%) 61%, hsl(211deg 100% 78%) 69%, hsl(203deg 100% 73%) 79%, hsl(197deg 94% 67%) 100%)", + "name": "Trans pride", + "slug": "trans-pride" + }, + { + "gradient": "linear-gradient(225deg, hsl(348deg 79% 81%) 0%, hsl(336deg 73% 81%) 21%, hsl(321deg 61% 80%) 30%, hsl(296deg 47% 79%) 39%, hsl(269deg 64% 82%) 46%, hsl(244deg 82% 85%) 54%, hsl(224deg 99% 83%) 61%, hsl(211deg 100% 78%) 69%, hsl(203deg 100% 73%) 79%, hsl(197deg 94% 67%) 100%)", + "name": "Trans pride reverse", + "slug": "trans-pride-reverse" + } + ], + "palette": [ + { + "color": "#1e1e1e", + "name": "Base", + "slug": "base" + }, + { + "color": "#f6f6f6", + "name": "Contrast", + "slug": "contrast" + }, + { + "color": "#0073aa", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#00a0d2", + "name": "Secondary", + "slug": "secondary" + }, + { + "color": "transparent", + "name": "Transparent", + "slug": "transparent" + } + ] + }, + "layout": { + "contentSize": "700px", + "wideSize": "920px" + }, + "spacing": { + "units": [ + "px", + "em", + "rem", + "vh", + "vw", + "%" + ] + }, + "typography": { + "dropCap": false, + "fluid": true, + "fontFamilies": [ + { + "fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif", + "name": "System", + "slug": "system" + }, + { + "fontFamily": "system-ui,sans-serif", + "name": "Sans", + "slug": "sans" + }, + { + "fontFamily": "Consolas,Menlo,Monaco,\"SF Mono\",\"DejaVu Sans Mono\",\"Roboto Mono\",\"Courier New\",Courier,monospace", + "name": "Monospace", + "slug": "monospace" + } + ], + "fontSizes": [ + { + "fluid": false, + "name": "Extra small", + "size": "1rem", + "slug": "extra-small" + }, + { + "fluid": false, + "name": "Small", + "size": "1.125rem", + "slug": "small" + }, + { + "fluid": { + "max": "1.5rem", + "min": "1.25rem" + }, + "name": "Medium", + "size": "1.25rem", + "slug": "medium" + }, + { + "fluid": { + "max": "2rem", + "min": "1.75rem" + }, + "name": "Large", + "size": "2rem", + "slug": "large" + }, + { + "fluid": { + "max": "2.75rem", + "min": "2.5rem" + }, + "name": "XL", + "size": "2.75rem", + "slug": "x-large" + }, + { + "fluid": { + "max": "3.75rem", + "min": "3rem" + }, + "name": "XXL", + "size": "3.75rem", + "slug": "xx-large" + } + ] + }, + "useRootPaddingAwareAlignments": true + }, + "styles": { + "color": { + "background": "var(--wp--preset--color--contrast)" + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--sans)" + } + }, + "templateParts": [ + { + "area": "header", + "name": "header", + "title": "Header" + }, + { + "area": "footer", + "name": "footer", + "title": "Footer" + } + ], + "version": 2, + "$schema": "https://schemas.wp.org/trunk/theme.json" +} \ No newline at end of file diff --git a/transsocial-theme/assets/css/blocks/quote.css b/transsocial-theme/assets/css/blocks/quote.css new file mode 100644 index 0000000..db879c9 --- /dev/null +++ b/transsocial-theme/assets/css/blocks/quote.css @@ -0,0 +1,25 @@ + +.wp-block-quote p, +.wp-block-quote cite { + margin-left: 4rem; +} + +.wp-block-quote::before, +.wp-block-quote.has-text-align-right p::before { + content: "\201C"; + position: absolute; + font-size: 4rem; + line-height: 1; + font-family: "Times New Roman", Times, serif; + font-weight: 700; + color: var(--wp--preset--color--primary); +} + +.wp-block-quote.has-text-align-center::before, +.wp-block-quote.has-text-align-right::before { + content: " "; +} + +.wp-block-quote.has-text-align-right p::before { + margin-left: -4rem; +} diff --git a/transsocial-theme/assets/images/woman-curls.jpg b/transsocial-theme/assets/images/woman-curls.jpg new file mode 100644 index 0000000..0e0730f Binary files /dev/null and b/transsocial-theme/assets/images/woman-curls.jpg differ diff --git a/transsocial-theme/assets/images/woman-headphones.jpg b/transsocial-theme/assets/images/woman-headphones.jpg new file mode 100644 index 0000000..6275731 Binary files /dev/null and b/transsocial-theme/assets/images/woman-headphones.jpg differ diff --git a/transsocial-theme/assets/images/woman-tshirt.jpg b/transsocial-theme/assets/images/woman-tshirt.jpg new file mode 100644 index 0000000..e6c798b Binary files /dev/null and b/transsocial-theme/assets/images/woman-tshirt.jpg differ diff --git a/transsocial-theme/functions.php b/transsocial-theme/functions.php new file mode 100644 index 0000000..794355e --- /dev/null +++ b/transsocial-theme/functions.php @@ -0,0 +1,46 @@ + "transsocial-theme-$block_name", + 'src' => get_theme_file_uri( "assets/css/blocks/$block_name.css" ), + 'path' => get_theme_file_path( "assets/css/blocks/$block_name.css" ), + ); + // Replace the "core" prefix if you are styling blocks from plugins. + wp_enqueue_block_style( "core/$block_name", $args ); + } +} +add_action( 'after_setup_theme', 'transsocial_theme_setup' ); + +/** + * Enqueue the CSS files. + * + * @since 1.0.0 + * + * @return void + */ +function transsocial_theme_styles() { + wp_enqueue_style( + 'transsocial-theme-style', + get_stylesheet_uri(), + [], + wp_get_theme()->get( 'Version' ) + ); +} +add_action( 'wp_enqueue_scripts', 'transsocial_theme_styles' ); diff --git a/transsocial-theme/index.php b/transsocial-theme/index.php new file mode 100644 index 0000000..67c5fa5 --- /dev/null +++ b/transsocial-theme/index.php @@ -0,0 +1,9 @@ + + Copyright (C) + + 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. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/transsocial-theme/parts/footer.html b/transsocial-theme/parts/footer.html new file mode 100644 index 0000000..98c728b --- /dev/null +++ b/transsocial-theme/parts/footer.html @@ -0,0 +1,5 @@ + +
+ +
+ diff --git a/transsocial-theme/parts/header.html b/transsocial-theme/parts/header.html new file mode 100644 index 0000000..ed12e31 --- /dev/null +++ b/transsocial-theme/parts/header.html @@ -0,0 +1,15 @@ + +
+ +
+ +
+ + +
+ + +
+ +
+ diff --git a/transsocial-theme/patterns/columns-with-images.php b/transsocial-theme/patterns/columns-with-images.php new file mode 100644 index 0000000..edb9cc1 --- /dev/null +++ b/transsocial-theme/patterns/columns-with-images.php @@ -0,0 +1,42 @@ + + +
+ +
+ +
+ +

+
+ + +
+ +

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

+
+ +
+ diff --git a/transsocial-theme/patterns/hidden-404.php b/transsocial-theme/patterns/hidden-404.php new file mode 100644 index 0000000..99e4f4c --- /dev/null +++ b/transsocial-theme/patterns/hidden-404.php @@ -0,0 +1,20 @@ + + +

+ + +

+ + + diff --git a/transsocial-theme/patterns/hidden-footer-links.php b/transsocial-theme/patterns/hidden-footer-links.php new file mode 100644 index 0000000..3111947 --- /dev/null +++ b/transsocial-theme/patterns/hidden-footer-links.php @@ -0,0 +1,23 @@ + + + +
+ +

+ + + + + +
+ diff --git a/transsocial-theme/readme.txt b/transsocial-theme/readme.txt new file mode 100644 index 0000000..fafd014 --- /dev/null +++ b/transsocial-theme/readme.txt @@ -0,0 +1,67 @@ +=== transsocial-theme === +Contributors: Chuck Dries +Tested up to: 6.2 +Requires at least: 6.1 +Requires PHP: 7.4 +Version: 1.0.0 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Copyright: Chuck Dries + +A full site editing theme. Basic version. + +== Guide == + +=== Folder structure === + +- Assets. Images and CSS files. +- Parts. HTML template parts. +- Patterns. Block patterns. +- Templates. HTML block templates. + +functions.php -Used to enqueue styles and add theme support. +index.php -"Silence is golden". +style.css -Required to activate the theme. +theme.json -Settings and default styles. +license.txt -GPL v2 +readme.txt -Information about the theme. +screenshot.png + +== Changelog == +For changelogs please see the Github repository. + +1.0.0 Initial release + +== Licence == +transsocial-theme 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. + +== Resources used to build this theme == + +* Twenty Twenty-Two WordPress theme (C) WordPress.org +License: GNU General Public License v2.0 or later +License URI: https://www.gnu.org/licenses/gpl-2.0.html + +* Q WordPress theme (C) Ari Stathopoulos +License: GNU General Public License v2.0 or later +License URI: https://www.gnu.org/licenses/gpl-2.0.html + +* Full site editing starter theme by Carolina Nymark +https://fullsiteediting.com +License: GNU General Public License v2 or later +License URI: https://www.gnu.org/licenses/gpl-2.0.html + +Images +Images from pxhere.com. Public domain: +https://pxhere.com/en/photo/927190 -woman with curly hair +https://pxhere.com/en/photo/1049910 -woman with t-shirt +https://pxhere.com/en/photo/1604358 -woman with headphones diff --git a/transsocial-theme/screenshot.png b/transsocial-theme/screenshot.png new file mode 100644 index 0000000..5bddc87 Binary files /dev/null and b/transsocial-theme/screenshot.png differ diff --git a/transsocial-theme/style.css b/transsocial-theme/style.css new file mode 100644 index 0000000..a043e96 --- /dev/null +++ b/transsocial-theme/style.css @@ -0,0 +1,32 @@ +/* +Theme Name: transsocial-theme +Author: Chuck Dries +Author URI: https://chuckdries.com +Theme URI: +Tags: full-site-editing, block-patterns +Text Domain: transsocial-theme +Requires at least: 6.1 +Requires PHP: 7.4 +Tested up to: 6.2 +Version: 1.0.0 + +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +*/ + +/* Styles intended only for the front.*/ +html { + scroll-behavior: smooth; +} + +@media screen and (prefers-reduced-motion: reduce) { + + html { + scroll-behavior: auto; + } +} + +body { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; +} diff --git a/transsocial-theme/templates/404.html b/transsocial-theme/templates/404.html new file mode 100644 index 0000000..fb9f9cd --- /dev/null +++ b/transsocial-theme/templates/404.html @@ -0,0 +1,15 @@ + + + +
+ + + + + + + +
+ + + diff --git a/transsocial-theme/templates/archive.html b/transsocial-theme/templates/archive.html new file mode 100644 index 0000000..2441343 --- /dev/null +++ b/transsocial-theme/templates/archive.html @@ -0,0 +1,40 @@ + + + +
+ + + + + + + + +
+ + + + +
+ + + +
+ + + + + + + + + + + + +
+ +
+ + + diff --git a/transsocial-theme/templates/index.html b/transsocial-theme/templates/index.html new file mode 100644 index 0000000..eb96322 --- /dev/null +++ b/transsocial-theme/templates/index.html @@ -0,0 +1,32 @@ + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + + + + +
+ + +
+ + + diff --git a/transsocial-theme/templates/no-title.html b/transsocial-theme/templates/no-title.html new file mode 100644 index 0000000..0b2163b --- /dev/null +++ b/transsocial-theme/templates/no-title.html @@ -0,0 +1,14 @@ + + + +
+ + + + + + +
+ + + diff --git a/transsocial-theme/templates/page.html b/transsocial-theme/templates/page.html new file mode 100644 index 0000000..1140448 --- /dev/null +++ b/transsocial-theme/templates/page.html @@ -0,0 +1,17 @@ + + + +
+ + + + + + + + + +
+ + + diff --git a/transsocial-theme/templates/search.html b/transsocial-theme/templates/search.html new file mode 100644 index 0000000..d1385fd --- /dev/null +++ b/transsocial-theme/templates/search.html @@ -0,0 +1,59 @@ + + + +
+ + + + + + + + +
+ + + + +
+ + + +
+ + + + + + + + + + +

Sorry, but nothing matched your search terms. Please try again with some different keywords.

+ + + + + + + + +
+ + + + + + + + + + + + +
+
+ + + diff --git a/transsocial-theme/templates/single.html b/transsocial-theme/templates/single.html new file mode 100644 index 0000000..f55778b --- /dev/null +++ b/transsocial-theme/templates/single.html @@ -0,0 +1,85 @@ + + + +
+ + + + +
+ + + + +
+ + + + + + + + + + + + + +
+ + + +
+ + + +
+ +
+
+ + +
+ + +
+ + +
+ + + +
+ +
+ + + + + + + + + +
+ + + + + + + +
+ + +
+ + + + + + +
+ + + diff --git a/transsocial-theme/theme.json b/transsocial-theme/theme.json new file mode 100644 index 0000000..bc5c28a --- /dev/null +++ b/transsocial-theme/theme.json @@ -0,0 +1,333 @@ +{ + "version": 2, + "$schema": "https://schemas.wp.org/trunk/theme.json", + "settings": { + "appearanceTools": true, + "color": { + "palette": [ + { + "slug": "base", + "color": "#1e1e1e", + "name": "Base" + }, + { + "slug": "contrast", + "color": "#f0f0f0", + "name": "Contrast" + }, + { + "slug": "primary", + "color": "#0073aa", + "name": "Primary" + }, + { + "slug": "secondary", + "color": "#00a0d2", + "name": "Secondary" + }, + { + "slug": "transparent", + "color": "transparent", + "name": "Transparent" + } + ], + "gradients": [ + { + "slug": "primary-white", + "gradient": "linear-gradient(#0073aa 49.9%,#fff 50%)", + "name": "Primary color to white" + }, + { + "slug": "white-primary", + "gradient": "linear-gradient(#fff 49.9%,#0073aa 50%)", + "name": "Horizontal white to Primary color" + } + ], + "duotone": [ + { + "colors": [ "#00a0d2", "#0073aa"], + "slug": "secondary-primary", + "name": "Secondary and primary" + }, + { + "colors": ["#0073aa", "#f0f0f0"], + "slug": "primary-contrast", + "name": "Primary and Contrast" + } + ] + }, + "layout": { + "contentSize": "700px", + "wideSize": "1100px" + }, + "spacing": { + "units": [ "px", "em", "rem", "vh", "vw", "%" ] + }, + "typography": { + "dropCap": false, + "fluid": true, + "fontFamilies": [ + { + "name": "System", + "slug": "system", + "fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif" + }, + { + "name": "Serif", + "slug": "serif", + "fontFamily": "\"Times New Roman\",\"New York\",Times,\"Noto Serif\",serif" + }, + { + "name": "Monospace", + "slug": "monospace", + "fontFamily": "Consolas,Menlo,Monaco,\"SF Mono\",\"DejaVu Sans Mono\",\"Roboto Mono\",\"Courier New\",Courier,monospace" + } + ], + "fontSizes": [ + { + "slug": "extra-small", + "size": "1rem", + "name": "Extra small", + "fluid": false + }, + { + "slug": "small", + "size": "1.125rem", + "name": "Small", + "fluid": false + }, + { + "slug": "medium", + "size": "1.25rem", + "name": "Medium", + "fluid": { + "min": "1.25rem", + "max": "1.5rem" + } + }, + { + "slug": "large", + "size": "2rem", + "name": "Large", + "fluid": { + "min": "1.75rem", + "max": "2rem" + } + }, + { + "slug": "x-large", + "size": "2.75rem", + "name": "XL", + "fluid": { + "min": "2.5rem", + "max": "2.75rem" + } + }, + { + "slug": "xx-large", + "size": "3.75rem", + "name": "XXL", + "fluid": { + "min": "3rem", + "max": "3.75rem" + } + } + ] + }, + "useRootPaddingAwareAlignments": true + }, + "styles": { + "blocks": { + "core/code": { + "color": { + "text": "var(--wp--preset--color--contrast)" + } + }, + "core/comment-author-name": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/comment-date": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/comment-edit-link": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/comment-reply-link": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/navigation": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)", + "fontWeight": "700" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--contrast)" + }, + "typography": { + "textDecoration": "underline" + }, + ":hover": { + "color": { + "text": "var(--wp--preset--color--contrast)" + }, + "typography": { + "textDecoration": "none" + } + }, + ":focus": { + "color": { + "text": "var(--wp--preset--color--contrast)" + } + }, + ":active": { + "color": { + "text": "var(--wp--preset--color--contrast)" + } + } + } + } + }, + "core/post-author": { + "typography": { + "fontSize": "var(--wp--preset--font-size--extra-small)" + } + }, + "core/post-date": { + "typography": { + "fontSize": "var(--wp--preset--font-size--extra-small)" + } + }, + "core/post-navigation-link": { + "typography": { + "fontWeight": "700" + } + }, + "core/post-terms": { + "typography": { + "fontSize": "var(--wp--preset--font-size--extra-small)" + } + }, + "core/post-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-large)" + } + }, + "core/query-pagination": { + "typography": { + "fontWeight": "700" + } + }, + "core/query-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-large)" + } + }, + "core/site-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + } + }, + "color": { + "background": "var(--wp--preset--color--base)", + "text": "var(--wp--preset--color--contrast)" + }, + "elements": { + "button": { + "border": { + "color": "var(--wp--preset--color--transparent)", + "width": "4px", + "style": "solid", + "radius": "4px" + }, + "color": { + "background": "var(--wp--preset--color--primary)", + "text": "var(--wp--preset--color--contrast)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "fontWeight": "700" + }, + "shadow": "var(--wp--preset--shadow--natural)", + ":hover": { + "border": { + "color": "var(--wp--preset--color--secondary)" + } + } + }, + "caption": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + }, + "cite": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + }, + "link": { + "color": { + "text": "var(--wp--preset--color--contrast)" + }, + ":hover": { + "color": { + "text": "var(--wp--preset--color--contrast)" + }, + "typography": { + "textDecoration": "none" + } + }, + ":focus": { + "color": { + "text": "var(--wp--preset--color--contrast)" + } + }, + ":active": { + "color": { + "text": "var(--wp--preset--color--contrast)" + } + } + } + }, + "spacing": { + "padding": { + "right": "var(--wp--preset--spacing--50)", + "left": "var(--wp--preset--spacing--50)" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)", + "fontFamily": "var(--wp--preset--font-family--system)", + "lineHeight": "1.75" + } + }, + "templateParts": [ + { + "name": "header", + "title": "Header", + "area": "header" + }, + { + "name": "footer", + "title": "Footer", + "area": "footer" + } + ], + "customTemplates": [ + { + "name": "no-title", + "title": "No title", + "postTypes": [ "post","page" ] + } + ] +}