diff --git a/shhh/assets/fonts/dm-mono_italic_300.ttf b/shhh/assets/fonts/dm-mono_italic_300.ttf new file mode 100644 index 0000000000..164a019f34 Binary files /dev/null and b/shhh/assets/fonts/dm-mono_italic_300.ttf differ diff --git a/shhh/assets/fonts/dm-mono_italic_400.ttf b/shhh/assets/fonts/dm-mono_italic_400.ttf new file mode 100644 index 0000000000..5869450616 Binary files /dev/null and b/shhh/assets/fonts/dm-mono_italic_400.ttf differ diff --git a/shhh/assets/fonts/dm-mono_italic_500.ttf b/shhh/assets/fonts/dm-mono_italic_500.ttf new file mode 100644 index 0000000000..24103cd64d Binary files /dev/null and b/shhh/assets/fonts/dm-mono_italic_500.ttf differ diff --git a/shhh/assets/fonts/dm-mono_normal_300.ttf b/shhh/assets/fonts/dm-mono_normal_300.ttf new file mode 100644 index 0000000000..b655a6e3c1 Binary files /dev/null and b/shhh/assets/fonts/dm-mono_normal_300.ttf differ diff --git a/shhh/assets/fonts/dm-mono_normal_400.ttf b/shhh/assets/fonts/dm-mono_normal_400.ttf new file mode 100644 index 0000000000..4bb53cf267 Binary files /dev/null and b/shhh/assets/fonts/dm-mono_normal_400.ttf differ diff --git a/shhh/assets/fonts/dm-mono_normal_500.ttf b/shhh/assets/fonts/dm-mono_normal_500.ttf new file mode 100644 index 0000000000..8a9988ec67 Binary files /dev/null and b/shhh/assets/fonts/dm-mono_normal_500.ttf differ diff --git a/shhh/functions.php b/shhh/functions.php new file mode 100644 index 0000000000..c9608bbf0f --- /dev/null +++ b/shhh/functions.php @@ -0,0 +1,61 @@ +get( 'Version' ) + ); + + // Enqueue theme stylesheet. + wp_enqueue_style( 'shhh-style' ); + + } + +endif; + +add_action( 'wp_enqueue_scripts', 'shhh_styles' ); diff --git a/shhh/parts/footer.html b/shhh/parts/footer.html new file mode 100644 index 0000000000..5f26ffed68 --- /dev/null +++ b/shhh/parts/footer.html @@ -0,0 +1 @@ + diff --git a/shhh/parts/header.html b/shhh/parts/header.html new file mode 100644 index 0000000000..d0fb1d08ad --- /dev/null +++ b/shhh/parts/header.html @@ -0,0 +1 @@ + diff --git a/shhh/patterns/404.php b/shhh/patterns/404.php new file mode 100644 index 0000000000..34f40c9a80 --- /dev/null +++ b/shhh/patterns/404.php @@ -0,0 +1,13 @@ + + + +

+ diff --git a/shhh/patterns/comments.php b/shhh/patterns/comments.php new file mode 100644 index 0000000000..e275b49c87 --- /dev/null +++ b/shhh/patterns/comments.php @@ -0,0 +1,57 @@ + + + +
+ +
+ + + + +
+ +
+ + + +
+ + + +
+ + + +
+ +
+ +
+ + + + + +
+ + + + + + + + + + +
+ +
+ diff --git a/shhh/patterns/excerpt.php b/shhh/patterns/excerpt.php new file mode 100644 index 0000000000..0a85874ce4 --- /dev/null +++ b/shhh/patterns/excerpt.php @@ -0,0 +1,11 @@ + + + diff --git a/shhh/patterns/footer.php b/shhh/patterns/footer.php new file mode 100644 index 0000000000..9f19c3890e --- /dev/null +++ b/shhh/patterns/footer.php @@ -0,0 +1,29 @@ + + + + + + + +
+ +

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

+ +
+ diff --git a/shhh/patterns/header.php b/shhh/patterns/header.php new file mode 100644 index 0000000000..99dd5a3c2a --- /dev/null +++ b/shhh/patterns/header.php @@ -0,0 +1,36 @@ + + + +
+ +
+ + + +

