Alej 3 роки тому
коміт
2276dd0d10
58 змінених файлів з 4558 додано та 0 видалено
  1. 33
    0
      .gitignore
  2. 5
    0
      adminer.ini
  3. 104
    0
      configs/wp-config.php
  4. 32
    0
      deployment/post-receive
  5. 63
    0
      docker-compose.yml
  6. 5
    0
      sample.env
  7. 5
    0
      uploads.ini
  8. BIN
      yoac-theme/assets/fonts/dm-sans/DMSans-Bold-Italic.woff2
  9. BIN
      yoac-theme/assets/fonts/dm-sans/DMSans-Bold.woff2
  10. BIN
      yoac-theme/assets/fonts/dm-sans/DMSans-Regular-Italic.woff2
  11. BIN
      yoac-theme/assets/fonts/dm-sans/DMSans-Regular.woff2
  12. 94
    0
      yoac-theme/assets/fonts/dm-sans/LICENSE.txt
  13. BIN
      yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2
  14. BIN
      yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2
  15. BIN
      yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2
  16. BIN
      yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2
  17. 93
    0
      yoac-theme/assets/fonts/ibm-plex-mono/OFL.txt
  18. BIN
      yoac-theme/assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf
  19. 93
    0
      yoac-theme/assets/fonts/inter/LICENSE.txt
  20. 93
    0
      yoac-theme/assets/fonts/source-serif-pro/LICENSE.md
  21. BIN
      yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.otf.woff2
  22. BIN
      yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2
  23. BIN
      yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.otf.woff2
  24. BIN
      yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2
  25. 1
    0
      yoac-theme/parts/comments.html
  26. 29
    0
      yoac-theme/parts/footer.html
  27. 0
    0
      yoac-theme/parts/header-inside-full-width-background-image.html
  28. 7
    0
      yoac-theme/parts/header.html
  29. 1
    0
      yoac-theme/parts/post-meta.html
  30. 41
    0
      yoac-theme/patterns/call-to-action.php
  31. 28
    0
      yoac-theme/patterns/footer-default.php
  32. 28
    0
      yoac-theme/patterns/hidden-404.php
  33. 57
    0
      yoac-theme/patterns/hidden-comments.php
  34. 14
    0
      yoac-theme/patterns/hidden-no-results.php
  35. 76
    0
      yoac-theme/patterns/post-meta.php
  36. 41
    0
      yoac-theme/readme.txt
  37. BIN
      yoac-theme/screenshot.png
  38. 15
    0
      yoac-theme/style.css
  39. 292
    0
      yoac-theme/styles/aubergine.json
  40. 245
    0
      yoac-theme/styles/block-out.json
  41. 251
    0
      yoac-theme/styles/canary.json
  42. 100
    0
      yoac-theme/styles/electric.json
  43. 97
    0
      yoac-theme/styles/grapes.json
  44. 317
    0
      yoac-theme/styles/marigold.json
  45. 323
    0
      yoac-theme/styles/pilgrimage.json
  46. 242
    0
      yoac-theme/styles/pitch.json
  47. 243
    0
      yoac-theme/styles/sherbet.json
  48. 551
    0
      yoac-theme/styles/whisper.json
  49. 9
    0
      yoac-theme/templates/404.html
  50. 29
    0
      yoac-theme/templates/archive.html
  51. 1
    0
      yoac-theme/templates/blank.html
  52. 29
    0
      yoac-theme/templates/blog-alternative.html
  53. 37
    0
      yoac-theme/templates/home.html
  54. 27
    0
      yoac-theme/templates/index.html
  55. 11
    0
      yoac-theme/templates/page.html
  56. 33
    0
      yoac-theme/templates/search.html
  57. 13
    0
      yoac-theme/templates/single.html
  58. 750
    0
      yoac-theme/theme.json

+ 33
- 0
.gitignore Переглянути файл

@@ -0,0 +1,33 @@
1
+# File system junk files
2
+Desktop.ini
3
+Thumbs.db
4
+.DS_Store
5
+._*
6
+.Spotlight-V100
7
+.Trashes
8
+.apdisk
9
+.fseventsd
10
+..bfg-report
11
+
12
+# Archives
13
+*.zip
14
+
15
+# Editor files
16
+*.sublime-*
17
+*.swp
18
+.c9
19
+
20
+# Wordpress
21
+uploads
22
+db
23
+**/node_modules
24
+plugins/hello.php
25
+plugins/akismet
26
+plugins/regenerate-thumbnails
27
+plugins/wp-rest-cache
28
+
29
+# Env
30
+.env
31
+
32
+# Build files
33
+yoac-theme/build

+ 5
- 0
adminer.ini Переглянути файл

@@ -0,0 +1,5 @@
1
+# Store PHP Configs at /usr/local/etc/php/conf.d
2
+RUN echo "upload_max_filesize = 500M" >> /usr/local/etc/php/conf.d/upload_large_dumps.ini \
3
+    && echo "post_max_size = 500M"       >> /usr/local/etc/php/conf.d/upload_large_dumps.ini \
4
+    && echo "memory_limit = -1"           >> /usr/local/etc/php/conf.d/upload_large_dumps.ini \
5
+    && echo "max_execution_time = 0"      >> /usr/local/etc/php/conf.d/upload_large_dumps.ini

+ 104
- 0
configs/wp-config.php Переглянути файл

@@ -0,0 +1,104 @@
1
+<?php
2
+/**
3
+ * The base configuration for WordPress
4
+ *
5
+ * The wp-config.php creation script uses this file during the
6
+ * installation. You don't have to use the web site, you can
7
+ * copy this file to "wp-config.php" and fill in the values.
8
+ *
9
+ * This file contains the following configurations:
10
+ *
11
+ * * MySQL settings
12
+ * * Secret keys
13
+ * * Database table prefix
14
+ * * ABSPATH
15
+ *
16
+ * @link https://codex.wordpress.org/Editing_wp-config.php
17
+ *
18
+ * @package WordPress
19
+ */
20
+// Get custom environmental variables
21
+define('DB_PASSWORD', getenv('WORDPRESS_DB_PASSWORD'));
22
+define('DB_USER', getenv('WORDPRESS_DB_USER'));
23
+
24
+// ** MySQL settings - You can get this info from your web host ** //
25
+/** The name of the database for WordPress */
26
+define('DB_NAME', getenv('WORDPRESS_DB_NAME'));
27
+
28
+/** MySQL hostname */
29
+define('DB_HOST', 'mysql');
30
+
31
+/** Database Charset to use in creating database tables. */
32
+define('DB_CHARSET', 'utf8');
33
+
34
+/** The Database Collate type. Don't change this if in doubt. */
35
+define('DB_COLLATE', '');
36
+
37
+/**#@+
38
+ * Authentication Unique Keys and Salts.
39
+ *
40
+ * Change these to different unique phrases!
41
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
42
+ * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
43
+ *
44
+ * @since 2.6.0
45
+ */
46
+define('AUTH_KEY',         '5c79fa8455ac3a9d073b092f0d037bd59d76b47d');
47
+define('SECURE_AUTH_KEY',  '08bb369f951155190f734de6604e2e73d2ab4a5a');
48
+define('LOGGED_IN_KEY',    '7df12c7b77e5103dc495d065aba00d4ae92fcc6b');
49
+define('NONCE_KEY',        '55f0ec0d7a25dbe325ff9acbbf58fa5bb96aec3e');
50
+define('AUTH_SALT',        '5ff82df7f4a75524c25f17eaa7d1d0ed6b728824');
51
+define('SECURE_AUTH_SALT', '74696d119a7aa7b177f0e0123e5248b0c95621cf');
52
+define('LOGGED_IN_SALT',   '572abf75e1d94e3d715f5f7d3afb8fad96512cd8');
53
+define('NONCE_SALT',       '409a7ac7260e68334bfe5a19b4454e28aad34e73');
54
+
55
+/**#@-*/
56
+
57
+/**
58
+ * WordPress Database Table prefix.
59
+ *
60
+ * You can have multiple installations in one database if you give each
61
+ * a unique prefix. Only numbers, letters, and underscores please!
62
+ */
63
+$table_prefix  = 'wp_';
64
+
65
+/**
66
+ * For developers: WordPress debugging mode.
67
+ *
68
+ * Change this to true to enable the display of notices during development.
69
+ * It is strongly recommended that plugin and theme developers use WP_DEBUG
70
+ * in their development environments.
71
+ *
72
+ * For information on other constants that can be used for debugging,
73
+ * visit the Codex.
74
+ *
75
+ * @link https://codex.wordpress.org/Debugging_in_WordPress
76
+ */
77
+define('WP_DEBUG', false);
78
+
79
+// If we're behind a proxy server and using HTTPS, we need to alert Wordpress of that fact
80
+// see also http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy
81
+if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
82
+        $_SERVER['HTTPS'] = 'on';
83
+}
84
+
85
+/* That's all, stop editing! Happy blogging. */
86
+
87
+/** Absolute path to the WordPress directory. */
88
+if ( !defined('ABSPATH') )
89
+        define('ABSPATH', dirname(__FILE__) . '/');
90
+
91
+/** Sets up WordPress vars and included files. */
92
+require_once(ABSPATH . 'wp-settings.php');
93
+
94
+define('IS_DEV', getenv('IS_DEV'));
95
+
96
+/** DEV */
97
+if(defined('IS_DEV') && IS_DEV === 'true') {
98
+        $_SERVER['HTTPS'] = 'off';
99
+} else {
100
+        $_SERVER['HTTPS'] = 'off';
101
+}
102
+
103
+/** Limit reivisions */
104
+define('WP_POST_REVISIONS', 2);

+ 32
- 0
deployment/post-receive Переглянути файл

@@ -0,0 +1,32 @@
1
+#!/bin/sh
2
+
3
+printf "\n\nStarting post-receive…\n"
4
+printf "===============================\n"
5
+
6
+cd /opt/yoac/yoac.git
7
+
8
+printf "\n*------------------------------\n"
9
+printf "* POST-RECEIVE: git checkout… -\n"
10
+printf "*------------------------------\n"
11
+printf "Step 1 of 3\n\n"
12
+
13
+git --git-dir=/opt/yoac/yoac.git --work-tree=/opt/yoac/yoac.git checkout master -f
14
+
15
+printf "\n*------------------------------\n"
16
+printf "* POST-RECEIVE: npm install… --\n"
17
+printf "*------------------------------\n"
18
+printf "Step 2 of 3\n\n"
19
+
20
+cd /opt/yoac/yoac.git/yoac-theme && npm install
21
+
22
+printf "\n*------------------------------\n"
23
+printf "* POST-RECEIVE: building… -----\n"
24
+printf "*------------------------------\n"
25
+printf "Step 3 of 3\n\n"
26
+
27
+npm run build
28
+
29
+printf "\n*-----------------------------\n"
30
+printf "* POST-RECEIVE: → SUCCESS ----\n"
31
+printf "*-----------------------------\n"
32
+printf "==============================\n\n"

+ 63
- 0
docker-compose.yml Переглянути файл

@@ -0,0 +1,63 @@
1
+version: '3'
2
+
3
+services:
4
+    yoac-wp:
5
+        depends_on:
6
+            - yoac-db
7
+        image: wordpress:latest
8
+        container_name: 'yoac-wp'
9
+        restart: always
10
+        volumes:
11
+            - ./configs/wp-config.php:/usr/src/wordpress/wp-config-sample.php
12
+            - ./uploads:/var/www/html/wp-content/uploads
13
+            - ./plugins:/var/www/html/wp-content/plugins
14
+            - ./yoac-theme:/var/www/html/wp-content/themes/yoac-theme
15
+            - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
16
+        ports:
17
+            - 8080:80
18
+        links:
19
+            - yoac-db:mysql
20
+        environment:
21
+            WORDPRESS_DB_NAME: '${DB_NAME}'
22
+            WORDPRESS_DB_USER: '${WORDPRESS_DB_USER}'
23
+            WORDPRESS_DB_PASSWORD: '${WORDPRESS_DB_PASSWORD}'
24
+            IS_DEV: '${IS_DEV}'
25
+        networks:
26
+            - staging_network
27
+
28
+    yoac-db:
29
+        image: mariadb:latest
30
+        container_name: 'yoac-db'
31
+        restart: on-failure
32
+        ports:
33
+            - 3380:3306
34
+        environment:
35
+            MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
36
+            INNODB_FLUSH_METHOD: O_DSYNC
37
+            MYSQL_DATABASE: '${DB_NAME}'
38
+        volumes:
39
+            - db:/var/lib/mysql
40
+        networks:
41
+            - staging_network
42
+
43
+    yoac-admin:
44
+        image: adminer
45
+        container_name: 'yoac-admin'
46
+        depends_on:
47
+            - yoac-db
48
+        ports:
49
+            - 8181:8080
50
+        environment:
51
+            ADMINER_DEFAULT_SERVER: yoac-db
52
+            ADMINER_DESIGN: pepa-linha-dark
53
+        volumes:
54
+            - ./adminer.ini:/usr/local/etc/php/conf.d/uploads.ini
55
+        networks:
56
+            - staging_network
57
+
58
+volumes:
59
+    db:
60
+
61
+networks:
62
+    staging_network:
63
+        external: true

+ 5
- 0
sample.env Переглянути файл

@@ -0,0 +1,5 @@
1
+WORDPRESS_DB_USER=root
2
+WORDPRESS_DB_PASSWORD=<change_me>
3
+DB_PASSWORD=<change_me>
4
+DB_NAME=<current_db>
5
+IS_DEV=true

+ 5
- 0
uploads.ini Переглянути файл

@@ -0,0 +1,5 @@
1
+file_uploads = On
2
+memory_limit = 512M
3
+upload_max_filesize = 10M
4
+post_max_size = 20M
5
+max_execution_time = 1200

BIN
yoac-theme/assets/fonts/dm-sans/DMSans-Bold-Italic.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/dm-sans/DMSans-Bold.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/dm-sans/DMSans-Regular-Italic.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/dm-sans/DMSans-Regular.woff2 Переглянути файл


+ 94
- 0
yoac-theme/assets/fonts/dm-sans/LICENSE.txt Переглянути файл

@@ -0,0 +1,94 @@
1
+Copyright 2014-2017 Indian Type Foundry (info@indiantypefoundry.com). Copyright 2019 Google LLC.
2
+Copyright 2014-2018 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries. Copyright 2019 Google LLC.
3
+
4
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
5
+This license is copied below, and is also available with a FAQ at:
6
+http://scripts.sil.org/OFL
7
+
8
+
9
+-----------------------------------------------------------
10
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
11
+-----------------------------------------------------------
12
+
13
+PREAMBLE
14
+The goals of the Open Font License (OFL) are to stimulate worldwide
15
+development of collaborative font projects, to support the font creation
16
+efforts of academic and linguistic communities, and to provide a free and
17
+open framework in which fonts may be shared and improved in partnership
18
+with others.
19
+
20
+The OFL allows the licensed fonts to be used, studied, modified and
21
+redistributed freely as long as they are not sold by themselves. The
22
+fonts, including any derivative works, can be bundled, embedded, 
23
+redistributed and/or sold with any software provided that any reserved
24
+names are not used by derivative works. The fonts and derivatives,
25
+however, cannot be released under any other type of license. The
26
+requirement for fonts to remain under this license does not apply
27
+to any document created using the fonts or their derivatives.
28
+
29
+DEFINITIONS
30
+"Font Software" refers to the set of files released by the Copyright
31
+Holder(s) under this license and clearly marked as such. This may
32
+include source files, build scripts and documentation.
33
+
34
+"Reserved Font Name" refers to any names specified as such after the
35
+copyright statement(s).
36
+
37
+"Original Version" refers to the collection of Font Software components as
38
+distributed by the Copyright Holder(s).
39
+
40
+"Modified Version" refers to any derivative made by adding to, deleting,
41
+or substituting -- in part or in whole -- any of the components of the
42
+Original Version, by changing formats or by porting the Font Software to a
43
+new environment.
44
+
45
+"Author" refers to any designer, engineer, programmer, technical
46
+writer or other person who contributed to the Font Software.
47
+
48
+PERMISSION & CONDITIONS
49
+Permission is hereby granted, free of charge, to any person obtaining
50
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
51
+redistribute, and sell modified and unmodified copies of the Font
52
+Software, subject to the following conditions:
53
+
54
+1) Neither the Font Software nor any of its individual components,
55
+in Original or Modified Versions, may be sold by itself.
56
+
57
+2) Original or Modified Versions of the Font Software may be bundled,
58
+redistributed and/or sold with any software, provided that each copy
59
+contains the above copyright notice and this license. These can be
60
+included either as stand-alone text files, human-readable headers or
61
+in the appropriate machine-readable metadata fields within text or
62
+binary files as long as those fields can be easily viewed by the user.
63
+
64
+3) No Modified Version of the Font Software may use the Reserved Font
65
+Name(s) unless explicit written permission is granted by the corresponding
66
+Copyright Holder. This restriction only applies to the primary font name as
67
+presented to the users.
68
+
69
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70
+Software shall not be used to promote, endorse or advertise any
71
+Modified Version, except to acknowledge the contribution(s) of the
72
+Copyright Holder(s) and the Author(s) or with their explicit written
73
+permission.
74
+
75
+5) The Font Software, modified or unmodified, in part or in whole,
76
+must be distributed entirely under this license, and must not be
77
+distributed under any other license. The requirement for fonts to
78
+remain under this license does not apply to any document created
79
+using the Font Software.
80
+
81
+TERMINATION
82
+This license becomes null and void if any of the above conditions are
83
+not met.
84
+
85
+DISCLAIMER
86
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
94
+OTHER DEALINGS IN THE FONT SOFTWARE.

BIN
yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2 Переглянути файл


+ 93
- 0
yoac-theme/assets/fonts/ibm-plex-mono/OFL.txt Переглянути файл

