diff --git a/ici/assets/fonts/inter_normal_100.ttf b/ici/assets/fonts/inter_normal_100.ttf new file mode 100644 index 0000000000..7aed55d560 Binary files /dev/null and b/ici/assets/fonts/inter_normal_100.ttf differ diff --git a/ici/assets/fonts/inter_normal_200.ttf b/ici/assets/fonts/inter_normal_200.ttf new file mode 100644 index 0000000000..64aee30a4e Binary files /dev/null and b/ici/assets/fonts/inter_normal_200.ttf differ diff --git a/ici/assets/fonts/inter_normal_300.ttf b/ici/assets/fonts/inter_normal_300.ttf new file mode 100644 index 0000000000..9e265d8905 Binary files /dev/null and b/ici/assets/fonts/inter_normal_300.ttf differ diff --git a/ici/assets/fonts/inter_normal_400.ttf b/ici/assets/fonts/inter_normal_400.ttf new file mode 100644 index 0000000000..8d4eebf206 Binary files /dev/null and b/ici/assets/fonts/inter_normal_400.ttf differ diff --git a/ici/assets/fonts/inter_normal_500.ttf b/ici/assets/fonts/inter_normal_500.ttf new file mode 100644 index 0000000000..b53fb1c4ac Binary files /dev/null and b/ici/assets/fonts/inter_normal_500.ttf differ diff --git a/ici/assets/fonts/inter_normal_600.ttf b/ici/assets/fonts/inter_normal_600.ttf new file mode 100644 index 0000000000..c6aeeb16a6 Binary files /dev/null and b/ici/assets/fonts/inter_normal_600.ttf differ diff --git a/ici/assets/fonts/inter_normal_700.ttf b/ici/assets/fonts/inter_normal_700.ttf new file mode 100644 index 0000000000..8e82c70d10 Binary files /dev/null and b/ici/assets/fonts/inter_normal_700.ttf differ diff --git a/ici/assets/fonts/inter_normal_800.ttf b/ici/assets/fonts/inter_normal_800.ttf new file mode 100644 index 0000000000..cb4b8217fc Binary files /dev/null and b/ici/assets/fonts/inter_normal_800.ttf differ diff --git a/ici/assets/fonts/inter_normal_900.ttf b/ici/assets/fonts/inter_normal_900.ttf new file mode 100644 index 0000000000..5aecf7dc41 Binary files /dev/null and b/ici/assets/fonts/inter_normal_900.ttf differ diff --git a/ici/functions.php b/ici/functions.php new file mode 100644 index 0000000000..5f617aadae --- /dev/null +++ b/ici/functions.php @@ -0,0 +1,60 @@ +get( 'Version' ) + ); + + // Enqueue theme stylesheet. + wp_enqueue_style( 'ici-style' ); + + } + +endif; + +add_action( 'wp_enqueue_scripts', 'ici_styles' ); diff --git a/ici/parts/footer.html b/ici/parts/footer.html new file mode 100644 index 0000000000..df08ab72be --- /dev/null +++ b/ici/parts/footer.html @@ -0,0 +1 @@ + diff --git a/ici/parts/header.html b/ici/parts/header.html new file mode 100644 index 0000000000..fde20c75f5 --- /dev/null +++ b/ici/parts/header.html @@ -0,0 +1 @@ + diff --git a/ici/patterns/404.php b/ici/patterns/404.php new file mode 100644 index 0000000000..964f246318 --- /dev/null +++ b/ici/patterns/404.php @@ -0,0 +1,13 @@ + + + +

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

WordPress'; + echo sprintf( + esc_html__( 'Ici Theme –––– Designed with %1$s', 'ici' ), + $wordpress_link + ); + ?>

+ +
+ diff --git a/ici/patterns/header.php b/ici/patterns/header.php new file mode 100644 index 0000000000..6698bf4235 --- /dev/null +++ b/ici/patterns/header.php @@ -0,0 +1,22 @@ + + + +
+ + + + + + + +
+ +
+ diff --git a/ici/patterns/no-results.php b/ici/patterns/no-results.php new file mode 100644 index 0000000000..dd34066c0f --- /dev/null +++ b/ici/patterns/no-results.php @@ -0,0 +1,10 @@ + + +

