From 123490e5416f5a85c98b1a2874d59336b9204925 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Fri, 13 Jan 2023 11:15:10 +0500 Subject: [PATCH] generate basic block theme with color palette --- index.php | 9 ++ license.txt | 339 +++++++++++++++++++++++++++++++++++++++++++ readme.txt | 30 ++++ style.css | 22 +++ templates/index.html | 0 theme.json | 59 ++++++++ 6 files changed, 459 insertions(+) create mode 100644 index.php create mode 100644 license.txt create mode 100644 readme.txt create mode 100644 style.css create mode 100644 templates/index.html create mode 100644 theme.json diff --git a/index.php b/index.php new file mode 100644 index 0000000..ddc2ad2 --- /dev/null +++ b/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/readme.txt b/readme.txt new file mode 100644 index 0000000..7dab266 --- /dev/null +++ b/readme.txt @@ -0,0 +1,30 @@ +=== Autonomic === +Contributors: Autonomic Co-operative +Tested up to: 6.0 +Requires at least: 6.0 +Requires PHP: 7.4 +Version: 1.0.0 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Copyright: Autonomic Co-operative + +A full site editing theme. No code version. + +== Changelog == +1.0.0 Initial release + +== Licence == +Autonomic 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. + +* Full site editing starter theme by Carolina Nymark +https://fullsiteediting.com diff --git a/style.css b/style.css new file mode 100644 index 0000000..490676e --- /dev/null +++ b/style.css @@ -0,0 +1,22 @@ +/* +Theme Name: Autonomic +Author: Autonomic Co-operative +Author URI: https://autonomic.zone +Theme URI: +Tags: full-site-editing +Text Domain: autonomic +Requires at least: 6.0 +Requires PHP: 7.4 +Tested up to: 6.0 +Version: 1.0.0 + +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +All files, unless otherwise stated, are released under the GNU General Public +License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) + +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. +*/ diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..e69de29 diff --git a/theme.json b/theme.json new file mode 100644 index 0000000..a78c671 --- /dev/null +++ b/theme.json @@ -0,0 +1,59 @@ +{ + "version": 2, + "settings": { + "appearanceTools": true, + "color": { + "defaultPalette": false, + "defaultGradients": false, + "defaultDuotone": false, + "palette": [ + { + "slug": "background", + "color": "#ffffff", + "name": "Background" + }, + { + "slug": "foreground", + "color": "#dc3e9d", + "name": "Foreground" + }, + { + "slug": "primary", + "color": "#dc3e9d", + "name": "Primary" + }, + { + "slug": "secondary", + "color": "#27c773", + "name": "Secondary" + } + ] + }, + "layout": { + "contentSize": "700px", + "wideSize": "1100px" + }, + "spacing": { + "units": [ "px", "em", "rem", "vh", "vw", "%" ] + }, + "typography": { + "dropCap": true, + "fontFamilies": [ + { + "name": "System (Roboto, Segoe UI, Ubuntu)", + "slug": "system", + "fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif" + } + ] + } + }, + "styles": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system)" + }, + "color": { + "background": "var(--wp--preset--color--background)", + "text": "var(--wp--preset--color--foreground)" + } + } +}