@@ -0,0 +1,93 @@
1
+Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
2
+
3
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+This license is copied below, and is also available with a FAQ at:
5
+http://scripts.sil.org/OFL
6
+
7
+
8
+-----------------------------------------------------------
9
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+-----------------------------------------------------------
11
+
12
+PREAMBLE
13
+The goals of the Open Font License (OFL) are to stimulate worldwide
14
+development of collaborative font projects, to support the font creation
15
+efforts of academic and linguistic communities, and to provide a free and
16
+open framework in which fonts may be shared and improved in partnership
17
+with others.
18
+
19
+The OFL allows the licensed fonts to be used, studied, modified and
20
+redistributed freely as long as they are not sold by themselves. The
21
+fonts, including any derivative works, can be bundled, embedded, 
22
+redistributed and/or sold with any software provided that any reserved
23
+names are not used by derivative works. The fonts and derivatives,
24
+however, cannot be released under any other type of license. The
25
+requirement for fonts to remain under this license does not apply
26
+to any document created using the fonts or their derivatives.
27
+
28
+DEFINITIONS
29
+"Font Software" refers to the set of files released by the Copyright
30
+Holder(s) under this license and clearly marked as such. This may
31
+include source files, build scripts and documentation.
32
+
33
+"Reserved Font Name" refers to any names specified as such after the
34
+copyright statement(s).
35
+
36
+"Original Version" refers to the collection of Font Software components as
37
+distributed by the Copyright Holder(s).
38
+
39
+"Modified Version" refers to any derivative made by adding to, deleting,
40
+or substituting -- in part or in whole -- any of the components of the
41
+Original Version, by changing formats or by porting the Font Software to a
42
+new environment.
43
+
44
+"Author" refers to any designer, engineer, programmer, technical
45
+writer or other person who contributed to the Font Software.
46
+
47
+PERMISSION & CONDITIONS
48
+Permission is hereby granted, free of charge, to any person obtaining
49
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+redistribute, and sell modified and unmodified copies of the Font
51
+Software, subject to the following conditions:
52
+
53
+1) Neither the Font Software nor any of its individual components,
54
+in Original or Modified Versions, may be sold by itself.
55
+
56
+2) Original or Modified Versions of the Font Software may be bundled,
57
+redistributed and/or sold with any software, provided that each copy
58
+contains the above copyright notice and this license. These can be
59
+included either as stand-alone text files, human-readable headers or
60
+in the appropriate machine-readable metadata fields within text or
61
+binary files as long as those fields can be easily viewed by the user.
62
+
63
+3) No Modified Version of the Font Software may use the Reserved Font
64
+Name(s) unless explicit written permission is granted by the corresponding
65
+Copyright Holder. This restriction only applies to the primary font name as
66
+presented to the users.
67
+
68
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+Software shall not be used to promote, endorse or advertise any
70
+Modified Version, except to acknowledge the contribution(s) of the
71
+Copyright Holder(s) and the Author(s) or with their explicit written
72
+permission.
73
+
74
+5) The Font Software, modified or unmodified, in part or in whole,
75
+must be distributed entirely under this license, and must not be
76
+distributed under any other license. The requirement for fonts to
77
+remain under this license does not apply to any document created
78
+using the Font Software.
79
+
80
+TERMINATION
81
+This license becomes null and void if any of the above conditions are
82
+not met.
83
+
84
+DISCLAIMER
85
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+OTHER DEALINGS IN THE FONT SOFTWARE.

BIN
yoac-theme/assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf Переглянути файл


+ 93
- 0
yoac-theme/assets/fonts/inter/LICENSE.txt Переглянути файл

@@ -0,0 +1,93 @@
1
+Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
2
+
3
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+This license is copied below, and is also available with a FAQ at:
5
+http://scripts.sil.org/OFL
6
+
7
+
8
+-----------------------------------------------------------
9
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+-----------------------------------------------------------
11
+
12
+PREAMBLE
13
+The goals of the Open Font License (OFL) are to stimulate worldwide
14
+development of collaborative font projects, to support the font creation
15
+efforts of academic and linguistic communities, and to provide a free and
16
+open framework in which fonts may be shared and improved in partnership
17
+with others.
18
+
19
+The OFL allows the licensed fonts to be used, studied, modified and
20
+redistributed freely as long as they are not sold by themselves. The
21
+fonts, including any derivative works, can be bundled, embedded, 
22
+redistributed and/or sold with any software provided that any reserved
23
+names are not used by derivative works. The fonts and derivatives,
24
+however, cannot be released under any other type of license. The
25
+requirement for fonts to remain under this license does not apply
26
+to any document created using the fonts or their derivatives.
27
+
28
+DEFINITIONS
29
+"Font Software" refers to the set of files released by the Copyright
30
+Holder(s) under this license and clearly marked as such. This may
31
+include source files, build scripts and documentation.
32
+
33
+"Reserved Font Name" refers to any names specified as such after the
34
+copyright statement(s).
35
+
36
+"Original Version" refers to the collection of Font Software components as
37
+distributed by the Copyright Holder(s).
38
+
39
+"Modified Version" refers to any derivative made by adding to, deleting,
40
+or substituting -- in part or in whole -- any of the components of the
41
+Original Version, by changing formats or by porting the Font Software to a
42
+new environment.
43
+
44
+"Author" refers to any designer, engineer, programmer, technical
45
+writer or other person who contributed to the Font Software.
46
+
47
+PERMISSION & CONDITIONS
48
+Permission is hereby granted, free of charge, to any person obtaining
49
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+redistribute, and sell modified and unmodified copies of the Font
51
+Software, subject to the following conditions:
52
+
53
+1) Neither the Font Software nor any of its individual components,
54
+in Original or Modified Versions, may be sold by itself.
55
+
56
+2) Original or Modified Versions of the Font Software may be bundled,
57
+redistributed and/or sold with any software, provided that each copy
58
+contains the above copyright notice and this license. These can be
59
+included either as stand-alone text files, human-readable headers or
60
+in the appropriate machine-readable metadata fields within text or
61
+binary files as long as those fields can be easily viewed by the user.
62
+
63
+3) No Modified Version of the Font Software may use the Reserved Font
64
+Name(s) unless explicit written permission is granted by the corresponding
65
+Copyright Holder. This restriction only applies to the primary font name as
66
+presented to the users.
67
+
68
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+Software shall not be used to promote, endorse or advertise any
70
+Modified Version, except to acknowledge the contribution(s) of the
71
+Copyright Holder(s) and the Author(s) or with their explicit written
72
+permission.
73
+
74
+5) The Font Software, modified or unmodified, in part or in whole,
75
+must be distributed entirely under this license, and must not be
76
+distributed under any other license. The requirement for fonts to
77
+remain under this license does not apply to any document created
78
+using the Font Software.
79
+
80
+TERMINATION
81
+This license becomes null and void if any of the above conditions are
82
+not met.
83
+
84
+DISCLAIMER
85
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+OTHER DEALINGS IN THE FONT SOFTWARE.

+ 93
- 0
yoac-theme/assets/fonts/source-serif-pro/LICENSE.md Переглянути файл

@@ -0,0 +1,93 @@
1
+Copyright 2014 - 2021 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
2
+
3
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+
5
+This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
6
+
7
+
8
+-----------------------------------------------------------
9
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+-----------------------------------------------------------
11
+
12
+PREAMBLE
13
+The goals of the Open Font License (OFL) are to stimulate worldwide
14
+development of collaborative font projects, to support the font creation
15
+efforts of academic and linguistic communities, and to provide a free and
16
+open framework in which fonts may be shared and improved in partnership
17
+with others.
18
+
19
+The OFL allows the licensed fonts to be used, studied, modified and
20
+redistributed freely as long as they are not sold by themselves. The
21
+fonts, including any derivative works, can be bundled, embedded,
22
+redistributed and/or sold with any software provided that any reserved
23
+names are not used by derivative works. The fonts and derivatives,
24
+however, cannot be released under any other type of license. The
25
+requirement for fonts to remain under this license does not apply
26
+to any document created using the fonts or their derivatives.
27
+
28
+DEFINITIONS
29
+"Font Software" refers to the set of files released by the Copyright
30
+Holder(s) under this license and clearly marked as such. This may
31
+include source files, build scripts and documentation.
32
+
33
+"Reserved Font Name" refers to any names specified as such after the
34
+copyright statement(s).
35
+
36
+"Original Version" refers to the collection of Font Software components as
37
+distributed by the Copyright Holder(s).
38
+
39
+"Modified Version" refers to any derivative made by adding to, deleting,
40
+or substituting -- in part or in whole -- any of the components of the
41
+Original Version, by changing formats or by porting the Font Software to a
42
+new environment.
43
+
44
+"Author" refers to any designer, engineer, programmer, technical
45
+writer or other person who contributed to the Font Software.
46
+
47
+PERMISSION & CONDITIONS
48
+Permission is hereby granted, free of charge, to any person obtaining
49
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+redistribute, and sell modified and unmodified copies of the Font
51
+Software, subject to the following conditions:
52
+
53
+1) Neither the Font Software nor any of its individual components,
54
+   in Original or Modified Versions, may be sold by itself.
55
+
56
+2) Original or Modified Versions of the Font Software may be bundled,
57
+   redistributed and/or sold with any software, provided that each copy
58
+   contains the above copyright notice and this license. These can be
59
+   included either as stand-alone text files, human-readable headers or
60
+   in the appropriate machine-readable metadata fields within text or
61
+   binary files as long as those fields can be easily viewed by the user.
62
+
63
+3) No Modified Version of the Font Software may use the Reserved Font
64
+   Name(s) unless explicit written permission is granted by the corresponding
65
+   Copyright Holder. This restriction only applies to the primary font name as
66
+   presented to the users.
67
+
68
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+   Software shall not be used to promote, endorse or advertise any
70
+   Modified Version, except to acknowledge the contribution(s) of the
71
+   Copyright Holder(s) and the Author(s) or with their explicit written
72
+   permission.
73
+
74
+5) The Font Software, modified or unmodified, in part or in whole,
75
+   must be distributed entirely under this license, and must not be
76
+   distributed under any other license. The requirement for fonts to
77
+   remain under this license does not apply to any document created
78
+   using the Font Software.
79
+
80
+TERMINATION
81
+This license becomes null and void if any of the above conditions are
82
+not met.
83
+
84
+DISCLAIMER
85
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+OTHER DEALINGS IN THE FONT SOFTWARE.

BIN
yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.otf.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.otf.woff2 Переглянути файл


BIN
yoac-theme/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2 Переглянути файл


+ 1
- 0
yoac-theme/parts/comments.html Переглянути файл

@@ -0,0 +1 @@
1
+<!-- wp:pattern {"slug":"twentytwentythree/hidden-comments"} /-->

+ 29
- 0
yoac-theme/parts/footer.html Переглянути файл

@@ -0,0 +1,29 @@
1
+<!-- wp:spacer {"height":"4em","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
2
+<div style="margin-top:0px;margin-bottom:0px;height:4em" aria-hidden="true" class="wp-block-spacer"></div>
3
+<!-- /wp:spacer -->
4
+
5
+<!-- wp:group {"align":"wide","layout":{"type":"constrained","wideSize":"1200px","contentSize":"1200px"}} -->
6
+<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|30"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"primary"} -->
7
+<div class="wp-block-columns alignwide has-primary-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
8
+<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:site-title {"level":0,"style":{"typography":{"fontStyle":"normal","fontWeight":"500"}},"textColor":"tertiary"} /--></div>
9
+<!-- /wp:column -->
10
+
11
+<!-- wp:column {"verticalAlignment":"center","width":""} -->
12
+<div class="wp-block-column is-vertically-aligned-center"><!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center","orientation":"horizontal","verticalAlignment":"center","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"10em"},"layout":{"selfStretch":"fill","flexSize":null}}} -->
13
+<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"secondary","textColor":"tertiary","width":50,"style":{"border":{"radius":"3em"}},"className":"is-style-fill"} -->
14
+<div class="wp-block-button has-custom-width wp-block-button__width-50 is-style-fill"><a class="wp-block-button__link has-tertiary-color has-secondary-background-color has-text-color has-background wp-element-button" href="http://eepurl.com/il25co" style="border-radius:3em" target="_blank" rel="noreferrer noopener"><strong>Join our Newsletter</strong></a></div>
15
+<!-- /wp:button --></div>
16
+<!-- /wp:buttons --></div>
17
+<!-- /wp:column -->
18
+
19
+<!-- wp:column {"verticalAlignment":"center","width":"25%","layout":{"type":"default"}} -->
20
+<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:paragraph -->
21
+<p></p>
22
+<!-- /wp:paragraph --></div>
23
+<!-- /wp:column --></div>
24
+<!-- /wp:columns -->
25
+
26
+<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"0.8em"},"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"backgroundColor":"tertiary"} -->
27
+<p class="has-text-align-center has-tertiary-background-color has-background" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-size:0.8em">Copyright © 2023</p>
28
+<!-- /wp:paragraph --></div>
29
+<!-- /wp:group -->

+ 0
- 0
yoac-theme/parts/header-inside-full-width-background-image.html Переглянути файл


+ 7
- 0
yoac-theme/parts/header.html Переглянути файл

@@ -0,0 +1,7 @@
1
+<!-- wp:group {"layout":{"type":"constrained"}} -->
2
+<div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
3
+<div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:site-title {"level":0,"style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"500"}},"fontSize":"x-large"} /-->
4
+
5
+<!-- wp:navigation {"ref":17,"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center"}} /--></div>
6
+<!-- /wp:group --></div>
7
+<!-- /wp:group -->

+ 1
- 0
yoac-theme/parts/post-meta.html Переглянути файл

@@ -0,0 +1 @@
1
+<!-- wp:pattern {"slug":"twentytwentythree/post-meta"} /-->

+ 41
- 0
yoac-theme/patterns/call-to-action.php Переглянути файл

@@ -0,0 +1,41 @@
1
+<?php
2
+/**
3
+ * Title: Call to action
4
+ * Slug: twentytwentythree/cta
5
+ * Categories: featured
6
+ * Keywords: Call to action
7
+ * Block Types: core/buttons
8
+ */
9
+?>
10
+<!-- wp:columns {"align":"wide"} -->
11
+<div class="wp-block-columns alignwide">
12
+	<!-- wp:column -->
13
+	<div class="wp-block-column">
14
+		<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large"} -->
15
+		<p class="has-x-large-font-size" style="line-height:1.2"><?php echo esc_html_x( 'Got any book recommendations?', 'sample content for call to action', 'twentytwentythree' ); ?>
16
+		</p>
17
+		<!-- /wp:paragraph -->
18
+
19
+		<!-- wp:buttons -->
20
+		<div class="wp-block-buttons">
21
+			<!-- wp:button {"fontSize":"small"} -->
22
+			<div class="wp-block-button has-custom-font-size has-small-font-size">
23
+				<a class="wp-block-button__link wp-element-button">
24
+				<?php echo esc_html_x( 'Get In Touch', 'sample content for call to action button', 'twentytwentythree' ); ?>
25
+				</a>
26
+			</div>
27
+			<!-- /wp:button -->
28
+		</div>
29
+		<!-- /wp:buttons -->
30
+	</div>
31
+	<!-- /wp:column -->
32
+
33
+	<!-- wp:column -->
34
+	<div class="wp-block-column">
35
+		<!-- wp:separator -->
36
+		<hr class="wp-block-separator has-alpha-channel-opacity"/>
37
+		<!-- /wp:separator -->
38
+	</div>
39
+	<!-- /wp:column -->
40
+</div>
41
+<!-- /wp:columns -->

+ 28
- 0
yoac-theme/patterns/footer-default.php Переглянути файл

@@ -0,0 +1,28 @@
1
+<?php
2
+/**
3
+ * Title: Default Footer
4
+ * Slug: twentytwentythree/footer-default
5
+ * Categories: footer
6
+ * Block Types: core/template-part/footer
7
+ */
8
+?>
9
+<!-- wp:group {"layout":{"type":"constrained"}} -->
10
+<div class="wp-block-group">
11
+	<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
12
+	<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40)">
13
+		<!-- wp:site-title {"level":0} /-->
14
+		<!-- wp:paragraph {"align":"right"} -->
15
+		<p class="has-text-align-right">
16
+		<?php
17
+		printf(
18
+			/* Translators: WordPress link. */
19
+			esc_html__( 'Proudly powered by %s', 'twentytwentythree' ),
20
+			'<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentythree' ) ) . '" rel="nofollow">WordPress</a>'
21
+		)
22
+		?>
23
+		</p>
24
+		<!-- /wp:paragraph -->
25
+	</div>
26
+	<!-- /wp:group -->
27
+</div>
28
+<!-- /wp:group -->

+ 28
- 0
yoac-theme/patterns/hidden-404.php Переглянути файл

@@ -0,0 +1,28 @@
1
+<?php
2
+/**
3
+ * Title: Hidden 404
4
+ * Slug: twentytwentythree/hidden-404
5
+ * Inserter: no
6
+ */
7
+?>
8
+<!-- wp:spacer {"height":"var(--wp--preset--spacing--30)"} -->
9
+<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
10
+<!-- /wp:spacer -->
11
+
12
+<!-- wp:heading {"level":1,"align":"wide"} -->
13
+<h1 class="alignwide"><?php echo esc_html_x( '404', 'Error code for a webpage that is not found.', 'twentytwentythree' ); ?></h1>
14
+<!-- /wp:heading -->
15
+
16
+<!-- wp:group {"align":"wide","layout":{"type":"default"},"style":{"spacing":{"margin":{"top":"5px"}}}} -->
17
+<div class="wp-block-group alignwide" style="margin-top:5px">
18
+	<!-- wp:paragraph -->
19
+	<p><?php echo esc_html_x( 'This page could not be found.', 'Message to convey that a webpage could not be found', 'twentytwentythree' ); ?></p>
20
+	<!-- /wp:paragraph -->
21
+
22
+	<!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true,"align":"center"} /-->
23
+</div>
24
+<!-- /wp:group -->
25
+
26
+<!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} -->
27
+<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
28
+<!-- /wp:spacer -->

+ 57
- 0
yoac-theme/patterns/hidden-comments.php Переглянути файл