+ diff --git a/ici/readme.txt b/ici/readme.txt new file mode 100644 index 0000000000..b25de80416 --- /dev/null +++ b/ici/readme.txt @@ -0,0 +1,38 @@ +=== Ici === +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 == + +The design goal of Ici was to craft a mobile-first layout with high visual density on a narrow space. This theme could be a good choice for users that want to write a newsletter or a personal journal. + +== Changelog == + += 1.0.0 = +* Initial release + +== Copyright == + +Ici is based on Ici 2 (), (C) , [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) + +Ici 2 WordPress Theme, (C) 2023 +Ici 2 is distributed under the terms of the GNU GPL. +Ici 2 is based on Superstack (), (C) , [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) + +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. + +Inter Font +Licensed under SIL Open Font License, 1.1 (http://scripts.sil.org/OFL) +https://fonts.google.com/specimen/Inter diff --git a/ici/screenshot.png b/ici/screenshot.png new file mode 100644 index 0000000000..dcc9609b60 Binary files /dev/null and b/ici/screenshot.png differ diff --git a/ici/style.css b/ici/style.css new file mode 100644 index 0000000000..0174d30050 --- /dev/null +++ b/ici/style.css @@ -0,0 +1,24 @@ +/* +Theme Name: Ici +Theme URI: https://wordpress.com/theme/ici/ +Author: Automattic +Author URI: https://automattic.com/ +Description: The design goal of Ici was to craft a mobile-first layout with high visual density on a narrow space. This theme could be a good choice for users that want to write a newsletter or a personal journal. +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: ici +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--tertiary); + border-color: var(--wp--preset--color--tertiary); + color: var(--wp--preset--color--base); +} diff --git a/ici/templates/404.html b/ici/templates/404.html new file mode 100644 index 0000000000..11e6ee8f81 --- /dev/null +++ b/ici/templates/404.html @@ -0,0 +1,13 @@ + + + +
+ +
+ +
+ +
+ + + diff --git a/ici/templates/archive.html b/ici/templates/archive.html new file mode 100644 index 0000000000..3a84e0940b --- /dev/null +++ b/ici/templates/archive.html @@ -0,0 +1,53 @@ + + + +
+ +
+ + + + + + + + +
+ + + +
+ + + +
+ +
+ + +
+ + + +
+ +
+ + + +
+ + + + + + + +
+ +
+ +
+ + + diff --git a/ici/templates/author.html b/ici/templates/author.html new file mode 100644 index 0000000000..696a37e626 --- /dev/null +++ b/ici/templates/author.html @@ -0,0 +1,65 @@ + + + +
+ +
+ +
+ + + +
+ + + +
+ +
+ + + + + + + + +
+ + + +
+ + + +
+ +
+ + +
+ + + +
+ +
+ + + +
+ + + + + + + +
+ +
+ +
+ + + diff --git a/ici/templates/index.html b/ici/templates/index.html new file mode 100644 index 0000000000..94ab680527 --- /dev/null +++ b/ici/templates/index.html @@ -0,0 +1,47 @@ + + + +
+ +
+ + +
+ + + +
+ + + +
+ +
+ + +
+ + + +
+ +
+ + + +
+ + + + + + + +
+ +
+ +
+ + + diff --git a/ici/templates/page.html b/ici/templates/page.html new file mode 100644 index 0000000000..ddaa181a9e --- /dev/null +++ b/ici/templates/page.html @@ -0,0 +1,29 @@ + + + +
+ +
+ + + +
+ + + + + +
+ + + + + +
+ +
+ + + + + diff --git a/ici/templates/search.html b/ici/templates/search.html new file mode 100644 index 0000000000..bb759299c9 --- /dev/null +++ b/ici/templates/search.html @@ -0,0 +1,57 @@ + + + +
+ +
+ + + +
+ +
+ + +
+ + + +
+ + + +
+ +
+ + + + + + +
+ + + +
+ +
+ + + +
+ + + + + + + +
+ +
+ +
+ + + diff --git a/ici/templates/single.html b/ici/templates/single.html new file mode 100644 index 0000000000..6f757e39e7 --- /dev/null +++ b/ici/templates/single.html @@ -0,0 +1,51 @@ + + + +
+ +
+ + + +
+ + + + + +
+ + + + + + + +
+ + + +
+ + + +
+ + + + + + + +
+ + + +
+ +
+ + + + + diff --git a/ici/theme.json b/ici/theme.json new file mode 100644 index 0000000000..842651d74f --- /dev/null +++ b/ici/theme.json @@ -0,0 +1,658 @@ +{ + "settings": { + "appearanceTools": true, + "color": { + "defaultDuotone": false, + "defaultGradients": false, + "defaultPalette": false, + "palette": [ + { + "color": "#fbfbfb", + "name": "Base", + "slug": "base" + }, + { + "color": "#3f3f3f", + "name": "Contrast", + "slug": "contrast" + }, + { + "color": "#afafaf", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#dcdcdc", + "name": "Secondary", + "slug": "secondary" + }, + { + "color": "#2f2f2f", + "name": "Tertiary", + "slug": "tertiary" + } + ] + }, + "layout": { + "contentSize": "400px", + "wideSize": "92vw" + }, + "spacing": { + "units": [ + "%", + "px", + "em", + "rem", + "vh", + "vw" + ] + }, + "typography": { + "fluid": true, + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "100", + "src": [ + "file:./assets/fonts/inter_normal_100.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "200", + "src": [ + "file:./assets/fonts/inter_normal_200.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/inter_normal_300.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/inter_normal_400.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/inter_normal_500.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/inter_normal_600.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/inter_normal_700.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/inter_normal_800.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "900", + "src": [ + "file:./assets/fonts/inter_normal_900.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "100", + "src": [ + "file:./assets/fonts/inter_normal_100.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "200", + "src": [ + "file:./assets/fonts/inter_normal_200.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/inter_normal_300.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/inter_normal_400.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/inter_normal_500.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/inter_normal_600.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/inter_normal_700.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/inter_normal_800.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "900", + "src": [ + "file:./assets/fonts/inter_normal_900.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "100", + "src": [ + "file:./assets/fonts/inter_normal_100.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "200", + "src": [ + "file:./assets/fonts/inter_normal_200.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/inter_normal_300.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/inter_normal_400.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/inter_normal_500.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/inter_normal_600.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/inter_normal_700.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/inter_normal_800.ttf" + ] + }, + { + "fontFamily": "Inter", + "fontStyle": "normal", + "fontWeight": "900", + "src": [ + "file:./assets/fonts/inter_normal_900.ttf" + ] + } + ], + "fontFamily": "Inter", + "slug": "inter" + } + ], + "fontSizes": [ + { + "fluid": { + "max": "0.7rem", + "min": "0.45rem" + }, + "name": "Nano", + "size": "0.6rem", + "slug": "xxx-small" + }, + { + "fluid": { + "max": "0.9rem", + "min": "0.65rem" + }, + "name": "Tinier", + "size": "0.8rem", + "slug": "xx-small" + }, + { + "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": "var(--wp--preset--color--primary)", + "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)" + } + }, + "typography": { + "fontFamily": "monospace" + } + }, + "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)" + } + } + }, + "core/list": { + "spacing": { + "padding": { + "left": "var(--wp--preset--spacing--70)" + } + } + }, + "core/post-author-biography": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, + "core/post-author-name": { + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)", + "fontStyle": "normal", + "fontWeight": "400" + } + }, + "core/post-content": { + "elements": { + "link": { + ":hover": { + "typography": { + "textDecoration": "none" + } + }, + "typography": { + "textDecoration": "underline" + } + } + } + }, + "core/post-date": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)", + "textTransform": "none" + } + }, + "core/post-navigation-link": { + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)" + } + }, + "core/post-terms": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)", + "textTransform": "lowercase" + } + }, + "core/post-title": { + "spacing": { + "margin": { + "bottom": "0" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, + "core/query-pagination": { + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)" + } + }, + "core/query-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)" + } + }, + "core/quote": { + "border": { + "color": "var(--wp--preset--color--secondary)", + "style": "solid", + "width": "0 0 0 2px" + }, + "elements": { + "cite": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)", + "fontStyle": "normal" + } + } + }, + "spacing": { + "margin": { + "left": "0" + }, + "padding": { + "left": "var(--wp--preset--spacing--50)" + } + }, + "typography": { + "fontStyle": "normal" + } + }, + "core/search": { + "border": { + "color": "var(--wp--preset--color--primary)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)", + "lineHeight": "1.3" + } + }, + "core/separator": { + "border": { + "color": "currentColor", + "style": "solid", + "width": "0 0 1px 0" + }, + "color": { + "background": "var(--wp--preset--color--secondary)", + "text": "var(--wp--preset--color--secondary)" + }, + "spacing": { + "margin": { + "bottom": "0", + "top": "0" + } + } + }, + "core/site-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)", + "fontWeight": "700" + } + }, + "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--contrast)" + }, + "elements": { + "button": { + ":hover": { + "color": { + "background": "var(--wp--preset--color--tertiary)", + "text": "var(--wp--preset--color--base)" + } + }, + "border": { + "radius": "2px" + }, + "color": { + "background": "var(--wp--preset--color--secondary)", + "text": "var(--wp--preset--color--2f2f2f)" + } + }, + "caption": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--xxx-small)" + } + }, + "h1": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "lineHeight": "1.1" + } + }, + "h2": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)", + "lineHeight": "1.1" + } + }, + "h3": { + "typography": { + "fontSize": "var(--wp--preset--font-size--x-small)", + "lineHeight": "1.2" + } + }, + "h4": { + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)", + "textTransform": "uppercase" + } + }, + "h5": { + "typography": { + "fontSize": "var(--wp--preset--font-size--xx-small)", + "fontWeight": "normal", + "textTransform": "uppercase" + } + }, + "h6": { + "typography": { + "fontSize": "var(--wp--preset--font-size--xxx-small)", + "fontWeight": "normal", + "textTransform": "uppercase" + } + }, + "heading": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--inter)", + "fontStyle": "normal", + "fontWeight": "600", + "lineHeight": "1.6", + "textTransform": "none" + } + }, + "link": { + ":hover": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "typography": { + "textDecoration": "none" + } + }, + "color": { + "text": "var(--wp--preset--color--tertiary)" + }, + "typography": { + "textDecoration": "none" + } + } + }, + "spacing": { + "blockGap": "var(--wp--preset--spacing--50)", + "padding": { + "bottom": "0", + "left": "var(--wp--preset--spacing--30)", + "right": "var(--wp--preset--spacing--30)", + "top": "0" + } + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--inter)", + "fontSize": "var(--wp--preset--font-size--x-small)", + "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" +}