+ + + +
+ + + +
+ +
+ + + + + +
+ diff --git a/shhh/readme.txt b/shhh/readme.txt new file mode 100644 index 0000000000..9e56ac9a93 --- /dev/null +++ b/shhh/readme.txt @@ -0,0 +1,38 @@ +=== Shhh === +Contributors: Automattic +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 == + +Silence. + +== Changelog == + += 1.0.0 = +* Initial release + +== Copyright == + +Shhh WordPress Theme, (C) 2023 Matías & Pablo +Shhh 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. + +DM Mono Font +Copyright 2020 The DM Mono Project Authors (https://www.github.com/googlefonts/dm-mono) +This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL +License URL: http://scripts.sil.org/OFL +Source: https://www.colophon-foundry.org +-- End of DM Mono Font credits -- diff --git a/shhh/screenshot.png b/shhh/screenshot.png new file mode 100644 index 0000000000..ed82c9af75 Binary files /dev/null and b/shhh/screenshot.png differ diff --git a/shhh/style.css b/shhh/style.css new file mode 100644 index 0000000000..2353f955f2 --- /dev/null +++ b/shhh/style.css @@ -0,0 +1,32 @@ +/* +Theme Name: Shhh +Theme URI: https://wordpress.com/theme/shhh/ +Author: Automattic +Author URI: https://automattic.com/ +Description: Silence. +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: shhh +Tags: blog, one-column, wide-blocks, block-styles, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready +*/ + +/* +* 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); +} + +/* +* Control the hover stylings of the pseudo element in post title block. +* For some reason, this does not work if the style is added to the theme.json. +*/ +.wp-block-post-title:hover::before { + color:var(--wp--preset--color--primary); +} diff --git a/shhh/styles/dark.json b/shhh/styles/dark.json new file mode 100644 index 0000000000..ff06b41bae --- /dev/null +++ b/shhh/styles/dark.json @@ -0,0 +1,46 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 2, + "title": "Dark", + "settings": { + "color": { + "palette": [ + { + "color": "#111111", + "name": "base", + "slug": "Base" + }, + { + "color": "#2F5EE9", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#ffffff", + "name": "Secondary", + "slug": "secondary" + }, + { + "color": "#878787", + "name": "Tertiary", + "slug": "tertiary" + }, + { + "color": "#2F5EE911", + "name": "Accent", + "slug": "accent" + }, + { + "color": "#2F5EE91F", + "name": "Accent / Two", + "slug": "accent-2" + }, + { + "color": "#11111111", + "name": "Accent / Three", + "slug": "accent-3" + } + ] + } + } +} diff --git a/shhh/templates/404.html b/shhh/templates/404.html new file mode 100644 index 0000000000..cfadd98a31 --- /dev/null +++ b/shhh/templates/404.html @@ -0,0 +1,13 @@ + + + +
+ + + + + +
+ + + diff --git a/shhh/templates/archive.html b/shhh/templates/archive.html new file mode 100644 index 0000000000..def17b7e5f --- /dev/null +++ b/shhh/templates/archive.html @@ -0,0 +1,39 @@ + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + +
+ +
+ + + diff --git a/shhh/templates/index.html b/shhh/templates/index.html new file mode 100644 index 0000000000..1f3e70974f --- /dev/null +++ b/shhh/templates/index.html @@ -0,0 +1,33 @@ + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + +
+ +
+ + + diff --git a/shhh/templates/page.html b/shhh/templates/page.html new file mode 100644 index 0000000000..169579bb99 --- /dev/null +++ b/shhh/templates/page.html @@ -0,0 +1,21 @@ + + + +
+ +
+ + + +
+ + + + + + + +
+ + + diff --git a/shhh/templates/search.html b/shhh/templates/search.html new file mode 100644 index 0000000000..f888586c04 --- /dev/null +++ b/shhh/templates/search.html @@ -0,0 +1,39 @@ + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + +
+ +
+ + + diff --git a/shhh/templates/single.html b/shhh/templates/single.html new file mode 100644 index 0000000000..a2e9513141 --- /dev/null +++ b/shhh/templates/single.html @@ -0,0 +1,53 @@ + + + +
+ +
+ +
+ + + +
+ +
+ + + + + +
+ + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + +
+ +
+ +
+ +
+ + + diff --git a/shhh/theme.json b/shhh/theme.json new file mode 100644 index 0000000000..16853cbd00 --- /dev/null +++ b/shhh/theme.json @@ -0,0 +1,539 @@ +{ + "settings": { + "appearanceTools": true, + "color": { + "palette": [ + { + "color": "#ffffff", + "name": "base", + "slug": "Base" + }, + { + "color": "#2F5EE9", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#111111", + "name": "Secondary", + "slug": "secondary" + }, + { + "color": "#878787", + "name": "Tertiary", + "slug": "tertiary" + }, + { + "color": "#2F5EE911", + "name": "Accent", + "slug": "accent" + }, + { + "color": "#2F5EE91F", + "name": "Accent / Two", + "slug": "accent-2" + }, + { + "color": "#11111111", + "name": "Accent / Three", + "slug": "accent-3" + } + ] + }, + "layout": { + "contentSize": "68vw", + "wideSize": "calc(100% - 2*var(--wp--preset--spacing--60))" + }, + "spacing": { + "units": [ + "%", + "px", + "em", + "rem", + "vh", + "vw" + ] + }, + "typography": { + "fluid": true, + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "DM Mono", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/dm-mono_normal_300.ttf" + ] + }, + { + "fontFamily": "DM Mono", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/dm-mono_normal_400.ttf" + ] + }, + { + "fontFamily": "DM Mono", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/dm-mono_normal_500.ttf" + ] + }, + { + "fontFamily": "DM Mono", + "fontStyle": "italic", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/dm-mono_italic_300.ttf" + ] + }, + { + "fontFamily": "DM Mono", + "fontStyle": "italic", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/dm-mono_italic_400.ttf" + ] + }, + { + "fontFamily": "DM Mono", + "fontStyle": "italic", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/dm-mono_italic_500.ttf" + ] + } + ], + "fontFamily": "'DM Mono', monospace", + "name": "DM Mono", + "slug": "dm-mono" + } + ], + "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": { + "border": { + "color": "#cccccc", + "radius": "2px", + "style": "solid", + "width": "2px" + }, + "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)" + } + } + }, + "core/comment-author-name": { + "typography": { + "fontSize": "0.8rem" + } + }, + "core/comment-content": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/comment-date": { + "typography": { + "fontSize": "0.8rem" + } + }, + "core/comment-edit-link": { + "typography": { + "fontSize": "0.8rem" + } + }, + "core/comment-reply-link": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "textDecoration": "underline" + } + }, + "core/comments-pagination": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/comments-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "core/gallery": { + "spacing": { + "margin": { + "bottom": "var(--wp--preset--spacing--50)" + } + } + }, + "core/group": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "core/heading": { + "spacing": { + "margin": { + "bottom": "var(--wp--preset--spacing--30)", + "left": "0", + "right": "0", + "top": "var(--wp--preset--spacing--70)" + } + } + }, + "core/list": { + "spacing": { + "padding": { + "left": "var(--wp--preset--spacing--70)" + } + } + }, + "core/navigation": { + "elements": { + "link": { + ":hover": { + "color": { + "background": "var(--wp--preset--color--accent-3)" + } + } + } + }, + "typography": { + "textTransform": "none" + } + }, + "core/post-content": { + "elements": { + "link": { + ":hover": { + "color": { + "background": "var(--wp--preset--color--accent)", + "text": "var(--wp--preset--color--primary)" + } + }, + "color": { + "background": "var(--wp--preset--color--accent-2)" + } + } + } + }, + "core/post-date": { + "color": { + "text": "var(--wp--preset--color--tertiary)" + }, + "elements": { + "link": { + ":hover": { + "color": { + "background": "var(--wp--preset--color--accent)", + "text": "var(--wp--preset--color--primary)" + } + }, + "color": { + "text": "var(--wp--preset--color--tertiary)" + } + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)", + "textTransform": "none" + } + }, + "core/post-excerpt": { + "elements": { + "link": { + ":hover": { + "color": { + "background": "var(--wp--preset--color--primary)", + "text": "var(--wp--preset--color--base)" + } + }, + "color": { + "background": "var(--wp--preset--color--accent-2)" + } + } + } + }, + "core/post-terms": { + "typography": { + "textTransform": "uppercase" + } + }, + "core/post-title": { + "css": ".wp-block-post-title::before {content:'⌗';margin-left:-32px;color: #ABB8C3;position:absolute;font-weight:normal;}", + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal", + "fontWeight": "700" + } + }, + "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-title": { + "typography": { + "fontStyle": "normal", + "fontWeight": "300" + } + }, + "core/quote": { + "border": { + "style": "solid", + "width": "0 0 0 4px" + }, + "elements": { + "cite": { + "color": { + "text": "var(--wp--preset--color--secondary)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "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--small)" + } + }, + "core/site-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal", + "fontWeight": "300", + "textDecoration": "none", + "textTransform": "none" + } + } + }, + "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": "0" + }, + "color": { + "background": "var(--wp--preset--color--secondary)", + "text": "var(--wp--preset--color--base)" + } + }, + "caption": { + "color": { + "text": "#8B9399" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "h1": { + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontWeight": "700", + "lineHeight": "1.1" + } + }, + "h2": { + "typography": { + "fontSize": "1.45rem", + "fontWeight": "700", + "lineHeight": "1.1" + } + }, + "h3": { + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontWeight": "700", + "lineHeight": "1.2" + } + }, + "h4": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "h5": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)" + } + }, + "h6": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "heading": { + "typography": { + "fontWeight": "300", + "lineHeight": "1.6" + } + }, + "link": { + ":focus": { + "color": { + "background": "var(--wp--preset--color--accent)", + "text": "var(--wp--preset--color--primary)" + } + }, + ":hover": { + "color": { + "background": "var(--wp--preset--color--accent)", + "text": "var(--wp--preset--color--primary)" + } + }, + "color": { + "text": "var(--wp--preset--color--secondary)" + }, + "typography": { + "textDecoration": "none" + } + } + }, + "spacing": { + "blockGap": "var(--wp--preset--spacing--60)", + "padding": { + "bottom": "0", + "left": "0", + "right": "0", + "top": "0" + } + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--dm-mono)", + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal", + "fontWeight": "300", + "lineHeight": "1.6" + } + }, + "templateParts": [ + { + "area": "header", + "name": "header", + "title": "Header" + }, + { + "area": "footer", + "name": "footer", + "title": "Footer" + } + ], + "version": 2, + "$schema": "https://schemas.wp.org/trunk/theme.json" +}