@@ -0,0 +1,57 @@
1
+<?php
2
+/**
3
+ * Title: Hidden Comments
4
+ * Slug: twentytwentythree/hidden-comments
5
+ * Inserter: no
6
+ */
7
+?>
8
+<!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
9
+<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
10
+	<!-- wp:comments -->
11
+	<div class="wp-block-comments">
12
+		<!-- wp:heading {"level":2} -->
13
+		<h2><?php echo esc_html_x( 'Comments', 'Title of comments section', 'twentytwentythree' ); ?></h2>
14
+		<!-- /wp:heading -->
15
+
16
+		<!-- wp:comments-title {"level":3} /-->
17
+
18
+		<!-- wp:comment-template -->
19
+			<!-- wp:columns {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
20
+			<div class="wp-block-columns" style="margin-bottom:var(--wp--preset--spacing--40)">
21
+				<!-- wp:column {"width":"40px"} -->
22
+				<div class="wp-block-column" style="flex-basis:40px">
23
+					<!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"}}} /-->
24
+				</div>
25
+				<!-- /wp:column -->
26
+
27
+				<!-- wp:column -->
28
+				<div class="wp-block-column">
29
+					<!-- wp:comment-author-name /-->
30
+
31
+					<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex"}} -->
32
+					<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
33
+						<!-- wp:comment-date /-->
34
+						<!-- wp:comment-edit-link /-->
35
+					</div>
36
+					<!-- /wp:group -->
37
+
38
+					<!-- wp:comment-content /-->
39
+
40
+					<!-- wp:comment-reply-link /-->
41
+				</div>
42
+				<!-- /wp:column -->
43
+			</div>
44
+			<!-- /wp:columns -->
45
+		<!-- /wp:comment-template -->
46
+
47
+		<!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
48
+			<!-- wp:comments-pagination-previous /-->
49
+			<!-- wp:comments-pagination-numbers /-->
50
+			<!-- wp:comments-pagination-next /-->
51
+		<!-- /wp:comments-pagination -->
52
+
53
+	<!-- wp:post-comments-form /-->
54
+	</div>
55
+	<!-- /wp:comments -->
56
+</div>
57
+<!-- /wp:group -->

+ 14
- 0
yoac-theme/patterns/hidden-no-results.php Переглянути файл

@@ -0,0 +1,14 @@
1
+<?php
2
+/**
3
+ * Title: Hidden No Results Content
4
+ * Slug: twentytwentythree/hidden-no-results-content
5
+ * Inserter: no
6
+ */
7
+?>
8
+<!-- wp:paragraph -->
9
+<p>
10
+<?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'twentytwentythree' ); ?>
11
+</p>
12
+<!-- /wp:paragraph -->
13
+
14
+<!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true} /-->

+ 76
- 0
yoac-theme/patterns/post-meta.php Переглянути файл

@@ -0,0 +1,76 @@
1
+<?php
2
+/**
3
+ * Title: Post Meta
4
+ * Slug: twentytwentythree/post-meta
5
+ * Categories: query
6
+ * Keywords: post meta
7
+ * Block Types: core/template-part/post-meta
8
+ */
9
+?>
10
+<!-- wp:spacer {"height":"0"} -->
11
+<div style="height:0" aria-hidden="true" class="wp-block-spacer"></div>
12
+<!-- /wp:spacer -->
13
+
14
+<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
15
+<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70)">
16
+	<!-- wp:separator {"opacity":"css","align":"wide","className":"is-style-wide"} -->
17
+	<hr class="wp-block-separator alignwide has-css-opacity is-style-wide"/>
18
+	<!-- /wp:separator -->
19
+
20
+	<!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"},"blockGap":"var:preset|spacing|30"}},"fontSize":"small"} -->
21
+	<div class="wp-block-columns alignwide has-small-font-size" style="margin-top:var(--wp--preset--spacing--30)">
22
+		<!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
23
+		<div class="wp-block-column">
24
+			<!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
25
+			<div class="wp-block-group">
26
+				<!-- wp:paragraph -->
27
+				<p>
28
+					<?php echo esc_html_x( 'Posted', 'Verb to explain the publication status of a post', 'twentytwentythree' ); ?>
29
+				</p>
30
+				<!-- /wp:paragraph -->
31
+
32
+				<!-- wp:post-date /-->
33
+
34
+				<!-- wp:paragraph -->
35
+				<p>
36
+					<?php echo esc_html_x( 'in', 'Preposition to show the relationship between the post and its categories', 'twentytwentythree' ); ?>
37
+				</p>
38
+				<!-- /wp:paragraph -->
39
+
40
+				<!-- wp:post-terms {"term":"category"} /-->
41
+			</div>
42
+			<!-- /wp:group -->
43
+
44
+			<!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
45
+			<div class="wp-block-group">
46
+				<!-- wp:paragraph -->
47
+				<p>
48
+					<?php echo esc_html_x( 'by', 'Preposition to show the relationship between the post and its author', 'twentytwentythree' ); ?>
49
+				</p>
50
+				<!-- /wp:paragraph -->
51
+
52
+				<!-- wp:post-author {"showAvatar":false} /-->
53
+			</div>
54
+			<!-- /wp:group -->
55
+		</div>
56
+		<!-- /wp:column -->
57
+
58
+		<!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
59
+		<div class="wp-block-column">
60
+			<!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex","orientation":"vertical"}} -->
61
+			<div class="wp-block-group">
62
+				<!-- wp:paragraph -->
63
+				<p>
64
+					<?php echo esc_html_x( 'Tags:', 'Label for a list of post tags', 'twentytwentythree' ); ?>
65
+				</p>
66
+				<!-- /wp:paragraph -->
67
+
68
+				<!-- wp:post-terms {"term":"post_tag"} /-->
69
+			</div>
70
+			<!-- /wp:group -->
71
+		</div>
72
+		<!-- /wp:column -->
73
+	</div>
74
+	<!-- /wp:columns -->
75
+</div>
76
+<!-- /wp:group -->

+ 41
- 0
yoac-theme/readme.txt Переглянути файл

@@ -0,0 +1,41 @@
1
+=== Twenty Twenty-Three YOAC ===
2
+Contributors: wordpressdotorg
3
+Requires at least: 6.1
4
+Tested up to: 6.2
5
+Requires PHP: 5.6
6
+Stable tag: 1.1
7
+License: GPLv2 or later
8
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
+
10
+== Description ==
11
+
12
+Twenty Twenty-Three YOAC is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community.
13
+
14
+Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
15
+
16
+== Changelog ==
17
+
18
+= 1.1 =
19
+* Released: March 28, 2023
20
+
21
+https://wordpress.org/documentation/article/twenty-twenty-three-changelog/#Version_1.1
22
+
23
+= 1.0 =
24
+* Released: November 1, 2022
25
+
26
+https://wordpress.org/documentation/article/twenty-twenty-three-changelog/#Version_1.0
27
+
28
+== Copyright ==
29
+
30
+Twenty Twenty-Three WordPress Theme, (C) 2022-2023 WordPress.org
31
+Twenty Twenty-Three is distributed under the terms of the GNU GPL.
32
+
33
+This program is free software: you can redistribute it and/or modify
34
+it under the terms of the GNU General Public License as published by
35
+the Free Software Foundation, either version 2 of the License, or
36
+(at your option) any later version.
37
+
38
+This program is distributed in the hope that it will be useful,
39
+but WITHOUT ANY WARRANTY; without even the implied warranty of
40
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41
+GNU General Public License for more details.

BIN
yoac-theme/screenshot.png Переглянути файл


+ 15
- 0
yoac-theme/style.css Переглянути файл

@@ -0,0 +1,15 @@
1
+/*
2
+Theme Name: Twenty Twenty-Three
3
+Theme URI: https://wordpress.org/themes/twentytwentythree
4
+Author: the WordPress team
5
+Author URI: https://wordpress.org
6
+Description: Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
7
+Requires at least: 6.1
8
+Tested up to: 6.2
9
+Requires PHP: 5.6
10
+Version: 1.1
11
+License: GNU General Public License v2 or later
12
+License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
13
+Text Domain: twentytwentythree
14
+Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
15
+*/

+ 292
- 0
yoac-theme/styles/aubergine.json Переглянути файл

@@ -0,0 +1,292 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Aubergine",
5
+	"settings": {
6
+		"color": {
7
+			"gradients": [
8
+				{
9
+					"gradient": "linear-gradient(180deg, var(--wp--preset--color--secondary) 0%,var(--wp--preset--color--base) 100%)",
10
+					"name": "Secondary to Base",
11
+					"slug": "secondary-base"
12
+				},
13
+				{
14
+					"gradient": "linear-gradient(180deg, var(--wp--preset--color--base) 0 min(24rem, 10%), var(--wp--preset--color--secondary) 0% 30%, var(--wp--preset--color--base) 100%)",
15
+					"name": "Base to Secondary to Base",
16
+					"slug": "base-secondary-base"
17
+				},
18
+				{
19
+					"gradient": "linear-gradient(90deg, var(--wp--preset--color--tertiary) 5.74%, var(--wp--preset--color--primary) 100%)",
20
+					"name": "Tertiary to Primary",
21
+					"slug": "tertiary-primary"
22
+				},
23
+				{
24
+					"gradient": "linear-gradient(90deg, var(--wp--preset--color--primary) 5.74%, var(--wp--preset--color--tertiary) 100%)",
25
+					"name": "Primary to Tertiary",
26
+					"slug": "primary-tertiary"
27
+				}
28
+			],
29
+			"palette": [
30
+				{
31
+					"color": "#1B1031",
32
+					"name": "Base",
33
+					"slug": "base"
34
+				},
35
+				{
36
+					"color": "#FFFFFF",
37
+					"name": "Contrast",
38
+					"slug": "contrast"
39
+				},
40
+				{
41
+					"color": "#FF746D",
42
+					"name": "Primary",
43
+					"slug": "primary"
44
+				},
45
+				{
46
+					"color": "#551C5E",
47
+					"name": "Secondary",
48
+					"slug": "secondary"
49
+				},
50
+				{
51
+					"color": "#FB326B",
52
+					"name": "Tertiary",
53
+					"slug": "tertiary"
54
+				}
55
+			]
56
+		},
57
+		"typography": {
58
+			"fontSizes": [
59
+				{
60
+					"fluid": {
61
+						"min": "0.875rem",
62
+						"max": "1rem"
63
+					},
64
+					"size": "1rem",
65
+					"slug": "small"
66
+				},
67
+				{
68
+					"fluid": {
69
+						"min": "1rem",
70
+						"max": "1.125rem"
71
+					},
72
+					"size": "1.125rem",
73
+					"slug": "medium"
74
+				},
75
+				{
76
+					"size": "1.75rem",
77
+					"slug": "large",
78
+					"fluid": false
79
+				},
80
+				{
81
+					"size": "3.25rem",
82
+					"slug": "x-large",
83
+					"fluid": false
84
+				},
85
+				{
86
+					"size": "10rem",
87
+					"slug": "xx-large",
88
+					"fluid": {
89
+						"min": "4rem",
90
+						"max": "20rem"
91
+					}
92
+				}
93
+			]
94
+		}
95
+	},
96
+	"styles": {
97
+		"blocks": {
98
+			"core/comment-reply-link": {
99
+				"elements": {
100
+					"link": {
101
+						"color": {
102
+							"text": "var(--wp--preset--color--primary)"
103
+						},
104
+						"typography": {
105
+							"fontStyle": "italic"
106
+						}
107
+					}
108
+				}
109
+			},
110
+			"core/group": {
111
+				"border": {
112
+					"color": "var(--wp--preset--color--primary)"
113
+				}
114
+			},
115
+			"core/navigation": {
116
+				"typography": {
117
+					"fontSize": "var(--wp--preset--font-size--medium)"
118
+				}
119
+			},
120
+			"core/post-author": {
121
+				"color": {
122
+					"text": "var(--wp--preset--color--primary)"
123
+				},
124
+				"typography": {
125
+					"fontStyle": "italic"
126
+				}
127
+			},
128
+			"core/post-content": {
129
+				"elements": {
130
+					"link": {
131
+						"color": {
132
+							"text": "var(--wp--preset--color--primary)"
133
+						}
134
+					}
135
+				}
136
+			},
137
+			"core/post-date": {
138
+				"elements": {
139
+					"link": {
140
+						"color": {
141
+							"text": "var(--wp--preset--color--contrast)"
142
+						},
143
+						"typography": {
144
+							"letterSpacing": "0.09rem",
145
+							"textTransform": "uppercase"
146
+						}
147
+					}
148
+				}
149
+			},
150
+			"core/post-terms": {
151
+				"elements": {
152
+					"link": {
153
+						"color": {
154
+							"text": "var(--wp--preset--color--primary)"
155
+						},
156
+						"typography": {
157
+							"fontStyle": "italic"
158
+						}
159
+					}
160
+				}
161
+			},
162
+			"core/post-title": {
163
+				"elements": {
164
+					"link": {
165
+						":active": {
166
+							"color": {
167
+								"text": "var(--wp--preset--color--contrast)"
168
+							}
169
+						}
170
+					}
171
+				},
172
+				"typography": {
173
+					"fontSize": "clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 3.25rem)"
174
+				}
175
+			},
176
+			"core/query": {
177
+				"elements": {
178
+					"h3": {
179
+						"color": {
180
+							"text": "var(--wp--preset--color--primary)"
181
+						},
182
+						"typography": {
183
+							"fontSize": "var(--wp--preset--font-size--large)",
184
+							"fontWeight": "700"
185
+						}
186
+					},
187
+					"link": {
188
+						"color": {
189
+							"text": "var(--wp--preset--color--primary)"
190
+						}
191
+					}
192
+				}
193
+			},
194
+			"core/separator": {
195
+				"color": {
196
+					"text": "var(--wp--preset--color--primary)"
197
+				}
198
+			},
199
+			"core/site-title": {
200
+				"border": {
201
+					"color": "var(--wp--preset--color--primary)",
202
+					"style": "solid",
203
+					"width": "0 0 2px 0"
204
+				},
205
+				"elements": {
206
+					"link": {
207
+						":active": {
208
+							"color": {
209
+								"text": "var(--wp--preset--color--primary)"
210
+							}
211
+						},
212
+						":focus": {
213
+							"color": {
214
+								"text": "var(--wp--preset--color--primary)"
215
+							},
216
+							"typography": {
217
+								"textDecoration": "none"
218
+							}
219
+						},
220
+						":hover": {
221
+							"color": {
222
+								"text": "var(--wp--preset--color--primary)"
223
+							},
224
+							"typography": {
225
+								"textDecoration": "none"
226
+							}
227
+						}
228
+					}
229
+				},
230
+				"typography": {
231
+					"letterSpacing": "0.09rem",
232
+					"textTransform": "uppercase"
233
+				}
234
+			}
235
+		},
236
+		"color": {
237
+			"gradient": "var(--wp--preset--gradient--base-secondary-base) no-repeat"
238
+		},
239
+		"elements": {
240
+			"button": {
241
+				"border": {
242
+					"radius": "99999px"
243
+				},
244
+				"color": {
245
+					"gradient": "var(--wp--preset--gradient--tertiary-primary)",
246
+					"text": "var(--wp--preset--color--base)"
247
+				},
248
+				":hover": {
249
+					"color": {
250
+						"background": "var(--wp--preset--color--primary)",
251
+						"gradient": "none",
252
+						"text": "var(--wp--preset--color--secondary)"
253
+					}
254
+				},
255
+				":focus": {
256
+					"color": {
257
+						"background": "var(--wp--preset--color--primary)",
258
+						"gradient": "none",
259
+						"text": "var(--wp--preset--color--secondary)"
260
+					}
261
+				},
262
+				":active": {
263
+					"color": {
264
+						"background": "var(--wp--preset--color--primary)",
265
+						"gradient": "none",
266
+						"text": "var(--wp--preset--color--secondary)"
267
+					}
268
+				},
269
+				":visited": {
270
+					"color": {
271
+						"text": "var(--wp--preset--color--base)"
272
+					}
273
+				}
274
+			},
275
+			"heading": {
276
+				"typography": {
277
+					"letterSpacing": "-0.019rem"
278
+				}
279
+			},
280
+			"link": {
281
+				":active": {
282
+					"color": {
283
+						"text": "var(--wp--preset--color--primary)"
284
+					}
285
+				}
286
+			}
287
+		},
288
+		"typography": {
289
+			"fontFamily": "var(--wp--preset--font-family--dm-sans)"
290
+		}
291
+	}
292
+}

+ 245
- 0
yoac-theme/styles/block-out.json Переглянути файл

@@ -0,0 +1,245 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Block out",
5
+	"settings": {
6
+		"color": {
7
+			"duotone": [
8
+				{
9
+					"colors": [
10
+						"#E2161D",
11
+						"#FF9C9C"
12
+					],
13
+					"slug": "default-filter",
14
+					"name": "Default filter"
15
+				}
16
+			],
17
+			"palette": [
18
+				{
19
+					"color": "#ff5252",
20
+					"name": "Base",
21
+					"slug": "base"
22
+				},
23
+				{
24
+					"color": "#252525",
25
+					"name": "Contrast",
26
+					"slug": "contrast"
27
+				},
28
+				{
29
+					"color": "#ffffff",
30
+					"name": "Primary",
31
+					"slug": "primary"
32
+				},
33
+				{
34
+					"color": "#ff2d34",
35
+					"name": "Secondary",
36
+					"slug": "secondary"
37
+				},
38
+				{
39
+					"color": "#ff7e7e",
40
+					"name": "Tertiary",
41
+					"slug": "tertiary"
42
+				}
43
+			]
44
+		},
45
+		"layout": {
46
+			"contentSize": "800px"
47
+		},
48
+		"typography": {
49
+			"fontSizes": [
50
+				{
51
+					"fluid": {
52
+						"max": "1rem",
53
+						"min": "0.875rem"
54
+					},
55
+					"size": "1rem",
56
+					"slug": "small"
57
+				},
58
+				{
59
+					"fluid": {
60
+						"max": "1.125rem",
61
+						"min": "1rem"
62
+					},
63
+					"size": "1.125rem",
64
+					"slug": "medium"
65
+				},
66
+				{
67
+					"fluid": false,
68
+					"size": "1.75rem",
69
+					"slug": "large"
70
+				},
71
+				{
72
+					"fluid": false,
73
+					"size": "2.25rem",
74
+					"slug": "x-large"
75
+				},
76
+				{
77
+					"fluid": {
78
+						"max": "7rem",
79
+						"min": "4rem"
80
+					},
81
+					"size": "7rem",
82
+					"slug": "xx-large"
83
+				}
84
+			]
85
+		}
86
+	},
87
+	"styles": {
88
+		"blocks": {
89
+			"core/avatar": {
90
+				"filter": {
91
+					"duotone": "var(--wp--preset--duotone--default-filter)"
92
+				}
93
+			},
94
+			"core/image": {
95
+				"border": {
96
+					"radius": "8px"
97
+				},
98
+				"filter": {
99
+					"duotone": "var(--wp--preset--duotone--default-filter)"
100
+				}
101
+			},
102
+			"core/navigation": {
103
+				"typography": {
104
+					"fontSize": "var(--wp--preset--font-size--large)"
105
+				}
106
+			},
107
+			"core/post-content": {
108
+				"elements": {
109
+					"link": {
110
+						"color": {
111
+							"text": "var(--wp--preset--color--contrast)"
112
+						}
113
+					},
114
+					"h1": {
115
+						"color": {
116
+							"text": "var(--wp--preset--color--contrast)"
117
+						}
118
+					}
119
+				}
120
+			},
121
+			"core/post-featured-image": {
122
+				"border": {
123
+					"radius": "8px"
124
+				},
125
+				"filter": {
126
+					"duotone": "var(--wp--preset--duotone--default-filter)"
127
+				}
128
+			},
129
+			"core/post-title": {
130
+				"elements": {
131
+					"link": {
132
+						":active": {
133
+							"color": {
134
+								"text": "var(--wp--preset--color--primary)"
135
+							}
136
+						}
137
+					}
138
+				},
139
+				"color": {
140
+					"text": "var(--wp--preset--color--primary)"
141
+				}
142
+			},
143
+			"core/quote": {
144
+				"border": {
145
+					"width": "1px"
146
+				}
147
+			},
148
+			"core/search": {
149
+				"border": {
150
+					"radius": "8px"
151
+				}
152
+			},
153
+			"core/site-logo": {
154
+				"filter": {
155
+					"duotone": "var(--wp--preset--duotone--default-filter)"
156
+				}
157
+			},
158
+			"core/site-title": {
159
+				"elements": {
160
+					"link": {
161
+						":active": {
162
+							"color": {
163
+								"text": "var(--wp--preset--color--primary)"
164
+							}
165
+						}
166
+					}
167
+				},
168
+				"spacing": {
169
+					"padding": {
170
+						"bottom": "var(--wp--preset--spacing--30)",
171
+						"top": "var(--wp--preset--spacing--30)"
172
+					}
173
+				},
174
+				"typography": {
175
+					"fontSize": "var(--wp--preset--font-size--xx-large)",
176
+					"lineHeight": "1.1",
177
+					"textTransform": "lowercase"
178
+				}
179
+			},
180
+			"core/query": {
181
+				"elements": {
182
+					"h2": {
183
+						"typography": {
184
+							"fontSize": "var(--wp--preset--font-size--large)"
185
+						}
186
+					}
187
+				}
188
+			}
189
+		},
190
+		"elements": {
191
+			"button": {
192
+				"border": {
193
+					"radius": "8px"
194
+				},
195
+				"typography": {
196
+					"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
197
+					"fontStyle": "italic",
198
+					"fontWeight": "400"
199
+				},
200
+				":active": {
201
+					"color": {
202
+						"text": "var(--wp--preset--color--contrast)"
203
+					}
204
+				}
205
+			},
206
+			"h1": {
207
+				"color": {
208
+					"text": "var(--wp--preset--color--primary)"
209
+				}
210
+			},
211
+			"h6": {
212
+				"typography": {
213
+					"fontWeight": "400"
214
+				}
215
+			},
216
+			"heading": {
217
+				"typography": {
218
+					"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
219
+					"fontStyle": "italic"
220
+				}
221
+			},
222
+			"link": {
223
+				":active": {
224
+					"color": {
225
+						"text": "var(--wp--preset--color--primary)"
226
+					}
227
+				},
228
+				"typography": {
229
+					"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
230
+					"fontStyle": "italic",
231
+					"fontWeight": "400"
232
+				}
233
+			}
234
+		},
235
+		"spacing": {
236
+			"padding": {
237
+				"bottom": "0px",
238
+				"top": "0px"
239
+			}
240
+		},
241
+		"typography": {
242
+			"fontFamily": "var(--wp--preset--font-family--dm-sans)"
243
+		}
244
+	}
245
+}

+ 251
- 0
yoac-theme/styles/canary.json Переглянути файл

@@ -0,0 +1,251 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Canary",
5
+	"settings": {
6
+		"color": {
7
+			"duotone": [
8
+				{
9
+					"colors": [
10
+						"#000000",
11
+						"#ffffff"
12
+					],
13
+					"slug": "default-filter",
14
+					"name": "Default filter"
15
+				}
16
+			],
17
+			"palette": [
18
+				{
19
+					"color": "#fdff85",
20
+					"name": "Base",
21
+					"slug": "base"
22
+				},
23
+				{
24
+					"color": "#000000",
25
+					"name": "Contrast",
26
+					"slug": "contrast"
27
+				},
28
+				{
29
+					"color": "#000000",
30
+					"name": "Primary",
31
+					"slug": "primary"
32
+				},
33
+				{
34
+					"color": "#353535",
35
+					"name": "Secondary",
36
+					"slug": "secondary"
37
+				},
38
+				{
39
+					"color": "#ffffff",
40
+					"name": "Tertiary",
41
+					"slug": "tertiary"
42
+				}
43
+			]
44
+		},
45
+		"layout": {
46
+			"wideSize": "650px"
47
+		},
48
+		"typography": {
49
+			"fontSizes": [
50
+				{
51
+					"size": "0.75rem",
52
+					"slug": "small"
53
+				},
54
+				{
55
+					"size": "1.125rem",
56
+					"slug": "medium"
57
+				},
58
+				{
59
+					"size": "1.75rem",
60
+					"slug": "large"
61
+				},
62
+				{
63
+					"size": "2.25rem",
64
+					"slug": "x-large"
65
+				},
66
+				{
67
+					"size": "10rem",
68
+					"slug": "xx-large"
69
+				}
70
+			]
71
+		}
72
+	},
73
+	"styles": {
74
+		"blocks": {
75
+			"core/comments": {
76
+				"elements": {
77
+					"link": {
78
+						"typography": {
79
+							"textDecoration": "underline"
80
+						},
81
+						":hover": {
82
+							"typography": {
83
+								"textDecoration": "none"
84
+							}
85
+						}
86
+					}
87
+				}
88
+			},
89
+			"core/comment-reply-link": {
90
+				"typography": {
91
+					"fontSize": "var(--wp--preset--font-size--small)"
92
+				}
93
+			},
94
+			"core/comments-title":{
95
+				"typography": {
96
+					"fontSize": "var(--wp--preset--font-size--small)"
97
+				}
98
+			},
99
+			"core/image": {
100
+				"border": {
101
+					"radius": "100px 0 0 0"
102
+				},
103
+				"filter": {
104
+					"duotone": "var(--wp--preset--duotone--default-filter)"
105
+				}
106
+			},
107
+			"core/navigation": {
108
+				"typography": {
109
+					"textTransform": "lowercase"
110
+				}
111
+			},
112
+			"core/post-content": {
113
+				"elements": {
114
+					"link": {
115
+						"typography": {
116
+							"textDecoration": "underline"
117
+						},
118
+						":hover": {
119
+							"typography": {
120
+								"textDecoration": "none"
121
+							}
122
+						}
123
+					}
124
+				}
125
+			},
126
+			"core/post-excerpt": {
127
+				"typography": {
128
+					"fontSize": "var(--wp--preset--font-size--small)"
129
+				}
130
+			},
131
+			"core/post-featured-image": {
132
+				"border": {
133
+					"radius": "100px 0 0 0"
134
+				},
135
+				"spacing": {
136
+					"margin": {
137
+						"bottom": "0px",
138
+						"left": "0px",
139
+						"right": "0px",
140
+						"top": "0px"
141
+					},
142
+					"padding": {
143
+						"bottom": "0px",
144
+						"left": "0px",
145
+						"right": "0px",
146
+						"top": "0px"
147
+					}
148
+				}
149
+			},
150
+			"core/post-title": {
151
+				"typography": {
152
+					"fontWeight": "700"
153
+				}
154
+			},
155
+			"core/separator": {
156
+				"border": {
157
+					"width": "2px"
158
+				}
159
+			},
160
+			"core/site-title": {
161
+				"typography": {
162
+					"fontWeight": "700",
163
+					"textTransform": "lowercase",
164
+					"fontSize": "var(--wp--preset--font-size--small)"
165
+				}
166
+			}
167
+		},
168
+		"elements": {
169
+			"button": {
170
+				":hover": {
171
+					"color": {
172
+						"background": "var(--wp--preset--color--base)",
173
+						"text": "var(--wp--preset--color--contrast)"
174
+					},
175
+					"border": {
176
+						"color": "var(--wp--preset--color--contrast)",
177
+						"style": "solid",
178
+						"width": "2px"
179
+					}
180
+				},
181
+				":focus": {
182
+					"color": {
183
+						"background": "var(--wp--preset--color--base)",
184
+						"text": "var(--wp--preset--color--contrast)"
185
+					},
186
+					"border": {
187
+						"color": "var(--wp--preset--color--contrast)",
188
+						"style": "solid",
189
+						"width": "2px"
190
+					}
191
+				},
192
+				":visited": {
193
+					"color": {
194
+						"text": "var(--wp--preset--color--base)"
195
+					}
196
+				},
197
+				"border": {
198
+					"radius": "5px",
199
+					"color": "var(--wp--preset--color--contrast)",
200
+					"style": "solid",
201
+					"width": "2px"
202
+				},
203
+				"color": {
204
+					"text": "var(--wp--preset--color--base)"
205
+				},
206
+				"spacing": {
207
+					"padding": {
208
+						"bottom": "0.667em",
209
+						"left": "1.333em",
210
+						"right": "1.333em",
211
+						"top": "0.667em"
212
+					}
213
+				}
214
+			},
215
+			"h1": {
216
+				"typography": {
217
+					"fontSize": "var(--wp--preset--font-size--small)"
218
+				}
219
+			},
220
+			"h2": {
221
+				"typography": {
222
+					"fontSize": "var(--wp--preset--font-size--small)"
223
+				}
224
+			},
225
+			"h3": {
226
+				"typography": {
227
+					"fontSize": "var(--wp--preset--font-size--small)"
228
+				}
229
+			},
230
+			"h4": {
231
+				"typography": {
232
+					"fontSize": "var(--wp--preset--font-size--small)"
233
+				}
234
+			},
235
+			"heading": {
236
+				"typography": {
237
+					"fontWeight": "700"
238
+				}
239
+			},
240
+			"link": {
241
+				"typography": {
242
+					"textDecoration": "none"
243
+				}
244
+			}
245
+		},
246
+		"typography": {
247
+			"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
248
+			"fontSize": "var(--wp--preset--font-size--small)"
249
+		}
250
+	}
251
+}

+ 100
- 0
yoac-theme/styles/electric.json Переглянути файл

@@ -0,0 +1,100 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Electric",
5
+	"settings": {
6
+		"color": {
7
+			"palette": [
8
+				{
9
+					"color": "#f3f3f1",
10
+					"name": "Base",
11
+					"slug": "base"
12
+				},
13
+				{
14
+					"color": "#2500ff",
15
+					"name": "Contrast",
16
+					"slug": "contrast"
17
+				},
18
+				{
19
+					"color": "#f3f3f1",
20
+					"name": "Primary",
21
+					"slug": "primary"
22
+				},
23
+				{
24
+					"color": "#2500ff",
25
+					"name": "Secondary",
26
+					"slug": "secondary"
27
+				},
28
+				{
29
+					"color": "#f6f6f6",
30
+					"name": "Tertiary",
31
+					"slug": "tertiary"
32
+				}
33
+			]
34
+		}
35
+	},
36
+	"styles": {
37
+		"elements": {
38
+			"button": {
39
+				"border": {
40
+					"style": "solid",
41
+					"width": "2px",
42
+					"color": "var(--wp--preset--color--contrast)"
43
+				},
44
+				"color": {
45
+					"background": "var(--wp--preset--color--contrast)",
46
+					"text": "var(--wp--preset--color--base)"
47
+				},
48
+				"spacing": {
49
+					"padding": {
50
+						"top": ".667em",
51
+						"right": "1.333em",
52
+						"bottom": ".667em",
53
+						"left": "1.333em"
54
+					}
55
+				},
56
+				":active": {
57
+					"typography": {
58
+						"textDecoration": "underline dotted"
59
+					}
60
+				},
61
+				":focus": {
62
+					"typography": {
63
+						"textDecoration": "underline dotted"
64
+					}
65
+				},
66
+				":hover": {
67
+					"border": {
68
+						"color": "var(--wp--preset--color--contrast)",
69
+						"style": "solid",
70
+						"width": "2px"
71
+					},
72
+					"color": {
73
+						"background": "var(--wp--preset--color--base)",
74
+						"text": "var(--wp--preset--color--contrast)"
75
+					}
76
+				},
77
+				":visited": {
78
+					"color": {
79
+						"text": "var(--wp--preset--color--base)"
80
+					}
81
+				}
82
+			},
83
+			"link": {
84
+				":focus": {
85
+					"typography": {
86
+						"textDecoration": "underline dotted"
87
+					}
88
+				},
89
+				":active": {
90
+					"typography": {
91
+						"textDecoration": "underline dotted"
92
+					}
93
+				}
94
+			}
95
+		},
96
+		"typography": {
97
+			"fontFamily": "var(--wp--preset--font-family--dm-sans)"
98
+		}
99
+	}
100
+}

+ 97
- 0
yoac-theme/styles/grapes.json Переглянути файл

@@ -0,0 +1,97 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Grapes",
5
+	"settings": {
6
+		"color": {
7
+			"palette": [
8
+				{
9
+					"color": "#E1E1C7",
10
+					"name": "Base",
11
+					"slug": "base"
12
+				},
13
+				{
14
+					"color": "#000000",
15
+					"name": "Contrast",
16
+					"slug": "contrast"
17
+				},
18
+				{
19
+					"color": "#214F31",
20
+					"name": "Primary",
21
+					"slug": "primary"
22
+				},
23
+				{
24
+					"color": "#000000",
25
+					"name": "Secondary",
26
+					"slug": "secondary"
27
+				},
28
+				{
29
+					"color": "#F0EBD2",
30
+					"name": "Tertiary",
31
+					"slug": "tertiary"
32
+				}
33
+			]
34
+		}
35
+	},
36
+	"styles": {
37
+		"blocks": {
38
+			"core/post-comments": {
39
+				"elements": {
40
+					"link": {
41
+						":hover": {
42
+							"typography": {
43
+								"textDecoration": "underline dashed"
44
+							}
45
+						}
46
+					}
47
+				}
48
+			},
49
+			"core/post-date": {
50
+				"typography": {
51
+					"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
52
+					"fontStyle": "italic"
53
+				}
54
+			},
55
+			"core/post-terms": {
56
+				"typography": {
57
+					"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
58
+					"fontStyle": "italic"
59
+				}
60
+			},
61
+			"core/site-title": {
62
+				"typography": {
63
+					"textTransform": "lowercase"
64
+				}
65
+			}
66
+		},
67
+		"elements": {
68
+			"button": {
69
+				"border": {
70
+					"radius": "9999px"
71
+				},
72
+				"color": {
73
+					"background": "var(--wp--preset--color--primary)",
74
+					"text": "var(--wp--preset--color--base)"
75
+				},
76
+				":visited": {
77
+					"color": {
78
+						"text": "var(--wp--preset--color--base)"
79
+					}
80
+				}
81
+			},
82
+			"heading": {
83
+				"typography": {
84
+					"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
85
+					"fontWeight": "600"
86
+				}
87
+			},
88
+			"link": {
89
+				":hover": {
90
+					"typography": {
91
+						"textDecoration": "underline dashed"
92
+					}
93
+				}
94
+			}
95
+		}
96
+	}
97
+}

+ 317
- 0
yoac-theme/styles/marigold.json Переглянути файл

@@ -0,0 +1,317 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Marigold",
5
+	"settings": {
6
+		"color": {
7
+			"palette": [
8
+				{
9
+					"color": "#F6F2EC",
10
+					"name": "Base",
11
+					"slug": "base"
12
+				},
13
+				{
14
+					"color": "#21251F",
15
+					"name": "Contrast",
16
+					"slug": "contrast"
17
+				},
18
+				{
19
+					"color": "#5B4460",
20
+					"name": "Primary",
21
+					"slug": "primary"
22
+				},
23
+				{
24
+					"color": "#FCC263",
25
+					"name": "Secondary",
26
+					"slug": "secondary"
27
+				},
28
+				{
29
+					"color": "#E7A1A9",
30
+					"name": "Tertiary",
31
+					"slug": "tertiary"
32
+				}
33
+			]
34
+		},
35
+		"layout": {
36
+			"wideSize": "1200px"
37
+		},
38
+		"spacing": {
39
+			"spacingSizes": [
40
+				{
41
+					"size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
42
+					"name": "1",
43
+					"slug": "30"
44
+				},
45
+				{
46
+					"size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
47
+					"name": "2",
48
+					"slug": "40"
49
+				},
50
+				{
51
+					"size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
52
+					"name": "3",
53
+					"slug": "50"
54
+				},
55
+				{
56
+					"size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
57
+					"name": "4",
58
+					"slug": "60"
59
+				},
60
+				{
61
+					"size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
62
+					"name": "5",
63
+					"slug": "70"
64
+				},
65
+				{
66
+					"size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
67
+					"name": "6",
68
+					"slug": "80"
69
+				}
70
+			]
71
+		},
72
+		"typography": {
73
+			"fontSizes": [
74
+				{
75
+					"size": "clamp(0.875rem, 0.799rem + 0.24vw, 1rem)",
76
+					"name": "Tiny",
77
+					"slug": "tiny"
78
+				},
79
+				{
80
+					"size": "clamp(1rem, 0.924rem + 0.24vw, 1.125rem)",
81
+					"slug": "small"
82
+				},
83
+				{
84
+					"size": "clamp(1.125rem, 1.049rem + 0.24vw, 1.25rem)",
85
+					"name": "Normal",
86
+					"slug": "normal"
87
+				},
88
+				{
89
+					"size": "clamp(1.25rem, 1.021rem + 0.73vw, 1.625rem)",
90
+					"slug": "medium"
91
+				},
92
+				{
93
+					"size": "clamp(1.375rem, 1.07rem + 0.98vw, 1.875rem)",
94
+					"slug": "large"
95
+				},
96
+				{
97
+					"size": "clamp(1.75rem, 1.369rem + 1.22vw, 2.375rem)",
98
+					"slug": "x-large"
99
+				},
100
+				{
101
+					"size": "clamp(2.125rem, 1.706rem + 1.34vw, 2.813rem)",
102
+					"slug": "xx-large"
103
+				},
104
+				{
105
+					"size": "clamp(2.5rem, 1.966rem + 1.71vw, 3.375rem)",
106
+					"name": "Huge",
107
+					"slug": "huge"
108
+				},
109
+				{
110
+					"size": "clamp(3.375rem, 2.384rem + 3.17vw, 5rem)",
111
+					"name": "Gigantic",
112
+					"slug": "gigantic"
113
+				}
114
+			]
115
+		}
116
+  },
117
+  "styles": {
118
+		"blocks": {
119
+			"core/comment-author-name": {
120
+				"elements": {
121
+					"link": {
122
+						":active": {
123
+							"color": {
124
+								"text": "var(--wp--preset--color--primary)"
125
+							}
126
+						}
127
+					}
128
+				}
129
+			},
130
+			"core/query": {
131
+				"spacing": {
132
+					"padding": {
133
+						"left": "0",
134
+						"right": "0"
135
+					}
136
+				}
137
+			},
138
+			"core/post-content": {
139
+				"elements": {
140
+					"link": {
141
+						"color": {
142
+							"text": "var(--wp--preset--color--primary)"
143
+						}
144
+					}
145
+				}
146
+			},
147
+			"core/post-excerpt": {
148
+				"typography": {
149
+					"fontSize": "var(--wp--preset--font-size--normal)"
150
+				}
151
+			},
152
+			"core/post-title": {
153
+				"elements": {
154
+					"link": {
155
+						"typography": {
156
+							"fontSize": "var(--wp--preset--font-size--large)",
157
+							"textDecoration": "none"
158
+						},
159
+						"color": {
160
+							"text": "var(--wp--preset--color--primary)"
161
+						}
162
+					}
163
+				},
164
+				"spacing": {
165
+					"margin": {
166
+						"bottom": "var(--wp--preset--spacing--50)",
167
+						"top": "var(--wp--preset--spacing--50)"
168
+					}
169
+				},
170
+				"typography": {
171
+					"fontWeight": "600"
172
+				}
173
+			},
174
+			"core/pullquote": {
175
+				"border": {
176
+					"width": "1px 0"
177
+				}
178
+			},
179
+			"core/query-pagination": {
180
+				"elements": {
181
+					"link": {
182
+						"typography": {
183
+							"textDecoration": "none"
184
+						}
185
+					}
186
+				},
187
+				"typography": {
188
+					"fontSize": "var(--wp--preset--font-size--small)",
189
+					"fontWeight": "400"
190
+				}
191
+			},
192
+			"core/quote": {
193
+				"elements": {
194
+					"cite": {
195
+						"typography": {
196
+							"fontSize": "1.25rem"
197
+						}
198
+					}
199
+				},
200
+				"typography": {
201
+					"fontSize": "1.625rem",
202
+					"lineHeight": "1.5"
203
+				}
204
+			},
205
+			"core/site-title": {
206
+				"elements": {
207
+					"link": {
208
+						"typography": {
209
+							"fontSize": "var(--wp--preset--font-size--normal)"
210
+						}
211
+					}
212
+				},
213
+				"typography": {
214
+					"textTransform": "lowercase"
215
+				}
216
+			}
217
+		},
218
+		"elements": {
219
+			"h1": {
220
+				"typography": {
221
+					"fontSize": "var(--wp--preset--font-size--huge)",
222
+					"lineHeight": "1.1"
223
+				}
224
+			},
225
+			"h2": {
226
+				"typography": {
227
+					"fontSize": "var(--wp--preset--font-size--xx-large)",
228
+					"lineHeight": "1.2"
229
+				}
230
+			},
231
+			"h3": {
232
+				"typography": {
233
+					"fontSize": "var(--wp--preset--font-size--x-large)",
234
+					"lineHeight": "1.2"
235
+				}
236
+			},
237
+			"h4": {
238
+				"typography": {
239
+					"fontSize": "var(--wp--preset--font-size--large)",
240
+					"fontWeight": "600"
241
+				}
242
+			},
243
+			"h5": {
244
+				"typography": {
245
+					"fontStyle": "normal",
246
+					"fontWeight": "600",
247
+					"textTransform": "none"
248
+				}
249
+			},
250
+			"h6": {
251
+				"typography": {
252
+					"fontSize": "var(--wp--preset--font-size--normal)",
253
+					"fontStyle": "normal",
254
+					"fontWeight": "600"
255
+				}
256
+			},
257
+			"heading": {
258
+				"typography": {
259
+					"fontStyle": "italic"
260
+				}
261
+			},
262
+			"link": {
263
+				":active": {
264
+					"color": {
265
+						"text": "var(--wp--preset--color--primary)"
266
+					}
267
+				},
268
+				":hover": {
269
+					"typography": {
270
+						"textDecoration": "none"
271
+					}
272
+				}
273
+			},
274
+			"button": {
275
+				"border": {
276
+					"radius": "50px"
277
+				},
278
+				"color": {
279
+					"background": "var(--wp--preset--color--secondary)"
280
+				},
281
+				"typography": {
282
+					"fontSize": "var(--wp--preset--font-size--normal)"
283
+				},
284
+				":hover": {
285
+					"color": {
286
+						"background": "var(--wp--preset--color--tertiary)",
287
+						"text": "var(--wp--preset--color--contrast)"
288
+					}
289
+				},
290
+				":focus": {
291
+					"color": {
292
+						"background": "var(--wp--preset--color--primary)"
293
+					}
294
+				},
295
+				":active": {
296
+					"color": {
297
+						"background": "var(--wp--preset--color--primary)"
298
+					}
299
+				}
300
+			}
301
+		},
302
+		"spacing": {
303
+			"blockGap": "2.5rem",
304
+			"padding": {
305
+				"bottom": "var(--wp--preset--spacing--50)",
306
+				"left": "var(--wp--preset--spacing--40)",
307
+				"right": "var(--wp--preset--spacing--40)",
308
+				"top": "var(--wp--preset--spacing--50)"
309
+			}
310
+		},
311
+		"typography": {
312
+			"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
313
+			"fontSize": "var(--wp--preset--font-size--normal)",
314
+			"lineHeight": "1.5"
315
+		}
316
+	}
317
+}

+ 323
- 0
yoac-theme/styles/pilgrimage.json Переглянути файл

@@ -0,0 +1,323 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Pilgrimage",
5
+	"settings": {
6
+		"color": {
7
+			"duotone": [
8
+				{
9
+					"colors": [
10
+						"#222828",
11
+						"#9EF9FD"
12
+					],
13
+					"slug": "default-filter",
14
+					"name": "Default filter"
15
+				}
16
+			],
17
+			"gradients": [
18
+				{
19
+					"gradient": "linear-gradient(180deg, var(--wp--preset--color--primary) 0%,var(--wp--preset--color--secondary) 100%)",
20
+					"name": "Primary to Secondary",
21
+					"slug": "primary-secondary"
22
+				},
23
+				{
24
+					"gradient": "linear-gradient(180deg, var(--wp--preset--color--secondary) 0%,var(--wp--preset--color--primary) 100%)",
25
+					"name": "Secondary to Primary",
26
+					"slug": "secondary-primary"
27
+				},
28
+				{
29
+					"gradient": "linear-gradient(180deg, var(--wp--preset--color--primary) 0%,var(--wp--preset--color--tertiary) 100%)",
30
+					"name": "Tertiary to Secondary",
31
+					"slug": "tertiary-secondary"
32
+				},
33
+				{
34
+					"gradient": "linear-gradient(180deg, var(--wp--preset--color--tertiary) 0%,var(--wp--preset--color--primary) 100%)",
35
+					"name": "Tertiary to Primary",
36
+					"slug": "tertiary-primary"
37
+				},
38
+				{
39
+					"gradient": "linear-gradient(180deg, var(--wp--preset--color--base) 0%,var(--wp--preset--color--primary) 350%)",
40
+					"name": "Base to Primary",
41
+					"slug": "base-primary"
42
+				},
43
+				{
44
+					"gradient": "radial-gradient(circle at 5px 5px,#0c0d0d70 2px,#ffffff00 0px,#ffffff00 0px) 0 0 / 8px 8px, linear-gradient(180deg, var(--wp--preset--color--base) 0%,#000000 200%)",
45
+					"name": "Dots",
46
+					"slug": "dots"
47
+				}
48
+			],
49
+			"palette": [
50
+				{
51
+					"color": "#222828",
52
+					"name": "Base",
53
+					"slug": "base"
54
+				},
55
+				{
56
+					"color": "#ffffff",
57
+					"name": "Contrast",
58
+					"slug": "contrast"
59
+				},
60
+				{
61
+					"color": "#53ED85",
62
+					"name": "Primary",
63
+					"slug": "primary"
64
+				},
65
+				{
66
+					"color": "#9EF9FD",
67
+					"name": "Secondary",
68
+					"slug": "secondary"
69
+				},
70
+				{
71
+					"color": "#D8E202",
72
+					"name": "Tertiary",
73
+					"slug": "tertiary"
74
+				}
75
+			]
76
+		}
77
+	},
78
+	"styles": {
79
+		"blocks": {
80
+			"core/comment-author-name": {
81
+				"elements": {
82
+					"link": {
83
+						":active": {
84
+							"color": {
85
+								"text": "var(--wp--preset--color--tertiary)"
86
+							}
87
+						}
88
+					}
89
+				}
90
+			},
91
+			"core/comment-date": {
92
+				"elements": {
93
+					"link": {
94
+						":active": {
95
+							"color": {
96
+								"text": "var(--wp--preset--color--tertiary)"
97
+							},
98
+							"typography": {
99
+								"textDecoration": "underline"
100
+							}
101
+						}
102
+					}
103
+				}
104
+			},
105
+			"core/comment-edit-link": {
106
+				"elements": {
107
+					"link": {
108
+						":active": {
109
+							"color": {
110
+								"text": "var(--wp--preset--color--tertiary)"
111
+							}
112
+						}
113
+					}
114
+				}
115
+			},
116
+			"core/comments-pagination": {
117
+				"elements": {
118
+					"link": {
119
+						"typography": {
120
+							"textDecoration": "underline"
121
+						}
122
+					}
123
+				}
124
+			},
125
+			"core/image": {
126
+				"filter": {
127
+					"duotone": "var(--wp--preset--duotone--default-filter)"
128
+				}
129
+			},
130
+			"core/navigation": {
131
+				"elements": {
132
+					"link": {
133
+						":active": {
134
+							"typography": {
135
+								"textDecoration": "underline dashed"
136
+							}
137
+						},
138
+						"color": {
139
+							"text": "var(--wp--preset--color--primary)"
140
+						},
141
+						"typography": {
142
+							"textDecoration": "underline"
143
+						}
144
+					}
145
+				}
146
+			},
147
+			"core/paragraph": {
148
+				"color": {
149
+					"text": "var(--wp--preset--color--contrast)"
150
+				},
151
+				"elements": {
152
+					"link": {
153
+						":hover": {
154
+							"color": {
155
+								"text": "var(--wp--preset--color--tertiary)"
156
+							}
157
+						}
158
+					}
159
+				}
160
+			},
161
+			"core/post-content": {
162
+				"elements": {
163
+					"link": {
164
+						"color": {
165
+							"text": "var(--wp--preset--color--primary)"
166
+						}
167
+					}
168
+				}
169
+			},
170
+			"core/post-date": {
171
+				"elements": {
172
+					"link": {
173
+						"typography": {
174
+							"textDecoration": "none",
175
+							"fontStyle": "italic"
176
+						}
177
+					}
178
+				}
179
+			},
180
+			"core/post-featured-image": {
181
+				"filter": {
182
+					"duotone": "var(--wp--preset--duotone--default-filter)"
183
+				}
184
+			},
185
+			"core/post-title": {
186
+				"elements": {
187
+					"link": {
188
+						":active": {
189
+							"color": {
190
+								"text": "var(--wp--preset--color--tertiary)"
191
+							},
192
+							"typography": {
193
+								"textDecoration": "underline"
194
+							}
195
+						},
196
+						"typography": {
197
+							"textDecoration": "underline"
198
+						}
199
+					}
200
+				}
201
+			},
202
+			"core/query-pagination": {
203
+				"elements": {
204
+					"link": {
205
+						"typography": {
206
+							"textDecoration": "underline"
207
+						}
208
+					}
209
+				}
210
+			},
211
+			"core/separator": {
212
+				"color": {
213
+					"text": "var(--wp--preset--color--secondary)"
214
+				}
215
+			},
216
+			"core/site-title": {
217
+				"elements": {
218
+					"link": {
219
+						":active": {
220
+							"color": {
221
+								"text": "var(--wp--preset--color--primary)"
222
+							}
223
+						}
224
+					}
225
+				},
226
+				"typography": {
227
+					"fontStyle": "italic",
228
+					"fontWeight": "700"
229
+				}
230
+			}
231
+		},
232
+		"color": {
233
+			"gradient": "var(--wp--preset--gradient--dots)"
234
+		},
235
+		"elements": {
236
+			"button": {
237
+				":active": {
238
+					"color": {
239
+						"background": "var(--wp--preset--color--secondary)",
240
+						"gradient": "none"
241
+					}
242
+				},
243
+				":focus": {
244
+					"color": {
245
+						"gradient": "var(--wp--preset--gradient--secondary-primary)"
246
+					}
247
+				},
248
+				":hover": {
249
+					"color": {
250
+						"gradient": "var(--wp--preset--gradient--secondary-primary)"
251
+					}
252
+				},
253
+				":visited": {
254
+					"color": {
255
+						"text": "var(--wp--preset--color--base)"
256
+					}
257
+				},
258
+				"border": {
259
+					"radius": "5px"
260
+				},
261
+				"color": {
262
+					"gradient": "var(--wp--preset--gradient--primary-secondary)",
263
+					"text": "var(--wp--preset--color--base)"
264
+				}
265
+			},
266
+			"h1": {
267
+				"color": {
268
+					"text": "var(--wp--preset--color--contrast)"
269
+				}
270
+			},
271
+			"h2": {
272
+				"color": {
273
+					"text": "var(--wp--preset--color--contrast)"
274
+				}
275
+			},
276
+			"h3": {
277
+				"color": {
278
+					"text": "var(--wp--preset--color--primary)"
279
+				}
280
+			},
281
+			"h4": {
282
+				"color": {
283
+					"text": "var(--wp--preset--color--primary)"
284
+				}
285
+			},
286
+			"h5": {
287
+				"color": {
288
+					"text": "var(--wp--preset--color--primary)"
289
+				}
290
+			},
291
+			"h6": {
292
+				"color": {
293
+					"text": "var(--wp--preset--color--primary)"
294
+				}
295
+			},
296
+			"heading": {
297
+				"color": {
298
+					"text": "var(--wp--preset--color--primary)"
299
+				}
300
+			},
301
+			"link": {
302
+				"color": {
303
+					"text": "var(--wp--preset--color--primary)"
304
+				},
305
+				":hover": {
306
+					"color": {
307
+						"text":"var(--wp--preset--color--tertiary)"
308
+					}
309
+				},
310
+				":focus": {
311
+					"color": {
312
+						"text":"var(--wp--preset--color--tertiary)"
313
+					}
314
+				},
315
+				":active": {
316
+					"color": {
317
+						"text": "var(--wp--preset--color--tertiary)"
318
+					}
319
+				}
320
+			}
321
+		}
322
+	}
323
+}

+ 242
- 0
yoac-theme/styles/pitch.json Переглянути файл

@@ -0,0 +1,242 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Pitch",
5
+	"settings": {
6
+		"color": {
7
+			"palette": [
8
+				{
9
+					"color": "#202124",
10
+					"name": "Base",
11
+					"slug": "base"
12
+				},
13
+				{
14
+					"color": "#e8eaed",
15
+					"name": "Contrast",
16
+					"slug": "contrast"
17
+				},
18
+				{
19
+					"color": "#e3cbc0",
20
+					"name": "Primary",
21
+					"slug": "primary"
22
+				},
23
+				{
24
+					"color": "#876C3A",
25
+					"name": "Secondary",
26
+					"slug": "secondary"
27
+				},
28
+				{
29
+					"color": "#303134",
30
+					"name": "Tertiary",
31
+					"slug": "tertiary"
32
+				}
33
+			]
34
+		},
35
+		"layout": {
36
+			"contentSize": "min(640px, 90vw)",
37
+			"wideSize": "90vw"
38
+		},
39
+		"spacing": {
40
+			"spacingScale": {
41
+				"steps": 7
42
+			},
43
+			"spacingSizes": [
44
+				{
45
+					"size": "calc(8px + 1.5625vw)",
46
+					"slug": "20",
47
+					"name": "1"
48
+				},
49
+				{
50
+					"size": "calc(12px + 1.5625vw)",
51
+					"slug": "30",
52
+					"name": "2"
53
+				},
54
+				{
55
+					"size": "calc(16px + 1.5625vw)",
56
+					"slug": "40",
57
+					"name": "3"
58
+				},
59
+				{
60
+					"size": "calc(20px + 1.5625vw)",
61
+					"slug": "50",
62
+					"name": "4"
63
+				},
64
+				{
65
+					"size": "calc(24px + 1.5625vw)",
66
+					"slug": "60",
67
+					"name": "5"
68
+				},
69
+				{
70
+					"size": "calc(28px + 1.5625vw)",
71
+					"slug": "70",
72
+					"name": "6"
73
+				},
74
+				{
75
+					"size": "calc(32px + 1.5625vw)",
76
+					"slug": "80",
77
+					"name": "7"
78
+				}
79
+			]
80
+		},
81
+		"typography": {
82
+			"fontSizes": [
83
+				{
84
+					"size": "0.85rem",
85
+					"fluid": {
86
+						"min": "0.85rem",
87
+						"max": "1rem"
88
+					},
89
+					"slug": "small",
90
+					"name": "small"
91
+				},
92
+				{
93
+					"size": "1.1rem",
94
+					"fluid": {
95
+						"min": "1.1rem",
96
+						"max": "1.4rem"
97
+					},
98
+					"slug": "medium",
99
+					"name": "Medium"
100
+				},
101
+				{
102
+					"size": "1.999rem",
103
+					"fluid": {
104
+						"min": "1.999rem",
105
+						"max": "2.827rem"
106
+					},
107
+					"slug": "large",
108
+					"name": "Large"
109
+				},
110
+				{
111
+					"size": "2.827rem",
112
+					"fluid": {
113
+						"min": "2.827rem",
114
+						"max": "3.998rem"
115
+					},
116
+					"slug": "x-large",
117
+					"name": "Extra Large"
118
+				},
119
+				{
120
+					"size": "3.2rem",
121
+					"fluid": {
122
+						"min": "3.2rem",
123
+						"max": "5.653rem"
124
+					},
125
+					"slug": "xx-large",
126
+					"name": "2X Large"
127
+				}
128
+			]
129
+		}
130
+	},
131
+	"styles": {
132
+		"blocks": {
133
+			"core/separator": {
134
+				"border": {
135
+					"color":"var(--wp--preset--color--tertiary)",
136
+					"width": "2px"
137
+				}
138
+			},
139
+			"core/site-title": {
140
+				"typography": {
141
+					"fontSize": "var(--wp--preset--font-size--medium)",
142
+					"fontStyle": "normal",
143
+					"fontWeight": "600"
144
+				}
145
+			}
146
+		},
147
+		"elements": {
148
+			"button": {
149
+				"border": {
150
+					"radius": "0",
151
+					"style": "solid",
152
+					"width": "2px",
153
+					"color": "var(--wp--preset--color--primary)"
154
+				},
155
+				"color": {
156
+					"background": "var(--wp--preset--color--primary)",
157
+					"text": "var(--wp--preset--color--base)"
158
+				},
159
+				"spacing": {
160
+					"padding": {
161
+						"top": "min(1.125rem, 3vw) !important",
162
+						"right": "min(2.125rem, 5vw) !important",
163
+						"bottom": "min(1.125rem, 3vw) !important",
164
+						"left": "min(2.125rem, 5vw) !important"
165
+					}
166
+				},
167
+				"typography": {
168
+					"fontSize": "var(--wp--preset--font-size--small)",
169
+					"fontWeight": "600",
170
+					"textTransform": "uppercase",
171
+					"letterSpacing": "0.01em"
172
+				},
173
+				":hover": {
174
+					"border": {
175
+						"color": "var(--wp--preset--color--contrast)"
176
+					},
177
+					"color": {
178
+						"background": "var(--wp--preset--color--contrast)",
179
+						"text": "var(--wp--preset--color--tertiary)"
180
+					}
181
+				},
182
+				":focus": {
183
+					"border": {
184
+						"color": "var(--wp--preset--color--contrast)"
185
+					},
186
+					"color": {
187
+						"background": "var(--wp--preset--color--contrast)",
188
+						"text": "var(--wp--preset--color--tertiary)"
189
+					}
190
+				},
191
+				":active": {
192
+					"border": {
193
+						"color": "var(--wp--preset--color--contrast)"
194
+					},
195
+					"color": {
196
+						"background": "var(--wp--preset--color--contrast)",
197
+						"text": "var(--wp--preset--color--tertiary)"
198
+					}
199
+				},
200
+				":visited": {
201
+					"color": {
202
+						"text": "var(--wp--preset--color--base)"
203
+					}
204
+				}
205
+			},
206
+			"h1": {
207
+				"typography": {
208
+					"fontSize": "var(--wp--preset--font-size--xx-large)",
209
+					"lineHeight": "1.1"
210
+				}
211
+			},
212
+			"h2": {
213
+				"typography": {
214
+					"fontSize": "var(--wp--preset--font-size--x-large)",
215
+					"lineHeight": "1.1"
216
+				}
217
+			},
218
+			"h3": {
219
+				"typography": {
220
+					"fontSize": "var(--wp--preset--font-size--large)"
221
+				}
222
+			},
223
+			"heading": {
224
+				"typography": {
225
+					"fontWeight": "500"
226
+				}
227
+			}
228
+		},
229
+		"spacing": {
230
+			"blockGap": "var(--wp--preset--spacing--40)",
231
+			"padding": {
232
+				"right": "var(--wp--preset--spacing--70)",
233
+				"left": "var(--wp--preset--spacing--70)"
234
+			}
235
+		},
236
+		"typography": {
237
+			"fontFamily": "var(--wp--preset--font-family--inter)",
238
+			"fontSize": "var(--wp--preset--font-size--medium)",
239
+			"lineHeight": "1.7"
240
+		}
241
+	}
242
+}

+ 243
- 0
yoac-theme/styles/sherbet.json Переглянути файл

@@ -0,0 +1,243 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Sherbet",
5
+	"settings": {
6
+		"color": {
7
+			"duotone": [
8
+				{
9
+					"colors": [
10
+						"#FF99FF",
11
+						"#FFFF99",
12
+						"#99FFFF"
13
+					],
14
+					"name": "Default filter",
15
+					"slug": "default-filter"
16
+				}
17
+			],
18
+			"gradients": [
19
+				{
20
+					"gradient": "linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 50%, var(--wp--preset--color--tertiary) 100%)",
21
+					"name": "Primary to Secondary to Tertiary",
22
+					"slug": "primary-secondary-tertiary"
23
+				},
24
+				{
25
+					"gradient": "linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 50%, var(--wp--preset--color--tertiary) 100%) fixed",
26
+					"name": "Primary to Secondary to Tertiary Fixed",
27
+					"slug": "primary-secondary-tertiary-fixed"
28
+				},
29
+				{
30
+					"gradient": "linear-gradient(135deg, var(--wp--preset--color--tertiary) 0%, var(--wp--preset--color--secondary) 50%, var(--wp--preset--color--primary) 100%) fixed",
31
+					"name": "Tertiary to Secondary to Primary Fixed",
32
+					"slug": "tertiary-secondary-primary-fixed"
33
+				}
34
+			],
35
+			"palette": [
36
+				{
37
+					"color": "#FFFFFF",
38
+					"name": "Base",
39
+					"slug": "base"
40
+				},
41
+				{
42
+					"color": "#000000",
43
+					"name": "Contrast",
44
+					"slug": "contrast"
45
+				},
46
+				{
47
+					"color": "#FFCCFF",
48
+					"name": "Primary",
49
+					"slug": "primary"
50
+				},
51
+				{
52
+					"color": "#FFFFCC",
53
+					"name": "Secondary",
54
+					"slug": "secondary"
55
+				},
56
+				{
57
+					"color": "#CCFFFF",
58
+					"name": "Tertiary",
59
+					"slug": "tertiary"
60
+				}
61
+			]
62
+		},
63
+		"typography": {
64
+			"fontSizes": [
65
+				{
66
+					"fluid": false,
67
+					"size": "0.75rem",
68
+					"slug": "x-small"
69
+				},
70
+				{
71
+					"fluid": {
72
+						"min": "0.875rem",
73
+						"max": "1rem"
74
+					},
75
+					"size": "1rem",
76
+					"slug": "small"
77
+				},
78
+				{
79
+					"fluid": {
80
+						"min": "1rem",
81
+						"max": "1.125rem"
82
+					},
83
+					"size": "1.125rem",
84
+					"slug": "medium"
85
+				},
86
+				{
87
+					"fluid": {
88
+						"min": "1.5rem",
89
+						"max": "1.75rem"
90
+					},
91
+					"size": "1.75rem",
92
+					"slug": "large"
93
+				},
94
+				{
95
+					"fluid": {
96
+						"min": "2rem",
97
+						"max": "2.25rem"
98
+					},
99
+					"size": "2.25rem",
100
+					"slug": "x-large"
101
+				},
102
+				{
103
+					"fluid": {
104
+						"min": "2.5rem",
105
+						"max": "2.75rem"
106
+					},
107
+					"size": "2.75rem",
108
+					"slug": "xx-large"
109
+				}
110
+			]
111
+		}
112
+	},
113
+	"styles": {
114
+		"blocks": {
115
+			"core/comments": {
116
+				"elements": {
117
+					"link": {
118
+						":active": {
119
+							"color": {
120
+								"text": "var(--wp--preset--color--contrast)"
121
+							}
122
+						}
123
+					}
124
+				}
125
+			},
126
+			"core/comment-author-name": {
127
+				"typography": {
128
+					"fontSize": "var(--wp--preset--font-size--medium)",
129
+					"textTransform": "initial"
130
+				}
131
+			},
132
+			"core/comment-content": {
133
+				"typography": {
134
+					"fontSize": "var(--wp--preset--font-size--medium)",
135
+					"textTransform": "initial"
136
+				}
137
+			},
138
+			"core/navigation": {
139
+				"typography": {
140
+					"fontSize": "var(--wp--preset--font-size--small)",
141
+					"fontWeight": "500",
142
+					"textTransform": "uppercase"
143
+				}
144
+			},
145
+			"core/post-content": {
146
+				"elements": {
147
+					"link": {
148
+						"color": {
149
+							"text": "var(--wp--preset--color--contrast)"
150
+						},
151
+						":active": {
152
+							"color": {
153
+								"text": "var(--wp--preset--color--contrast)"
154
+							}
155
+						}
156
+					}
157
+				}
158
+			},
159
+			"core/post-date": {
160
+				"typography": {
161
+					"textTransform": "uppercase"
162
+				}
163
+			},
164
+			"core/post-featured-image": {
165
+				"filter": {
166
+					"duotone": "var(--wp--preset--duotone--default-filter)"
167
+				},
168
+				"border": {
169
+					"color": "var(--wp--preset--color--tertiary)",
170
+					"style": "solid"
171
+				}
172
+			},
173
+			"core/post-title": {
174
+				"typography": {
175
+					"fontWeight": "500",
176
+					"textTransform": "uppercase"
177
+				}
178
+			},
179
+			"core/site-title": {
180
+				"typography": {
181
+					"fontWeight": "500"
182
+				}
183
+			},
184
+			"core/template-part": {
185
+				"typography": {
186
+					"fontSize": "var(--wp--preset--font-size--x-small)",
187
+					"fontWeight": "400",
188
+					"textTransform": "uppercase"
189
+				}
190
+			}
191
+		},
192
+		"color": {
193
+			"gradient": "var(--wp--preset--gradient--primary-secondary-tertiary)"
194
+		},
195
+		"elements": {
196
+			"button": {
197
+				"border": {
198
+					"color": "var(--wp--preset--color--contrast)",
199
+					"radius": "99999px",
200
+					"style": "solid",
201
+					"width": "2px"
202
+				},
203
+				"color": {
204
+					"background": "var(--wp--preset--color--base)",
205
+					"gradient": "var(--wp--preset--gradient--primary-secondary-tertiary-fixed)",
206
+					"text": "var(--wp--preset--color--contrast)"
207
+				},
208
+				"typography": {
209
+					"fontSize": "var(--wp--preset--font-size--x-small)",
210
+					"fontWeight": "400",
211
+					"textTransform": "uppercase"
212
+				},
213
+				":hover": {
214
+					"color": {
215
+						"gradient": "var(--wp--preset--gradient--tertiary-secondary-primary-fixed)",
216
+						"text": "var(--wp--preset--color--contrast)"
217
+					}
218
+				},
219
+				":focus": {
220
+					"color": {
221
+						"background": "var(--wp--preset--color--contrast)",
222
+						"gradient": "none"
223
+					}
224
+				},
225
+				":active": {
226
+					"color": {
227
+						"background": "var(--wp--preset--color--contrast)",
228
+						"gradient": "none"
229
+					}
230
+				}
231
+			},
232
+			"heading": {
233
+				"typography": {
234
+					"fontWeight": "500"
235
+				}
236
+			}
237
+		},
238
+		"typography": {
239
+			"fontSize": "var(--wp--preset--font-size--small)",
240
+			"fontFamily": "var(--wp--preset--font-family--inter)"
241
+		}
242
+	}
243
+}

+ 551
- 0
yoac-theme/styles/whisper.json Переглянути файл

@@ -0,0 +1,551 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
3
+	"version": 2,
4
+	"title": "Whisper",
5
+	"settings": {
6
+		"color": {
7
+			"palette": [
8
+				{
9
+					"color": "#E5E7F2",
10
+					"name": "Base",
11
+					"slug": "base"
12
+				},
13
+				{
14
+					"color": "#47484B",
15
+					"name": "Contrast",
16
+					"slug": "contrast"
17
+				},
18
+				{
19
+					"color": "#B50B3E",
20
+					"name": "Primary",
21
+					"slug": "primary"
22
+				},
23
+				{
24
+					"color": "#0B0033",
25
+					"name": "Secondary",
26
+					"slug": "secondary"
27
+				},
28
+				{
29
+					"color": "#F9F9FB",
30
+					"name": "Tertiary",
31
+					"slug": "tertiary"
32
+				}
33
+			]
34
+		},
35
+		"layout": {
36
+			"contentSize": "710px",
37
+			"wideSize": "1200px"
38
+		},
39
+		"typography": {
40
+			"fontSizes": [
41
+				{
42
+					"fluid": {
43
+						"min": "0.875rem",
44
+						"max": "1rem"
45
+					},
46
+					"size": "1rem",
47
+					"slug": "small"
48
+				},
49
+				{
50
+					"fluid": {
51
+						"min": "1rem",
52
+						"max": "1.187rem"
53
+					},
54
+					"size": "1.187rem",
55
+					"slug": "medium"
56
+				},
57
+				{
58
+					"fluid": {
59
+						"min": "1.187rem",
60
+						"max": "1.3125rem"
61
+					},
62
+					"size": "1.3125rem",
63
+					"slug": "large"
64
+				},
65
+				{
66
+					"fluid": {
67
+						"min": "1.562rem",
68
+						"max": "2rem"
69
+					},
70
+					"size": "2rem",
71
+					"slug": "x-large"
72
+				},
73
+				{
74
+					"fluid": {
75
+						"min": "3.375rem",
76
+						"max": "7rem"
77
+					},
78
+					"size": "7rem",
79
+					"slug": "xx-large"
80
+				}
81
+			]
82
+		}
83
+	},
84
+	"styles": {
85
+		"blocks": {
86
+			"core/navigation": {
87
+				"color": {
88
+					"text": "var(--wp--preset--color--contrast)"
89
+				},
90
+				"elements": {
91
+					"link": {
92
+						"border": {
93
+							"bottom": {
94
+								"color": "transparent",
95
+								"style": "solid",
96
+								"width": "0.2ch"
97
+							}
98
+						},
99
+						"color": {
100
+							"text": "var(--wp--preset--color--contrast)"
101
+						},
102
+						":hover": {
103
+							"border": {
104
+								"color": "var(--wp--preset--color--primary)"
105
+							},
106
+							"color": {
107
+								"background": "transparent",
108
+								"text": "var(--wp--preset--color--secondary)"
109
+							},
110
+							"typography": {
111
+								"textDecoration": "none"
112
+							}
113
+						},
114
+						":focus": {
115
+							"typography": {
116
+								"textDecoration": "none"
117
+							}
118
+						},
119
+						":active": {
120
+							"typography": {
121
+								"textDecoration": "none"
122
+							}
123
+						},
124
+						"typography": {
125
+							"textDecoration": "none"
126
+						}
127
+					}
128
+				},
129
+				"typography": {
130
+					"fontSize": "var(--wp--preset--font-size--large)"
131
+				}
132
+			},
133
+			"core/navigation-submenu": {
134
+				"color": {
135
+					"text": "var(--wp--preset--color--primary)"
136
+				}
137
+			},
138
+			"core/post-content": {
139
+				"elements": {
140
+					"link": {
141
+						":hover": {
142
+							"border": {
143
+								"color": "var(--wp--preset--color--contrast)"
144
+							},
145
+							"color": {
146
+								"background": "var(--wp--preset--color--tertiary)"
147
+							},
148
+							"typography": {
149
+								"textDecoration": "none"
150
+							}
151
+						}
152
+					}
153
+				}
154
+			},
155
+			"core/post-date": {
156
+				"elements": {
157
+					"link": {
158
+						":hover": {
159
+							"border": {
160
+								"color": "var(--wp--preset--color--contrast)"
161
+							},
162
+							"color": {
163
+								"background": "var(--wp--preset--color--tertiary)"
164
+							},
165
+							"typography": {
166
+								"textDecoration": "none"
167
+							}
168
+						}
169
+					}
170
+				}
171
+			},
172
+			"core/post-title": {
173
+				"elements": {
174
+					"link": {
175
+						"border": {
176
+							"width": "0 !important"
177
+						},
178
+						":hover": {
179
+							"color": {
180
+								"text": "var(--wp--preset--color--primary)"
181
+							}
182
+						},
183
+						":focus": {
184
+							"color": {
185
+								"text": "var(--wp--preset--color--primary)"
186
+							}
187
+						},
188
+						":active": {
189
+							"color": {
190
+								"text": "var(--wp--preset--color--primary)"
191
+							}
192
+						}
193
+					}
194
+				}
195
+			},
196
+			"core/pullquote": {
197
+				"border": {
198
+					"color": "var(--wp--preset--color--contrast)",
199
+					"style": "double",
200
+					"width": "6px"
201
+				},
202
+				"color": {
203
+					"text": "var(--wp--preset--color--secondary)"
204
+				}
205
+			},
206
+			"core/quote": {
207
+				"border": {
208
+					"color": "var(--wp--preset--color--contrast)",
209
+					"style": "double",
210
+					"width": "0 0 0 6px"
211
+				},
212
+				"color": {
213
+					"text": "var(--wp--preset--color--secondary)"
214
+				},
215
+				"spacing": {
216
+					"margin": {
217
+						"left": "var(--wp--preset--spacing--30)"
218
+					},
219
+					"padding": {
220
+						"left": "var(--wp--preset--spacing--30)"
221
+					}
222
+				}
223
+			},
224
+			"core/query-pagination": {
225
+				"elements": {
226
+					"link": {
227
+						":hover": {
228
+							"border": {
229
+								"color": "var(--wp--preset--color--contrast)"
230
+							},
231
+							"color": {
232
+								"background": "var(--wp--preset--color--tertiary)"
233
+							},
234
+							"typography": {
235
+								"textDecoration": "none"
236
+							}
237
+						},
238
+						":active": {
239
+							"border": {
240
+								"color": "var(--wp--preset--color--base)",
241
+								"width": "0 0 2px 0"
242
+							}
243
+						}
244
+					}
245
+				}
246
+			},
247
+			"core/separator": {
248
+				"border": {
249
+					"color": "var(--wp--preset--color--contrast)",
250
+					"style": "double",
251
+					"width": "6px 0 0 0"
252
+				}
253
+			},
254
+			"core/site-title": {
255
+				"elements": {
256
+					"link": {
257
+						"border": {
258
+							"color": "transparent"
259
+						},
260
+						"color": {
261
+							"text": "var(--wp--preset--color--primary)"
262
+						},
263
+						":hover": {
264
+							"border": {
265
+								"color": "var(--wp--preset--color--primary)"
266
+							},
267
+							"color": {
268
+								"background": "transparent"
269
+							},
270
+							"typography": {
271
+								"textDecoration": "none"
272
+							}
273
+						},
274
+						":focus": {
275
+							"typography": {
276
+								"textDecoration": "none"
277
+							}
278
+						},
279
+						":active": {
280
+							"border": {
281
+								"color": "var(--wp--preset--color--primary)"
282
+							},
283
+							"color": {
284
+								"background": "transparent"
285
+							},
286
+							"typography": {
287
+								"textDecoration": "none"
288
+							}
289
+						},
290
+						"typography": {
291
+							"fontFamily": "var(--wp--preset--font-family--dm-sans)",
292
+							"fontSize": "var(--wp--preset--font-size--large)",
293
+							"fontWeight": "700",
294
+							"letterSpacing": "-0.01em",
295
+							"textDecoration": "none"
296
+						}
297
+					}
298
+				},
299
+				"typography": {
300
+					"fontSize": "var(--wp--preset--font-size--large)",
301
+					"lineHeight": "1.4",
302
+					"textTransform": "capitalize"
303
+				}
304
+			},
305
+			"core/comment-author-name":{
306
+				"elements": {
307
+					"link": {
308
+						":hover": {
309
+							"typography": {
310
+								"textDecoration": "none"
311
+							}
312
+						},
313
+						":focus": {
314
+							"typography": {
315
+								"textDecoration": "none"
316
+							}
317
+						}
318
+					}
319
+				}
320
+			},
321
+			"core/comment-date": {
322
+				"elements": {
323
+					"link": {
324
+						":hover": {
325
+							"typography": {
326
+								"textDecoration": "none"
327
+							}
328
+						},
329
+						":focus": {
330
+							"typography": {
331
+								"textDecoration": "none"
332
+							}
333
+						}
334
+					}
335
+				}
336
+			},
337
+			"core/comment-edit-link": {
338
+				"elements": {
339
+					"link": {
340
+						":hover": {
341
+							"typography": {
342
+								"textDecoration": "none"
343
+							}
344
+						},
345
+						":focus": {
346
+							"typography": {
347
+								"textDecoration": "none"
348
+							}
349
+						}
350
+					}
351
+				}
352
+			}
353
+		},
354
+		"elements": {
355
+			"button": {
356
+				"border": {
357
+					"color": "var(--wp--preset--color--primary)",
358
+					"radius": "10px",
359
+					"style": "solid",
360
+					"width": "2px 2px 6px 2px !important"
361
+				},
362
+				"color": {
363
+					"background": "transparent",
364
+					"text": "var(--wp--preset--color--primary)"
365
+				},
366
+				"spacing": {
367
+					"padding": {
368
+						"top": "min(1rem, 3vw) !important",
369
+						"right": "min(2.75rem, 6vw) !important",
370
+						"bottom": "min(1rem, 3vw) !important",
371
+						"left": "min(2.75rem, 6vw) !important"
372
+					}
373
+				},
374
+				"typography": {
375
+					"fontWeight": "700",
376
+					"letterSpacing": "1px",
377
+					"textTransform": "uppercase"
378
+				},
379
+				":hover": {
380
+					"border": {
381
+						"color": "var(--wp--preset--color--secondary)",
382
+						"width": "2px 2px 4px 2px !important"
383
+					},
384
+					"color": {
385
+						"background": "var(--wp--preset--color--tertiary)",
386
+						"text": "var(--wp--preset--color--secondary)"
387
+					},
388
+					"spacing": {
389
+						"padding": {
390
+							"bottom": "min(calc(1rem + 2px), 3vw) !important"
391
+						}
392
+					}
393
+				},
394
+				":focus": {
395
+					"border": {
396
+						"color": "var(--wp--preset--color--secondary)",
397
+						"style": "dashed dashed double",
398
+						"width": "2px 2px 4px 2px !important"
399
+					},
400
+					"color": {
401
+						"background": "var(--wp--preset--color--tertiary)",
402
+						"text": "var(--wp--preset--color--secondary)"
403
+					},
404
+					"spacing": {
405
+						"padding": {
406
+							"bottom": "min(calc(1rem + 2px), 3vw) !important"
407
+						}
408
+					}
409
+				},
410
+				":active": {
411
+					"border": {
412
+						"color": "var(--wp--preset--color--secondary)",
413
+						"width": "2px 2px 4px 2px !important"
414
+					},
415
+					"color": {
416
+						"background": "var(--wp--preset--color--tertiary)",
417
+						"text": "var(--wp--preset--color--secondary)"
418
+					},
419
+					"spacing": {
420
+						"padding": {
421
+							"bottom": "min(calc(1rem + 2px), 3vw) !important"
422
+						}
423
+					}
424
+				},
425
+				":visited": {
426
+					"color": {
427
+						"text": "var(--wp--preset--color--primary)"
428
+					}
429
+				}
430
+			},
431
+			"cite": {
432
+				"typography": {
433
+					"fontFamily": "var(--wp--preset--font-family--source-serif-pro)"
434
+				}
435
+			},
436
+			"h1": {
437
+				"typography": {
438
+					"fontSize": "clamp(4.21rem, 1.43vw + 3.85rem, 5rem)",
439
+					"fontWeight": "300",
440
+					"letterSpacing": "-0.01em"
441
+				}
442
+			},
443
+			"h2": {
444
+				"color": {
445
+					"text": "var(--wp--preset--color--secondary)"
446
+				},
447
+				"typography": {
448
+					"fontSize": "clamp(3.16rem, 1.08vw + 2.89rem, 3.75rem)",
449
+					"fontWeight": "400",
450
+					"letterSpacing": "-0.01em"
451
+				}
452
+			},
453
+			"h3": {
454
+				"color": {
455
+					"text": "var(--wp--preset--color--secondary)"
456
+				},
457
+				"typography": {
458
+					"fontSize": "clamp(2.37rem, 0.81vw + 2.17rem, 2.81rem)",
459
+					"fontWeight": "500"
460
+				}
461
+			},
462
+			"h4": {
463
+				"typography": {
464
+					"fontSize": "clamp(1.78rem, 0.61vw + 1.63rem, 2.11rem)",
465
+					"fontWeight": "600"
466
+				}
467
+			},
468
+			"h5": {
469
+				"typography": {
470
+					"fontSize": "clamp(1.33rem, 0.45vw + 1.22rem, 1.58rem)",
471
+					"fontWeight": "700",
472
+					"letterSpacing": "1px"
473
+				}
474
+			},
475
+			"h6": {
476
+				"typography": {
477
+					"fontSize": "clamp(1rem, 0.34vw + 0.91rem, 1.19rem)",
478
+					"fontWeight": "900",
479
+					"letterSpacing": "2px"
480
+				}
481
+			},
482
+			"heading": {
483
+				"color": {
484
+					"text": "var(--wp--preset--color--secondary)"
485
+				},
486
+				"typography": {
487
+					"fontFamily": "var(--wp--preset--font-family--source-serif-pro)"
488
+				}
489
+			},
490
+			"link": {
491
+				"border": {
492
+					"color": "var(--wp--preset--color--primary)",
493
+					"style": "solid",
494
+					"width": "0 0 2px 0"
495
+				},
496
+				"color": {
497
+					"text": "var(--wp--preset--color--secondary)"
498
+				},
499
+				":hover": {
500
+					"border": {
501
+						"color": "var(--wp--preset--color--contrast)"
502
+					},
503
+					"color": {
504
+						"text": "var(--wp--preset--color--secondary)"
505
+					},
506
+					"typography": {
507
+						"textDecoration": "none"
508
+					}
509
+				},
510
+				":focus": {
511
+					"border": {
512
+						"style": "dashed"
513
+					},
514
+					"typography": {
515
+						"textDecoration": "none"
516
+					}
517
+				},
518
+				":active": {
519
+					"border": {
520
+						"width": "0"
521
+					},
522
+					"color": {
523
+						"text": "var(--wp--preset--color--secondary)"
524
+					},
525
+					"typography": {
526
+						"textDecoration": "none"
527
+					}
528
+				},
529
+				"typography": {
530
+					"textDecoration": "none"
531
+				}
532
+			}
533
+		},
534
+		"border": {
535
+			"color": "var(--wp--preset--color--tertiary)",
536
+			"style": "solid",
537
+			"width": "max(1vw, 0.5rem)"
538
+		},
539
+		"spacing": {
540
+			"padding": {
541
+				"top": "var(--wp--preset--spacing--40)",
542
+				"right": "var(--wp--preset--spacing--30)",
543
+				"bottom": "var(--wp--preset--spacing--40)",
544
+				"left": "var(--wp--preset--spacing--30)"
545
+			}
546
+		},
547
+		"typography": {
548
+			"fontFamily": "var(--wp--preset--font-family--dm-sans)"
549
+		}
550
+	}
551
+}

+ 9
- 0
yoac-theme/templates/404.html Переглянути файл

@@ -0,0 +1,9 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
4
+<main class="wp-block-group">
5
+	<!-- wp:pattern {"slug":"twentytwentythree/hidden-404"} /-->
6
+</main>
7
+<!-- /wp:group -->
8
+
9
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 29
- 0
yoac-theme/templates/archive.html Переглянути файл

@@ -0,0 +1,29 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
4
+<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
5
+	<!-- wp:query-title {"type":"archive","align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} /-->
6
+
7
+	<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"default"}} -->
8
+	<div class="wp-block-query alignwide">
9
+		<!-- wp:post-template {"align":"wide"} -->
10
+			<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
11
+			<!-- wp:post-title {"isLink":true} /-->
12
+			<!-- wp:post-excerpt /-->
13
+			<!-- wp:post-date {"isLink":true} /-->
14
+
15
+			<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d50)"} -->
16
+			<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
17
+			<!-- /wp:spacer -->
18
+		<!-- /wp:post-template -->
19
+
20
+		<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
21
+			<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
22
+			<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
23
+		<!-- /wp:query-pagination -->
24
+	</div>
25
+	<!-- /wp:query -->
26
+</main>
27
+<!-- /wp:group -->
28
+
29
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 1
- 0
yoac-theme/templates/blank.html Переглянути файл

@@ -0,0 +1 @@
1
+<!-- wp:post-content {"style":{"typography":{"fontStyle":"normal","fontWeight":"200"}},"layout":{"type":"constrained"},"fontFamily":"source-serif-pro"} /-->

+ 29
- 0
yoac-theme/templates/blog-alternative.html Переглянути файл

@@ -0,0 +1,29 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
4
+<main class="wp-block-group">
5
+	<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"type":"default"}} -->
6
+	<div class="wp-block-query alignwide">
7
+		<!-- wp:post-template -->
8
+			<!-- wp:columns {"style":{"border":{"bottom":{"width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"-1.5rem","bottom":"0px"}}}} -->
9
+			<div class="wp-block-columns" style="border-bottom-width:1px;margin-top:-1.5rem;margin-bottom:0px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
10
+				<!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
11
+				<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%">
12
+					<!-- wp:post-date {"textAlign":"left"} /-->
13
+				</div>
14
+				<!-- /wp:column -->
15
+
16
+				<!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
17
+				<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%">
18
+					<!-- wp:post-title {"isLink":true} /-->
19
+				</div>
20
+				<!-- /wp:column -->
21
+			</div>
22
+			<!-- /wp:columns -->
23
+		<!-- /wp:post-template -->
24
+	</div>
25
+	<!-- /wp:query -->
26
+</main>
27
+<!-- /wp:group -->
28
+
29
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 37
- 0
yoac-theme/templates/home.html Переглянути файл

@@ -0,0 +1,37 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
4
+<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70)">
5
+	<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
6
+	<h1 class="alignwide" style="margin-bottom:var(--wp--preset--spacing--60)">Mindblown: a blog about philosophy.</h1>
7
+	<!-- /wp:heading -->
8
+
9
+	<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"constrained"}} -->
10
+	<div class="wp-block-query alignwide">
11
+		<!-- wp:post-template {"align":"wide"} -->
12
+			<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
13
+			<!-- wp:post-title {"isLink":true} /-->
14
+			<!-- wp:post-excerpt /-->
15
+			<!-- wp:post-date {"isLink":true} /-->
16
+
17
+			<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d40)"} -->
18
+			<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
19
+			<!-- /wp:spacer -->
20
+		<!-- /wp:post-template -->
21
+
22
+		<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
23
+			<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
24
+			<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
25
+		<!-- /wp:query-pagination -->
26
+	</div>
27
+	<!-- /wp:query -->
28
+
29
+	<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d60)"} -->
30
+	<div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div>
31
+	<!-- /wp:spacer -->
32
+
33
+	<!-- wp:pattern {"slug":"twentytwentythree/cta"} /-->
34
+</main>
35
+<!-- /wp:group -->
36
+
37
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 27
- 0
yoac-theme/templates/index.html Переглянути файл

@@ -0,0 +1,27 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
4
+<main class="wp-block-group">
5
+	<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"default"}} -->
6
+	<div class="wp-block-query alignwide">
7
+		<!-- wp:post-template {"align":"wide"} -->
8
+			<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
9
+			<!-- wp:post-title {"isLink":true,"align":"wide"} /-->
10
+			<!-- wp:post-excerpt /-->
11
+			<!-- wp:post-date {"isLink":true} /-->
12
+
13
+			<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d70)"} -->
14
+			<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
15
+			<!-- /wp:spacer -->
16
+		<!-- /wp:post-template -->
17
+
18
+		<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
19
+			<!-- wp:query-pagination-previous /-->
20
+			<!-- wp:query-pagination-next /-->
21
+		<!-- /wp:query-pagination -->
22
+	</div>
23
+	<!-- /wp:query -->
24
+</main>
25
+<!-- /wp:group -->
26
+
27
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 11
- 0
yoac-theme/templates/page.html Переглянути файл

@@ -0,0 +1,11 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","layout":{"type":"constrained","wideSize":"650px","contentSize":"1200px"}} -->
4
+<main class="wp-block-group"><!-- wp:cover {"useFeaturedImage":true,"dimRatio":10,"minHeight":45,"minHeightUnit":"vh","align":"center","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}},"color":[]}} -->
5
+<div class="wp-block-cover aligncenter" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;min-height:45vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-10 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:post-title {"textAlign":"center"} /--></div></div>
6
+<!-- /wp:cover -->
7
+
8
+<!-- wp:post-content {"layout":{"type":"default"}} /--></main>
9
+<!-- /wp:group -->
10
+
11
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 33
- 0
yoac-theme/templates/search.html Переглянути файл

@@ -0,0 +1,33 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
4
+<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
5
+	<!-- wp:query-title {"type":"search","align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} /-->
6
+
7
+	<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"default"}} -->
8
+	<div class="wp-block-query alignwide">
9
+		<!-- wp:post-template {"align":"wide"} -->
10
+			<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
11
+			<!-- wp:post-title {"isLink":true} /-->
12
+			<!-- wp:post-excerpt /-->
13
+			<!-- wp:post-date {"isLink":true} /-->
14
+
15
+			<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d70)"} -->
16
+			<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
17
+			<!-- /wp:spacer -->
18
+		<!-- /wp:post-template -->
19
+
20
+		<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
21
+			<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
22
+			<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
23
+		<!-- /wp:query-pagination -->
24
+
25
+		<!-- wp:query-no-results -->
26
+			<!-- wp:pattern {"slug":"twentytwentythree/hidden-no-results-content"} /-->
27
+		<!-- /wp:query-no-results -->
28
+	</div>
29
+	<!-- /wp:query -->
30
+</main>
31
+<!-- /wp:group -->
32
+
33
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 13
- 0
yoac-theme/templates/single.html Переглянути файл

@@ -0,0 +1,13 @@
1
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+
3
+<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}}} -->
4
+<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50)"><!-- wp:group {"layout":{"type":"constrained"}} -->
5
+<div class="wp-block-group"><!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50","top":"calc(-1 * var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d50))"}}}} /-->
6
+
7
+<!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /--></div>
8
+<!-- /wp:group -->
9
+
10
+<!-- wp:post-content {"layout":{"type":"constrained"}} /--></main>
11
+<!-- /wp:group -->
12
+
13
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 750
- 0
yoac-theme/theme.json Переглянути файл

@@ -0,0 +1,750 @@
1
+{
2
+	"$schema": "https://schemas.wp.org/wp/6.2/theme.json",
3
+	"customTemplates": [
4
+		{
5
+			"name": "blank",
6
+			"postTypes": [
7
+				"page",
8
+				"post"
9
+			],
10
+			"title": "Blank"
11
+		},
12
+		{
13
+			"name": "blog-alternative",
14
+			"postTypes": [
15
+				"page"
16
+			],
17
+			"title": "Blog (Alternative)"
18
+		},
19
+		{
20
+			"name": "404",
21
+			"postTypes": [
22
+				"page"
23
+			],
24
+			"title": "404"
25
+		}
26
+	],
27
+	"settings": {
28
+		"appearanceTools": true,
29
+		"color": {
30
+			"palette": [
31
+				{
32
+					"color": "#ffffff",
33
+					"name": "Base",
34
+					"slug": "base"
35
+				},
36
+				{
37
+					"color": "#000000",
38
+					"name": "Contrast",
39
+					"slug": "contrast"
40
+				},
41
+				{
42
+					"color": "#fcb900",
43
+					"name": "Primary",
44
+					"slug": "primary"
45
+				},
46
+				{
47
+					"color": "#cc9600",
48
+					"name": "Secondary",
49
+					"slug": "secondary"
50
+				},
51
+				{
52
+					"color": "#F6F6F6",
53
+					"name": "Tertiary",
54
+					"slug": "tertiary"
55
+				}
56
+			]
57
+		},
58
+		"layout": {
59
+			"contentSize": "650px",
60
+			"wideSize": "1200px"
61
+		},
62
+		"spacing": {
63
+			"spacingScale": {
64
+				"steps": 0
65
+			},
66
+			"spacingSizes": [
67
+				{
68
+					"name": "1",
69
+					"size": "clamp(1.5rem, 5vw, 2rem)",
70
+					"slug": "30"
71
+				},
72
+				{
73
+					"name": "2",
74
+					"size": "clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem)",
75
+					"slug": "40"
76
+				},
77
+				{
78
+					"name": "3",
79
+					"size": "clamp(2.5rem, 8vw, 4.5rem)",
80
+					"slug": "50"
81
+				},
82
+				{
83
+					"name": "4",
84
+					"size": "clamp(3.75rem, 10vw, 7rem)",
85
+					"slug": "60"
86
+				},
87
+				{
88
+					"name": "5",
89
+					"size": "clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem)",
90
+					"slug": "70"
91
+				},
92
+				{
93
+					"name": "6",
94
+					"size": "clamp(7rem, 14vw, 11rem)",
95
+					"slug": "80"
96
+				}
97
+			],
98
+			"units": [
99
+				"%",
100
+				"px",
101
+				"em",
102
+				"rem",
103
+				"vh",
104
+				"vw"
105
+			]
106
+		},
107
+		"typography": {
108
+			"dropCap": false,
109
+			"fluid": true,
110
+			"fontFamilies": [
111
+				{
112
+					"fontFace": [
113
+						{
114
+							"fontFamily": "DM Sans",
115
+							"fontStretch": "normal",
116
+							"fontStyle": "normal",
117
+							"fontWeight": "400",
118
+							"src": [
119
+								"file:./assets/fonts/dm-sans/DMSans-Regular.woff2"
120
+							]
121
+						},
122
+						{
123
+							"fontFamily": "DM Sans",
124
+							"fontStretch": "normal",
125
+							"fontStyle": "italic",
126
+							"fontWeight": "400",
127
+							"src": [
128
+								"file:./assets/fonts/dm-sans/DMSans-Regular-Italic.woff2"
129
+							]
130
+						},
131
+						{
132
+							"fontFamily": "DM Sans",
133
+							"fontStretch": "normal",
134
+							"fontStyle": "normal",
135
+							"fontWeight": "700",
136
+							"src": [
137
+								"file:./assets/fonts/dm-sans/DMSans-Bold.woff2"
138
+							]
139
+						},
140
+						{
141
+							"fontFamily": "DM Sans",
142
+							"fontStretch": "normal",
143
+							"fontStyle": "italic",
144
+							"fontWeight": "700",
145
+							"src": [
146
+								"file:./assets/fonts/dm-sans/DMSans-Bold-Italic.woff2"
147
+							]
148
+						}
149
+					],
150
+					"fontFamily": "\"DM Sans\", sans-serif",
151
+					"name": "DM Sans",
152
+					"slug": "dm-sans"
153
+				},
154
+				{
155
+					"fontFace": [
156
+						{
157
+							"fontDisplay": "block",
158
+							"fontFamily": "IBM Plex Mono",
159
+							"fontStretch": "normal",
160
+							"fontStyle": "normal",
161
+							"fontWeight": "300",
162
+							"src": [
163
+								"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2"
164
+							]
165
+						},
166
+						{
167
+							"fontDisplay": "block",
168
+							"fontFamily": "IBM Plex Mono",
169
+							"fontStretch": "normal",
170
+							"fontStyle": "normal",
171
+							"fontWeight": "400",
172
+							"src": [
173
+								"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2"
174
+							]
175
+						},
176
+						{
177
+							"fontDisplay": "block",
178
+							"fontFamily": "IBM Plex Mono",
179
+							"fontStretch": "normal",
180
+							"fontStyle": "italic",
181
+							"fontWeight": "400",
182
+							"src": [
183
+								"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2"
184
+							]
185
+						},
186
+						{
187
+							"fontDisplay": "block",
188
+							"fontFamily": "IBM Plex Mono",
189
+							"fontStretch": "normal",
190
+							"fontStyle": "normal",
191
+							"fontWeight": "700",
192
+							"src": [
193
+								"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2"
194
+							]
195
+						}
196
+					],
197
+					"fontFamily": "'IBM Plex Mono', monospace",
198
+					"name": "IBM Plex Mono",
199
+					"slug": "ibm-plex-mono"
200
+				},
201
+				{
202
+					"fontFace": [
203
+						{
204
+							"fontFamily": "Inter",
205
+							"fontStretch": "normal",
206
+							"fontStyle": "normal",
207
+							"fontWeight": "200 900",
208
+							"src": [
209
+								"file:./assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf"
210
+							]
211
+						}
212
+					],
213
+					"fontFamily": "\"Inter\", sans-serif",
214
+					"name": "Inter",
215
+					"slug": "inter"
216
+				},
217
+				{
218
+					"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
219
+					"name": "System Font",
220
+					"slug": "system-font"
221
+				},
222
+				{
223
+					"fontFace": [
224
+						{
225
+							"fontFamily": "Source Serif Pro",
226
+							"fontStretch": "normal",
227
+							"fontStyle": "normal",
228
+							"fontWeight": "200 900",
229
+							"src": [
230
+								"file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2"
231
+							]
232
+						},
233
+						{
234
+							"fontFamily": "Source Serif Pro",
235
+							"fontStretch": "normal",
236
+							"fontStyle": "italic",
237
+							"fontWeight": "200 900",
238
+							"src": [
239
+								"file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2"
240
+							]
241
+						}
242
+					],
243
+					"fontFamily": "\"Source Serif Pro\", serif",
244
+					"name": "Source Serif Pro",
245
+					"slug": "source-serif-pro"
246
+				}
247
+			],
248
+			"fontSizes": [
249
+				{
250
+					"fluid": {
251
+						"max": "1rem",
252
+						"min": "0.875rem"
253
+					},
254
+					"size": "1rem",
255
+					"slug": "small"
256
+				},
257
+				{
258
+					"fluid": {
259
+						"max": "1.125rem",
260
+						"min": "1rem"
261
+					},
262
+					"size": "1.125rem",
263
+					"slug": "medium"
264
+				},
265
+				{
266
+					"fluid": {
267
+						"max": "1.875rem",
268
+						"min": "1.75rem"
269
+					},
270
+					"size": "1.75rem",
271
+					"slug": "large"
272
+				},
273
+				{
274
+					"fluid": false,
275
+					"size": "2.25rem",
276
+					"slug": "x-large"
277
+				},
278
+				{
279
+					"fluid": {
280
+						"max": "10rem",
281
+						"min": "4rem"
282
+					},
283
+					"size": "10rem",
284
+					"slug": "xx-large"
285
+				}
286
+			]
287
+		},
288
+		"useRootPaddingAwareAlignments": true
289
+	},
290
+	"styles": {
291
+		"blocks": {
292
+			"core/code": {
293
+				"typography": {
294
+					"fontFamily": "var:preset|font-family|ibm-plex-mono",
295
+					"fontSize": "var:preset|font-size|small"
296
+				}
297
+			},
298
+			"core/comment-author-name": {
299
+				"elements": {
300
+					"link": {
301
+						":active": {
302
+							"color": {
303
+								"text": "var(--wp--preset--color--secondary)"
304
+							},
305
+							"typography": {
306
+								"textDecoration": "none"
307
+							}
308
+						},
309
+						":focus": {
310
+							"typography": {
311
+								"textDecoration": "underline dashed"
312
+							}
313
+						},
314
+						":hover": {
315
+							"typography": {
316
+								"textDecoration": "underline"
317
+							}
318
+						},
319
+						"typography": {
320
+							"textDecoration": "none"
321
+						}
322
+					}
323
+				}
324
+			},
325
+			"core/comment-date": {
326
+				"elements": {
327
+					"link": {
328
+						":active": {
329
+							"color": {
330
+								"text": "var(--wp--preset--color--secondary)"
331
+							},
332
+							"typography": {
333
+								"textDecoration": "none"
334
+							}
335
+						},
336
+						":focus": {
337
+							"typography": {
338
+								"textDecoration": "underline dashed"
339
+							}
340
+						},
341
+						":hover": {
342
+							"typography": {
343
+								"textDecoration": "underline"
344
+							}
345
+						},
346
+						"typography": {
347
+							"textDecoration": "none"
348
+						}
349
+					}
350
+				},
351
+				"typography": {
352
+					"fontSize": "var(--wp--preset--font-size--small)"
353
+				}
354
+			},
355
+			"core/comment-edit-link": {
356
+				"typography": {
357
+					"fontSize": "var(--wp--preset--font-size--small)"
358
+				}
359
+			},
360
+			"core/comment-reply-link": {
361
+				"typography": {
362
+					"fontSize": "var(--wp--preset--font-size--small)"
363
+				}
364
+			},
365
+			"core/comments-pagination": {
366
+				"elements": {
367
+					"link": {
368
+						"typography": {
369
+							"textDecoration": "none"
370
+						}
371
+					}
372
+				},
373
+				"spacing": {
374
+					"margin": {
375
+						"top": "var(--wp--preset--spacing--40)"
376
+					}
377
+				}
378
+			},
379
+			"core/comments-title": {
380
+				"spacing": {
381
+					"margin": {
382
+						"bottom": "var(--wp--preset--spacing--40)"
383
+					}
384
+				},
385
+				"typography": {
386
+					"fontSize": "var(--wp--preset--font-size--large)"
387
+				}
388
+			},
389
+			"core/navigation": {
390
+				"elements": {
391
+					"link": {
392
+						":active": {
393
+							"typography": {
394
+								"textDecoration": "none"
395
+							}
396
+						},
397
+						":focus": {
398
+							"typography": {
399
+								"textDecoration": "underline dashed"
400
+							}
401
+						},
402
+						":hover": {
403
+							"typography": {
404
+								"textDecoration": "underline"
405
+							}
406
+						},
407
+						"typography": {
408
+							"textDecoration": "none"
409
+						}
410
+					}
411
+				},
412
+				"typography": {
413
+					"fontSize": "var(--wp--preset--font-size--small)",
414
+					"fontStyle": "normal",
415
+					"fontWeight": "300",
416
+					"textTransform": "uppercase"
417
+				}
418
+			},
419
+			"core/post-author": {
420
+				"typography": {
421
+					"fontSize": "var(--wp--preset--font-size--small)"
422
+				}
423
+			},
424
+			"core/post-content": {
425
+				"elements": {
426
+					"link": {
427
+						"color": {
428
+							"text": "var(--wp--preset--color--secondary)"
429
+						}
430
+					}
431
+				}
432
+			},
433
+			"core/post-date": {
434
+				"elements": {
435
+					"link": {
436
+						":hover": {
437
+							"typography": {
438
+								"textDecoration": "underline"
439
+							}
440
+						},
441
+						"typography": {
442
+							"textDecoration": "none"
443
+						}
444
+					}
445
+				},
446
+				"typography": {
447
+					"fontSize": "var(--wp--preset--font-size--small)",
448
+					"fontWeight": "400"
449
+				}
450
+			},
451
+			"core/post-excerpt": {
452
+				"typography": {
453
+					"fontSize": "var(--wp--preset--font-size--medium)"
454
+				}
455
+			},
456
+			"core/post-terms": {
457
+				"typography": {
458
+					"fontSize": "var(--wp--preset--font-size--small)"
459
+				}
460
+			},
461
+			"core/post-title": {
462
+				"elements": {
463
+					"link": {
464
+						":active": {
465
+							"color": {
466
+								"text": "var(--wp--preset--color--secondary)"
467
+							},
468
+							"typography": {
469
+								"textDecoration": "none"
470
+							}
471
+						},
472
+						":focus": {
473
+							"typography": {
474
+								"textDecoration": "underline dashed"
475
+							}
476
+						},
477
+						":hover": {
478
+							"typography": {
479
+								"textDecoration": "underline"
480
+							}
481
+						},
482
+						"typography": {
483
+							"textDecoration": "none"
484
+						}
485
+					}
486
+				},
487
+				"spacing": {
488
+					"margin": {
489
+						"bottom": "1.25rem",
490
+						"top": "1.25rem"
491
+					}
492
+				},
493
+				"typography": {
494
+					"fontWeight": "400"
495
+				}
496
+			},
497
+			"core/preformatted": {
498
+				"typography": {
499
+					"fontFamily": "var:preset|font-family|ibm-plex-mono"
500
+				}
501
+			},
502
+			"core/pullquote": {
503
+				"border": {
504
+					"style": "solid",
505
+					"width": "1px 0"
506
+				},
507
+				"elements": {
508
+					"cite": {
509
+						"typography": {
510
+							"fontSize": "var(--wp--preset--font-size--small)",
511
+							"fontStyle": "normal",
512
+							"textTransform": "none"
513
+						}
514
+					}
515
+				},
516
+				"spacing": {
517
+					"margin": {
518
+						"bottom": "var(--wp--preset--spacing--40) !important",
519
+						"top": "var(--wp--preset--spacing--40) !important"
520
+					}
521
+				},
522
+				"typography": {
523
+					"lineHeight": "1.3"
524
+				}
525
+			},
526
+			"core/query": {
527
+				"elements": {
528
+					"h2": {
529
+						"typography": {
530
+							"fontSize": "var(--wp--preset--font-size--x-large)"
531
+						}
532
+					}
533
+				}
534
+			},
535
+			"core/query-pagination": {
536
+				"elements": {
537
+					"link": {
538
+						":hover": {
539
+							"typography": {
540
+								"textDecoration": "underline"
541
+							}
542
+						},
543
+						"typography": {
544
+							"textDecoration": "none"
545
+						}
546
+					}
547
+				},
548
+				"typography": {
549
+					"fontSize": "var(--wp--preset--font-size--small)",
550
+					"fontWeight": "400"
551
+				}
552
+			},
553
+			"core/quote": {
554
+				"border": {
555
+					"width": "1px"
556
+				},
557
+				"elements": {
558
+					"cite": {
559
+						"typography": {
560
+							"fontSize": "var(--wp--preset--font-size--small)",
561
+							"fontStyle": "normal"
562
+						}
563
+					}
564
+				},
565
+				"spacing": {
566
+					"padding": {
567
+						"left": "var(--wp--preset--spacing--30)",
568
+						"right": "var(--wp--preset--spacing--30)"
569
+					}
570
+				}
571
+			},
572
+			"core/site-title": {
573
+				"elements": {
574
+					"link": {
575
+						":active": {
576
+							"color": {
577
+								"text": "var(--wp--preset--color--secondary)"
578
+							},
579
+							"typography": {
580
+								"textDecoration": "none"
581
+							}
582
+						},
583
+						":focus": {
584
+							"typography": {
585
+								"textDecoration": "underline dashed"
586
+							}
587
+						},
588
+						":hover": {
589
+							"typography": {
590
+								"textDecoration": "underline"
591
+							}
592
+						},
593
+						"typography": {
594
+							"textDecoration": "none"
595
+						}
596
+					}
597
+				},
598
+				"typography": {
599
+					"fontSize": "var(--wp--preset--font-size--medium)",
600
+					"fontWeight": "normal",
601
+					"lineHeight": "1.4"
602
+				}
603
+			}
604
+		},
605
+		"color": {
606
+			"background": "var(--wp--preset--color--base)",
607
+			"text": "var(--wp--preset--color--contrast)"
608
+		},
609
+		"elements": {
610
+			"button": {
611
+				":active": {
612
+					"color": {
613
+						"background": "var(--wp--preset--color--secondary)",
614
+						"text": "var(--wp--preset--color--base)"
615
+					}
616
+				},
617
+				":focus": {
618
+					"color": {
619
+						"background": "var(--wp--preset--color--contrast)",
620
+						"text": "var(--wp--preset--color--base)"
621
+					}
622
+				},
623
+				":hover": {
624
+					"color": {
625
+						"background": "var(--wp--preset--color--contrast)",
626
+						"text": "var(--wp--preset--color--base)"
627
+					}
628
+				},
629
+				":visited": {
630
+					"color": {
631
+						"text": "var(--wp--preset--color--contrast)"
632
+					}
633
+				},
634
+				"border": {
635
+					"radius": "0"
636
+				},
637
+				"color": {
638
+					"background": "var(--wp--preset--color--primary)",
639
+					"text": "var(--wp--preset--color--contrast)"
640
+				}
641
+			},
642
+			"h1": {
643
+				"typography": {
644
+					"fontSize": "3.625rem",
645
+					"lineHeight": "1.2"
646
+				}
647
+			},
648
+			"h2": {
649
+				"typography": {
650
+					"fontSize": "clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 3.25rem)",
651
+					"lineHeight": "1.2"
652
+				}
653
+			},
654
+			"h3": {
655
+				"typography": {
656
+					"fontSize": "var(--wp--preset--font-size--x-large)"
657
+				}
658
+			},
659
+			"h4": {
660
+				"typography": {
661
+					"fontSize": "var(--wp--preset--font-size--large)"
662
+				}
663
+			},
664
+			"h5": {
665
+				"typography": {
666
+					"fontSize": "var(--wp--preset--font-size--medium)",
667
+					"fontWeight": "700",
668
+					"textTransform": "uppercase"
669
+				}
670
+			},
671
+			"h6": {
672
+				"typography": {
673
+					"fontSize": "var(--wp--preset--font-size--medium)",
674
+					"textTransform": "uppercase"
675
+				}
676
+			},
677
+			"heading": {
678
+				"typography": {
679
+					"fontWeight": "400",
680
+					"lineHeight": "1.4"
681
+				}
682
+			},
683
+			"link": {
684
+				":active": {
685
+					"color": {
686
+						"text": "var(--wp--preset--color--secondary)"
687
+					},
688
+					"typography": {
689
+						"textDecoration": "none"
690
+					}
691
+				},
692
+				":focus": {
693
+					"typography": {
694
+						"textDecoration": "underline dashed"
695
+					}
696
+				},
697
+				":hover": {
698
+					"typography": {
699
+						"textDecoration": "none"
700
+					}
701
+				},
702
+				"color": {
703
+					"text": "var(--wp--preset--color--contrast)"
704
+				},
705
+				"typography": {
706
+					"textDecoration": "underline"
707
+				}
708
+			}
709
+		},
710
+		"spacing": {
711
+			"blockGap": "1.5rem",
712
+			"padding": {
713
+				"bottom": "var(--wp--preset--spacing--40)",
714
+				"left": "var(--wp--preset--spacing--30)",
715
+				"right": "var(--wp--preset--spacing--30)",
716
+				"top": "var(--wp--preset--spacing--40)"
717
+			}
718
+		},
719
+		"typography": {
720
+			"fontFamily": "var:preset|font-family|source-serif-pro",
721
+			"fontSize": "var:preset|font-size|small",
722
+			"fontStyle": "normal",
723
+			"fontWeight": "300",
724
+			"lineHeight": "1.6"
725
+		}
726
+	},
727
+	"templateParts": [
728
+		{
729
+			"area": "header",
730
+			"name": "header",
731
+			"title": "Header"
732
+		},
733
+		{
734
+			"area": "footer",
735
+			"name": "footer",
736
+			"title": "Footer"
737
+		},
738
+		{
739
+			"area": "uncategorized",
740
+			"name": "comments",
741
+			"title": "Comments"
742
+		},
743
+		{
744
+			"area": "uncategorized",
745
+			"name": "post-meta",
746
+			"title": "Post Meta"
747
+		}
748
+	],
749
+	"version": 2
750
+}

Завантаження…
Відмінити
Зберегти