From 8d806b01eb34413439ef00b23ea2649109076c33 Mon Sep 17 00:00:00 2001 From: Hardeep Asrani Date: Thu, 4 Jan 2024 01:58:35 +0530 Subject: [PATCH 1/3] Varius Style Changes - Removes core patterns - Removes theme patterns - Removes block directory patterns - Renames twentytwentyfour prefixes to quickwp Closes #4 --- README.md | 14 +- composer.json | 6 +- functions.php | 44 ++-- package-lock.json | 4 +- package.json | 8 +- parts/footer.html | 2 +- parts/post-meta.html | 2 +- parts/sidebar.html | 2 +- patterns/banner-hero.php | 55 ----- patterns/banner-project-description.php | 44 ---- patterns/cta-content-image-on-right.php | 66 ------ patterns/cta-pricing.php | 214 ------------------ patterns/cta-rsvp.php | 57 ----- patterns/cta-services-image-left.php | 48 ---- patterns/cta-subscribe-centered.php | 42 ---- patterns/footer-centered-logo-nav.php | 31 --- patterns/footer-colophon-3-col.php | 105 --------- patterns/footer.php | 128 ----------- patterns/gallery-full-screen-image.php | 21 -- patterns/gallery-offset-images-grid-2-col.php | 58 ----- patterns/gallery-offset-images-grid-3-col.php | 110 --------- patterns/gallery-offset-images-grid-4-col.php | 149 ------------ patterns/gallery-project-layout.php | 65 ------ patterns/hidden-404.php | 15 -- patterns/hidden-comments.php | 47 ---- patterns/hidden-no-results.php | 10 - patterns/hidden-portfolio-hero.php | 19 -- patterns/hidden-post-meta.php | 30 --- patterns/hidden-post-navigation.php | 14 -- patterns/hidden-search.php | 9 - patterns/hidden-sidebar.php | 84 ------- patterns/page-about-business.php | 19 -- patterns/page-home-blogging.php | 83 ------- patterns/page-home-business.php | 18 -- patterns/page-home-portfolio-gallery.php | 14 -- patterns/page-home-portfolio.php | 14 -- patterns/page-newsletter-landing.php | 47 ---- patterns/page-portfolio-overview.php | 17 -- patterns/page-rsvp-landing.php | 56 ----- patterns/posts-1-col.php | 43 ---- patterns/posts-3-col.php | 52 ----- patterns/posts-grid-2-col.php | 80 ------- patterns/posts-images-only-3-col.php | 35 --- patterns/posts-images-only-offset-4-col.php | 83 ------- patterns/posts-list.php | 62 ----- patterns/team-4-col.php | 129 ----------- patterns/template-archive-blogging.php | 21 -- patterns/template-archive-portfolio.php | 23 -- patterns/template-home-blogging.php | 21 -- patterns/template-home-business.php | 19 -- patterns/template-home-portfolio.php | 22 -- patterns/template-index-blogging.php | 23 -- patterns/template-index-portfolio.php | 24 -- patterns/template-search-blogging.php | 26 --- patterns/template-search-portfolio.php | 27 --- patterns/template-single-portfolio.php | 36 --- patterns/testimonial-centered.php | 46 ---- patterns/text-alternating-images.php | 115 ---------- patterns/text-centered-statement-small.php | 30 --- patterns/text-centered-statement.php | 29 --- patterns/text-faq.php | 65 ------ patterns/text-feature-grid-3-col.php | 118 ---------- patterns/text-project-details.php | 53 ----- patterns/text-title-left-image-right.php | 58 ----- style.css | 6 +- templates/404.html | 2 +- templates/archive.html | 2 +- templates/home.html | 2 +- templates/index.html | 2 +- templates/search.html | 4 +- templates/single-with-sidebar.html | 4 +- templates/single.html | 4 +- theme.json | 4 - 73 files changed, 61 insertions(+), 2980 deletions(-) delete mode 100644 patterns/banner-hero.php delete mode 100644 patterns/banner-project-description.php delete mode 100644 patterns/cta-content-image-on-right.php delete mode 100644 patterns/cta-pricing.php delete mode 100644 patterns/cta-rsvp.php delete mode 100644 patterns/cta-services-image-left.php delete mode 100644 patterns/cta-subscribe-centered.php delete mode 100644 patterns/footer-centered-logo-nav.php delete mode 100644 patterns/footer-colophon-3-col.php delete mode 100644 patterns/footer.php delete mode 100644 patterns/gallery-full-screen-image.php delete mode 100644 patterns/gallery-offset-images-grid-2-col.php delete mode 100644 patterns/gallery-offset-images-grid-3-col.php delete mode 100644 patterns/gallery-offset-images-grid-4-col.php delete mode 100644 patterns/gallery-project-layout.php delete mode 100644 patterns/hidden-404.php delete mode 100644 patterns/hidden-comments.php delete mode 100644 patterns/hidden-no-results.php delete mode 100644 patterns/hidden-portfolio-hero.php delete mode 100644 patterns/hidden-post-meta.php delete mode 100644 patterns/hidden-post-navigation.php delete mode 100644 patterns/hidden-search.php delete mode 100644 patterns/hidden-sidebar.php delete mode 100644 patterns/page-about-business.php delete mode 100644 patterns/page-home-blogging.php delete mode 100644 patterns/page-home-business.php delete mode 100644 patterns/page-home-portfolio-gallery.php delete mode 100644 patterns/page-home-portfolio.php delete mode 100644 patterns/page-newsletter-landing.php delete mode 100644 patterns/page-portfolio-overview.php delete mode 100644 patterns/page-rsvp-landing.php delete mode 100644 patterns/posts-1-col.php delete mode 100644 patterns/posts-3-col.php delete mode 100644 patterns/posts-grid-2-col.php delete mode 100644 patterns/posts-images-only-3-col.php delete mode 100644 patterns/posts-images-only-offset-4-col.php delete mode 100644 patterns/posts-list.php delete mode 100644 patterns/team-4-col.php delete mode 100644 patterns/template-archive-blogging.php delete mode 100644 patterns/template-archive-portfolio.php delete mode 100644 patterns/template-home-blogging.php delete mode 100644 patterns/template-home-business.php delete mode 100644 patterns/template-home-portfolio.php delete mode 100644 patterns/template-index-blogging.php delete mode 100644 patterns/template-index-portfolio.php delete mode 100644 patterns/template-search-blogging.php delete mode 100644 patterns/template-search-portfolio.php delete mode 100644 patterns/template-single-portfolio.php delete mode 100644 patterns/testimonial-centered.php delete mode 100644 patterns/text-alternating-images.php delete mode 100644 patterns/text-centered-statement-small.php delete mode 100644 patterns/text-centered-statement.php delete mode 100644 patterns/text-faq.php delete mode 100644 patterns/text-feature-grid-3-col.php delete mode 100644 patterns/text-project-details.php delete mode 100644 patterns/text-title-left-image-right.php diff --git a/README.md b/README.md index 289c71c..a451a30 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Welcome to the development repository for the default theme that will launch with [WordPress 6.4](https://make.wordpress.org/core/6-4/). -2023 +2023 Twenty Twenty-Four is built as a [block theme](https://developer.wordpress.org/block-editor/how-to-guides/themes/block-theme-overview/). The theme aims to ship with as little CSS as possible: our goal is for all theme styles to be configured through [`theme.json`](https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-json/) and editable through Global Styles. The theme development team will work closely with [Gutenberg](https://github.com/wordpress/gutenberg) contributors to build design tools in the block editor that enable this goal. @@ -10,7 +10,7 @@ You can view a demo of this theme at [2024.wordpress.net](https://2024.wordpress ## Contributing -If you would like to contribute code, the list of [open issues](https://github.com/WordPress/twentytwentyfour/issues) is a great place to start looking for tasks — but contributing is not just for developers. There are many opportunities to help with testing, triage, discussion, design, building [patterns](https://github.com/WordPress/twentytwentyfour/issues?q=is%3Aissue+is%3Aopen+label%3A%22%5BComponent%5D+Block+Patterns%22) and templates, and more. +If you would like to contribute code, the list of [open issues](https://github.com/WordPress/quickwp/issues) is a great place to start looking for tasks — but contributing is not just for developers. There are many opportunities to help with testing, triage, discussion, design, building [patterns](https://github.com/WordPress/quickwp/issues?q=is%3Aissue+is%3Aopen+label%3A%22%5BComponent%5D+Block+Patterns%22) and templates, and more. If you'd like to help with triage, let @luminuu and @MaggieCabrera know in [WordPress.org's Slack instance](https://make.wordpress.org/chat/). We'll help you get set up with the ability to add labels to issues and PRs. @@ -26,9 +26,9 @@ Also, consider enabling [development mode](https://make.wordpress.org/core/2023/ ### Design -The theme is designed in [Figma](https://www.figma.com/file/AlYr03vh4dVimwYwQkTdf6/Twenty-Twenty-Four?type=design&t=C79166eDp3vX7OOD-6). You can contribute by designing one of the [patterns](https://github.com/WordPress/twentytwentyfour/issues?q=is%3Aissue+is%3Aopen+label%3A%22%5BComponent%5D+Block+Patterns%22) planned for Twenty Twenty-Four. +The theme is designed in [Figma](https://www.figma.com/file/AlYr03vh4dVimwYwQkTdf6/Twenty-Twenty-Four?type=design&t=C79166eDp3vX7OOD-6). You can contribute by designing one of the [patterns](https://github.com/WordPress/quickwp/issues?q=is%3Aissue+is%3Aopen+label%3A%22%5BComponent%5D+Block+Patterns%22) planned for Twenty Twenty-Four. -As a default WordPress theme, it is important to leverage the existing design system wherever possible. That is the font sizes, [color palette choices](https://github.com/WordPress/twentytwentyfour/pull/106), and [spacing presets](https://github.com/WordPress/twentytwentyfour/pull/102). All patterns and templates will leverage this systems extensively. +As a default WordPress theme, it is important to leverage the existing design system wherever possible. That is the font sizes, [color palette choices](https://github.com/WordPress/quickwp/pull/106), and [spacing presets](https://github.com/WordPress/quickwp/pull/102). All patterns and templates will leverage this systems extensively. ## Token Cheat-sheet @@ -110,7 +110,7 @@ Make sure to add alt text to your images and to make sure to remove the IDs from ``` -
+
``` @@ -118,7 +118,7 @@ would turn into ``` -
<?php echo esc_attr_x( 'Picture of a building', 'Alt text for project picture', 'twentytwentyfour' ); ?>
+
<?php echo esc_attr_x( 'Picture of a building', 'Alt text for project picture', 'quickwp' ); ?>
``` @@ -152,7 +152,7 @@ turns into and -`` +`` turns into diff --git a/composer.json b/composer.json index 259b7fa..6d2e624 100644 --- a/composer.json +++ b/composer.json @@ -1,17 +1,17 @@ { - "name": "wordpress/twentytwentyfour", + "name": "wordpress/quickwp", "type": "package", "description": "The default WordPress theme for 2024", "keywords": [ "WordPress", "Themes" ], - "homepage": "https://github.com/WordPress/twentytwentyfour", + "homepage": "https://github.com/WordPress/quickwp", "license": "GPL-2.0-or-later", "authors": [ { "name": "Contributors", - "homepage": "https://github.com/WordPress/twentytwentyfour/contributors.md" + "homepage": "https://github.com/WordPress/quickwp/contributors.md" } ], "require": { diff --git a/functions.php b/functions.php index deb0ab1..d45318b 100644 --- a/functions.php +++ b/functions.php @@ -8,24 +8,38 @@ * @since Twenty Twenty-Four 1.0 */ + /** + * Register Theme Support + */ +if ( ! function_exists( 'quickwp_setup' ) ) : + /** + * Sets up theme defaults and registers support for various WordPress features. + */ + function quickwp_setup() { + remove_theme_support( 'core-block-patterns' ); + } +endif; + +add_action( 'after_setup_theme', 'quickwp_setup' ); + /** * Register block styles. */ -if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : +if ( ! function_exists( 'quickwp_block_styles' ) ) : /** * Register custom block styles * * @since Twenty Twenty-Four 1.0 * @return void */ - function twentytwentyfour_block_styles() { + function quickwp_block_styles() { register_block_style( 'core/details', array( 'name' => 'arrow-icon-details', - 'label' => __( 'Arrow icon', 'twentytwentyfour' ), + 'label' => __( 'Arrow icon', 'quickwp' ), /* * Styles for the custom Arrow icon style of the Details block */ @@ -48,7 +62,7 @@ function twentytwentyfour_block_styles() { 'core/post-terms', array( 'name' => 'pill', - 'label' => __( 'Pill', 'twentytwentyfour' ), + 'label' => __( 'Pill', 'quickwp' ), /* * Styles variation for post terms * https://github.com/WordPress/gutenberg/issues/24956 @@ -71,7 +85,7 @@ function twentytwentyfour_block_styles() { 'core/list', array( 'name' => 'checkmark-list', - 'label' => __( 'Checkmark', 'twentytwentyfour' ), + 'label' => __( 'Checkmark', 'quickwp' ), /* * Styles for the custom checkmark list block style * https://github.com/WordPress/gutenberg/issues/51480 @@ -90,7 +104,7 @@ function twentytwentyfour_block_styles() { 'core/navigation-link', array( 'name' => 'arrow-link', - 'label' => __( 'With arrow', 'twentytwentyfour' ), + 'label' => __( 'With arrow', 'quickwp' ), /* * Styles for the custom arrow nav link block style */ @@ -108,7 +122,7 @@ function twentytwentyfour_block_styles() { 'core/heading', array( 'name' => 'asterisk', - 'label' => __( 'With asterisk', 'twentytwentyfour' ), + 'label' => __( 'With asterisk', 'quickwp' ), 'inline_style' => " .is-style-asterisk:before { content: ''; @@ -144,20 +158,20 @@ function twentytwentyfour_block_styles() { } endif; -add_action( 'init', 'twentytwentyfour_block_styles' ); +add_action( 'init', 'quickwp_block_styles' ); /** * Enqueue block stylesheets. */ -if ( ! function_exists( 'twentytwentyfour_block_stylesheets' ) ) : +if ( ! function_exists( 'quickwp_block_stylesheets' ) ) : /** * Enqueue custom block stylesheets * * @since Twenty Twenty-Four 1.0 * @return void */ - function twentytwentyfour_block_stylesheets() { + function quickwp_block_stylesheets() { /** * The wp_enqueue_block_style() function allows us to enqueue a stylesheet * for a specific block. These will only get loaded when the block is rendered @@ -169,7 +183,7 @@ function twentytwentyfour_block_stylesheets() { wp_enqueue_block_style( 'core/button', array( - 'handle' => 'twentytwentyfour-button-style-outline', + 'handle' => 'quickwp-button-style-outline', 'src' => get_parent_theme_file_uri( 'assets/css/button-outline.css' ), 'ver' => wp_get_theme( get_template() )->get( 'Version' ), 'path' => get_parent_theme_file_path( 'assets/css/button-outline.css' ), @@ -178,20 +192,20 @@ function twentytwentyfour_block_stylesheets() { } endif; -add_action( 'init', 'twentytwentyfour_block_stylesheets' ); +add_action( 'init', 'quickwp_block_stylesheets' ); /** * Register pattern categories. */ -if ( ! function_exists( 'twentytwentyfour_pattern_categories' ) ) : +if ( ! function_exists( 'quickwp_pattern_categories' ) ) : /** * Register pattern categories * * @since Twenty Twenty-Four 1.0 * @return void */ - function twentytwentyfour_pattern_categories() { + function quickwp_pattern_categories() { register_block_pattern_category( 'page', @@ -203,4 +217,4 @@ function twentytwentyfour_pattern_categories() { } endif; -add_action( 'init', 'twentytwentyfour_pattern_categories' ); +add_action( 'init', 'quickwp_pattern_categories' ); diff --git a/package-lock.json b/package-lock.json index f373d37..852dcd5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "twentytwentyfour", + "name": "quickwp", "version": "0.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "twentytwentyfour", + "name": "quickwp", "version": "0.0.1", "license": "GPL-2.0-or-later", "devDependencies": { diff --git a/package.json b/package.json index 2055967..e26e757 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "twentytwentyfour", + "name": "quickwp", "private": true, "version": "0.0.1", "description": "The default WordPress theme for 2024", @@ -9,13 +9,13 @@ "WordPress", "theme" ], - "homepage": "https://github.com/WordPress/twentytwentyfour#readme", + "homepage": "https://github.com/WordPress/quickwp#readme", "repository": { "type": "git", - "url": "git+https://github.com/WordPress/twentytwentyfour.git" + "url": "git+https://github.com/WordPress/quickwp.git" }, "bugs": { - "url": "https://github.com/WordPress/twentytwentyfour/issues" + "url": "https://github.com/WordPress/quickwp/issues" }, "devDependencies": { "@wordpress/stylelint-config": "^20.0.2", diff --git a/parts/footer.html b/parts/footer.html index c21388e..9b891f2 100644 --- a/parts/footer.html +++ b/parts/footer.html @@ -1 +1 @@ - + diff --git a/parts/post-meta.html b/parts/post-meta.html index e11eda3..f65df29 100644 --- a/parts/post-meta.html +++ b/parts/post-meta.html @@ -1 +1 @@ - + diff --git a/parts/sidebar.html b/parts/sidebar.html index 93c36b9..6a785f6 100644 --- a/parts/sidebar.html +++ b/parts/sidebar.html @@ -1 +1 @@ - + diff --git a/patterns/banner-hero.php b/patterns/banner-hero.php deleted file mode 100644 index 4587ac8..0000000 --- a/patterns/banner-hero.php +++ /dev/null @@ -1,55 +0,0 @@ - - - -
- - -
- - -

- - - - - - - -

- - - - - - - -
- -
- -
- -
- -
- - - - - - - -
- <?php esc_attr_e( 'Building exterior in Toronto, Canada', 'twentytwentyfour' ); ?> -
- -
- diff --git a/patterns/banner-project-description.php b/patterns/banner-project-description.php deleted file mode 100644 index 31a44fc..0000000 --- a/patterns/banner-project-description.php +++ /dev/null @@ -1,44 +0,0 @@ - - -
- -
- -
- -

- -
- - - -
- - -

- - -
- -
- - - - - - - -
- <?php esc_attr_e( 'Hyatt Regency San Francisco, San Francisco, United States', 'twentytwentyfour' ); ?> -
- -
- diff --git a/patterns/cta-content-image-on-right.php b/patterns/cta-content-image-on-right.php deleted file mode 100644 index f46ecbc..0000000 --- a/patterns/cta-content-image-on-right.php +++ /dev/null @@ -1,66 +0,0 @@ - - - -
- -
- -
- -

- - - -
    - -
  • - - - -
  • - - - -
  • - -
- - - -
- -
- -
- - - -
- -
- -
- -
- - - -
- -
- <?php esc_attr_e( 'White abstract geometric artwork from Dresden, Germany', 'twentytwentyfour' ); ?> -
- -
- -
- -
- diff --git a/patterns/cta-pricing.php b/patterns/cta-pricing.php deleted file mode 100644 index 45f85f5..0000000 --- a/patterns/cta-pricing.php +++ /dev/null @@ -1,214 +0,0 @@ - - - -
- -
- -
- -

- - - -

- -
- - - - - - - -
- -
- -

- -

- - - -
- - - - - - - -
- -

Études Articles per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- - - -
- - - - - - - -
- - - - - -
- - - - - - - -
- -
- -
- -
- -
- - - -
- -

- -

- - - -
- - - - - - - -
- -

Études Articles per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- - - -
- - - -

- - - -
- - - -

Études app for iOS and Android.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- -
- - - - - - - -
- -
- -
- -
- -
- - - -
- -

- -

- - - -
- - - - - - - -
- -

Études Articles.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- - - -
- - - -

- - - -
- - - -

Études app for iOS and Android', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- -
- - - - - - - -
- -
- -
- -
- -
- -
- -
- -
- diff --git a/patterns/cta-rsvp.php b/patterns/cta-rsvp.php deleted file mode 100644 index 9981065..0000000 --- a/patterns/cta-rsvp.php +++ /dev/null @@ -1,57 +0,0 @@ - - - -
- -
- -
- -
- - -

- - - -
- -

- - - -
- -
- -
- -
- -
- -
- -
- - - -
- -
- <?php esc_attr_e( 'A ramp along a curved wall in the Kiasma Museu, Helsinki, Finland', 'twentytwentyfour' ); ?> -
- -
- -
- -
- diff --git a/patterns/cta-services-image-left.php b/patterns/cta-services-image-left.php deleted file mode 100644 index 87f3c9f..0000000 --- a/patterns/cta-services-image-left.php +++ /dev/null @@ -1,48 +0,0 @@ - - - -
- -
- -
- -
- <?php esc_attr_e( 'White abstract geometric artwork from Dresden, Germany', 'twentytwentyfour' ); ?> -
- -
- - - -
- -

- - - -

- - - -
- -
- -
- -
- -
- -
- -
- diff --git a/patterns/cta-subscribe-centered.php b/patterns/cta-subscribe-centered.php deleted file mode 100644 index b65eac5..0000000 --- a/patterns/cta-subscribe-centered.php +++ /dev/null @@ -1,42 +0,0 @@ - - - -
- -
- - - - - -

- - - -

- - - -
- -
- -
- -
- - - - - -
- -
- diff --git a/patterns/footer-centered-logo-nav.php b/patterns/footer-centered-logo-nav.php deleted file mode 100644 index 4370eac..0000000 --- a/patterns/footer-centered-logo-nav.php +++ /dev/null @@ -1,31 +0,0 @@ - - - -
- - - - - - - - -
- diff --git a/patterns/footer-colophon-3-col.php b/patterns/footer-colophon-3-col.php deleted file mode 100644 index cfb15db..0000000 --- a/patterns/footer-colophon-3-col.php +++ /dev/null @@ -1,105 +0,0 @@ - - - -
- -
- -
- -
- - - -
- - - -
- -
- -

- -
- - -
- -
- -

- - -

- -
- -
- - -
- -
- -
- -
- -

- - -

/

- -
- -
- -
- -
- -
- - - - - - - -
- -
- -

- - -
- - -

- WordPress'; - echo sprintf( - /* Translators: Designed with WordPress */ - esc_html__( 'Designed with %1$s', 'twentytwentyfour' ), - $wordpress_link - ); - ?> -

- -
- - -
- -
- diff --git a/patterns/footer.php b/patterns/footer.php deleted file mode 100644 index b39b3dd..0000000 --- a/patterns/footer.php +++ /dev/null @@ -1,128 +0,0 @@ - - - -
- -
- -
- -
- - - - - -
- -
- - - -
-
- - - -
- -
- -
- -

- - - -
- - - - - - - - - -
- -
- - - - -
- -

- - - -
- - - - - - - - - -
- -
- - - -
- -

- - - -
- - - - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
- -
- diff --git a/patterns/gallery-full-screen-image.php b/patterns/gallery-full-screen-image.php deleted file mode 100644 index ee26fca..0000000 --- a/patterns/gallery-full-screen-image.php +++ /dev/null @@ -1,21 +0,0 @@ - - - -
- - -
- - - -
-
- diff --git a/patterns/gallery-offset-images-grid-2-col.php b/patterns/gallery-offset-images-grid-2-col.php deleted file mode 100644 index 67ea044..0000000 --- a/patterns/gallery-offset-images-grid-2-col.php +++ /dev/null @@ -1,58 +0,0 @@ - - -
- -
- -
- -
- -
- - - - - - - -
- -
- -
- - - -
- - - - - -
-
- - - - - - - -
-
- -
- -
- -
- diff --git a/patterns/gallery-offset-images-grid-3-col.php b/patterns/gallery-offset-images-grid-3-col.php deleted file mode 100644 index 3280317..0000000 --- a/patterns/gallery-offset-images-grid-3-col.php +++ /dev/null @@ -1,110 +0,0 @@ - - -
- -
- -
- -
- -
- - - - - - - -
- -
- - - - - - - -
- -
- -
- - - -
- - - - - -
- -
- - - - - - - -
- -
- - - - - - - -
- -
- -
- - - -
- -
- -
- - - - - - - -
- -
- - - - - - - -
- -
- -
- -
- -
- diff --git a/patterns/gallery-offset-images-grid-4-col.php b/patterns/gallery-offset-images-grid-4-col.php deleted file mode 100644 index 8c89db8..0000000 --- a/patterns/gallery-offset-images-grid-4-col.php +++ /dev/null @@ -1,149 +0,0 @@ - - - -
- -
- -
- -
- -
- - - - - - - -
- -
- - - - - - - -
- -
- -
- - - -
- - - - - -
- -
- - - - - - - -
- -
- - - - - - - -
- -
- -
- - - -
- -
- -
- - - - - - - -
- -
- - - - - - - -
- -
- -
- - - -
- - - - - -
- -
- - - - - - - -
- -
- - - - - - - -
- -
- -
- -
- -
- diff --git a/patterns/gallery-project-layout.php b/patterns/gallery-project-layout.php deleted file mode 100644 index 27d6f74..0000000 --- a/patterns/gallery-project-layout.php +++ /dev/null @@ -1,65 +0,0 @@ - - - - - diff --git a/patterns/hidden-404.php b/patterns/hidden-404.php deleted file mode 100644 index d033a13..0000000 --- a/patterns/hidden-404.php +++ /dev/null @@ -1,15 +0,0 @@ - - - -

- - -

- - diff --git a/patterns/hidden-comments.php b/patterns/hidden-comments.php deleted file mode 100644 index bd10668..0000000 --- a/patterns/hidden-comments.php +++ /dev/null @@ -1,47 +0,0 @@ - - - -
- -

- - - - -
- -
- - -
- - -
- -
- - - -
- - -
- -
- - - - - - - - - -
- diff --git a/patterns/hidden-no-results.php b/patterns/hidden-no-results.php deleted file mode 100644 index 00bbf97..0000000 --- a/patterns/hidden-no-results.php +++ /dev/null @@ -1,10 +0,0 @@ - - -

- diff --git a/patterns/hidden-portfolio-hero.php b/patterns/hidden-portfolio-hero.php deleted file mode 100644 index 29e6abc..0000000 --- a/patterns/hidden-portfolio-hero.php +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - -
- -

Leia Acosta, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?>

- -
- diff --git a/patterns/hidden-post-meta.php b/patterns/hidden-post-meta.php deleted file mode 100644 index add4a1c..0000000 --- a/patterns/hidden-post-meta.php +++ /dev/null @@ -1,30 +0,0 @@ - - - -
- -
- - - -

- - - -

- - - - - - -
- -
- diff --git a/patterns/hidden-post-navigation.php b/patterns/hidden-post-navigation.php deleted file mode 100644 index be2dcb2..0000000 --- a/patterns/hidden-post-navigation.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - - diff --git a/patterns/hidden-search.php b/patterns/hidden-search.php deleted file mode 100644 index e4aaa64..0000000 --- a/patterns/hidden-search.php +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/patterns/hidden-sidebar.php b/patterns/hidden-sidebar.php deleted file mode 100644 index abcb01b..0000000 --- a/patterns/hidden-sidebar.php +++ /dev/null @@ -1,84 +0,0 @@ - - -
- -
- - - -
- -

- - - -
- -
- - - -
- - - -
- -

- - - -
- - - -
- - - -
- -
- -

- - - -

- -
- - - - - - -
- - - -
- - - -
- -

- - - -
- - - - - -
- diff --git a/patterns/page-about-business.php b/patterns/page-about-business.php deleted file mode 100644 index f04b209..0000000 --- a/patterns/page-about-business.php +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - diff --git a/patterns/page-home-blogging.php b/patterns/page-home-blogging.php deleted file mode 100644 index ae88e90..0000000 --- a/patterns/page-home-blogging.php +++ /dev/null @@ -1,83 +0,0 @@ - - - - - -
- -
- -
-
- - - -
- -
- - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
- - - -
- -
- - - -
-
- -
- -
- - - diff --git a/patterns/page-home-business.php b/patterns/page-home-business.php deleted file mode 100644 index ca22952..0000000 --- a/patterns/page-home-business.php +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - diff --git a/patterns/page-home-portfolio-gallery.php b/patterns/page-home-portfolio-gallery.php deleted file mode 100644 index cce1fdb..0000000 --- a/patterns/page-home-portfolio-gallery.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - diff --git a/patterns/page-home-portfolio.php b/patterns/page-home-portfolio.php deleted file mode 100644 index 4f3c473..0000000 --- a/patterns/page-home-portfolio.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - diff --git a/patterns/page-newsletter-landing.php b/patterns/page-newsletter-landing.php deleted file mode 100644 index 24c6d9a..0000000 --- a/patterns/page-newsletter-landing.php +++ /dev/null @@ -1,47 +0,0 @@ - - - -
- -
- -
- -
- - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- diff --git a/patterns/page-portfolio-overview.php b/patterns/page-portfolio-overview.php deleted file mode 100644 index 3e29b11..0000000 --- a/patterns/page-portfolio-overview.php +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - diff --git a/patterns/page-rsvp-landing.php b/patterns/page-rsvp-landing.php deleted file mode 100644 index 469a134..0000000 --- a/patterns/page-rsvp-landing.php +++ /dev/null @@ -1,56 +0,0 @@ - - - -
- -
- -
- -
- -

- - -
- -

- - -
- -
- -
- -
- -
- -
- -
- - -
- -
- <?php esc_attr_e( 'Green staircase at Western University, London, Canada', 'twentytwentyfour' ); ?> -
- -
- -
- -
- diff --git a/patterns/posts-1-col.php b/patterns/posts-1-col.php deleted file mode 100644 index 051ed14..0000000 --- a/patterns/posts-1-col.php +++ /dev/null @@ -1,43 +0,0 @@ - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - - - - - -
- -
- diff --git a/patterns/posts-3-col.php b/patterns/posts-3-col.php deleted file mode 100644 index 62a48c4..0000000 --- a/patterns/posts-3-col.php +++ /dev/null @@ -1,52 +0,0 @@ - - - -
- - - - - -
- - - - - - -
- - - - - - - - - -
- - - - - - - - - - - - - -
- -
- diff --git a/patterns/posts-grid-2-col.php b/patterns/posts-grid-2-col.php deleted file mode 100644 index dd2881d..0000000 --- a/patterns/posts-grid-2-col.php +++ /dev/null @@ -1,80 +0,0 @@ - - - -
- -

- - - - - - - -
- -
- -
- - - - - - - - -
- - - - - - -
- - -
- -
- - - -
- -
- - - - - - - - -
- - - - - -
- - -
- -
- -
- -
- diff --git a/patterns/posts-images-only-3-col.php b/patterns/posts-images-only-3-col.php deleted file mode 100644 index 48bf4d0..0000000 --- a/patterns/posts-images-only-3-col.php +++ /dev/null @@ -1,35 +0,0 @@ - - - -
- - - - - -
- - - - - - - - - - - - - - -
- -
- diff --git a/patterns/posts-images-only-offset-4-col.php b/patterns/posts-images-only-offset-4-col.php deleted file mode 100644 index 808754b..0000000 --- a/patterns/posts-images-only-offset-4-col.php +++ /dev/null @@ -1,83 +0,0 @@ - - - -
- -
- -
- -
- - - -
- -
- - - -
- - - - - -
- - - -
- - - - - -
- - - -
- -
- - - -
- -
- - - -
- - - - - -
- - - -
- - - - - -
- -
- -
- diff --git a/patterns/posts-list.php b/patterns/posts-list.php deleted file mode 100644 index a9e5aee..0000000 --- a/patterns/posts-list.php +++ /dev/null @@ -1,62 +0,0 @@ - - - -
- -

- - - -
- -
- - -
- - - -
- -
- -
- - - -
- -
- -
- - - - - - - - - - - - - - - - - - -
- -
- -
- diff --git a/patterns/team-4-col.php b/patterns/team-4-col.php deleted file mode 100644 index 78211d2..0000000 --- a/patterns/team-4-col.php +++ /dev/null @@ -1,129 +0,0 @@ - - - -
- -
- -

- - - -

- -
- - - - - - - -
- -
- -
- -
- - - -
- -

- -

- - - -

- -
- -
- - - -
- -
- -
- - - -
- -

- -

- - - -

- -
- -
- - - -
- -
- -
- - - -
- -

- -

- - - -

- -
- -
- - - -
- -
- -
- - - -
- -

- -

- - - -

- -
- -
- -
- -
- diff --git a/patterns/template-archive-blogging.php b/patterns/template-archive-blogging.php deleted file mode 100644 index 6d193a4..0000000 --- a/patterns/template-archive-blogging.php +++ /dev/null @@ -1,21 +0,0 @@ - - - - - -
- - - -
- - - diff --git a/patterns/template-archive-portfolio.php b/patterns/template-archive-portfolio.php deleted file mode 100644 index aa347ad..0000000 --- a/patterns/template-archive-portfolio.php +++ /dev/null @@ -1,23 +0,0 @@ - - - - - -
- - - - - -
- - - diff --git a/patterns/template-home-blogging.php b/patterns/template-home-blogging.php deleted file mode 100644 index 4a96d74..0000000 --- a/patterns/template-home-blogging.php +++ /dev/null @@ -1,21 +0,0 @@ - - - - - -
- - - -
- - - diff --git a/patterns/template-home-business.php b/patterns/template-home-business.php deleted file mode 100644 index e84a5ac..0000000 --- a/patterns/template-home-business.php +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -
- -
- - - diff --git a/patterns/template-home-portfolio.php b/patterns/template-home-portfolio.php deleted file mode 100644 index 4fc4f07..0000000 --- a/patterns/template-home-portfolio.php +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -
- - - - -
- - - diff --git a/patterns/template-index-blogging.php b/patterns/template-index-blogging.php deleted file mode 100644 index b810186..0000000 --- a/patterns/template-index-blogging.php +++ /dev/null @@ -1,23 +0,0 @@ - - - - - -
- -

- - - -
- - - diff --git a/patterns/template-index-portfolio.php b/patterns/template-index-portfolio.php deleted file mode 100644 index 7b78323..0000000 --- a/patterns/template-index-portfolio.php +++ /dev/null @@ -1,24 +0,0 @@ - - - - - -
- -

- - - - -
- - - diff --git a/patterns/template-search-blogging.php b/patterns/template-search-blogging.php deleted file mode 100644 index ec9a29b..0000000 --- a/patterns/template-search-blogging.php +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -
- -
- - -
- - - -
- - - diff --git a/patterns/template-search-portfolio.php b/patterns/template-search-portfolio.php deleted file mode 100644 index 1c60eb1..0000000 --- a/patterns/template-search-portfolio.php +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -
- - - -
- -
- - - -
- - - diff --git a/patterns/template-single-portfolio.php b/patterns/template-single-portfolio.php deleted file mode 100644 index ba54d58..0000000 --- a/patterns/template-single-portfolio.php +++ /dev/null @@ -1,36 +0,0 @@ - - - - - -
- - - - - - - -
- -
- - - - - - -
- - - diff --git a/patterns/testimonial-centered.php b/patterns/testimonial-centered.php deleted file mode 100644 index 8e63924..0000000 --- a/patterns/testimonial-centered.php +++ /dev/null @@ -1,46 +0,0 @@ - - - -
- -
- -

- -

- - - - - - - -
- -
- -
- - - -

- - - -

- -
- - -
- -
- diff --git a/patterns/text-alternating-images.php b/patterns/text-alternating-images.php deleted file mode 100644 index 12a0772..0000000 --- a/patterns/text-alternating-images.php +++ /dev/null @@ -1,115 +0,0 @@ - - - -
- -
- -
- - -

- - - -

- -
- - - - - - - -
- -
- -

- - - -
    - - -
  • - - - -
  • - - - -
  • - - -
- -
- - - -
- -
- <?php esc_attr_e( 'Tourist taking photo of a building', 'twentytwentyfour' ); ?> -
- -
- -
- - - - - - - -
- -
- -
- <?php esc_attr_e( 'Windows of a building in Nuremberg, Germany', 'twentytwentyfour' ); ?> -
- -
- - - -
- -

- - - -
    - -
  • - - - -
  • - - - -
  • - -
- -
- -
- -
- -
- diff --git a/patterns/text-centered-statement-small.php b/patterns/text-centered-statement-small.php deleted file mode 100644 index c24a51a..0000000 --- a/patterns/text-centered-statement-small.php +++ /dev/null @@ -1,30 +0,0 @@ - - - -
- - -

- - ' . esc_html__( 'Money Studies', 'twentytwentyfour' ) . ''; - echo sprintf( - /* Translators: About text placeholder */ - esc_html__( 'I write about finance, management and economy, my book “%1$s” is out now.', 'twentytwentyfour' ), - $about_link - ); - ?> - -

- -
- diff --git a/patterns/text-centered-statement.php b/patterns/text-centered-statement.php deleted file mode 100644 index ce7751e..0000000 --- a/patterns/text-centered-statement.php +++ /dev/null @@ -1,29 +0,0 @@ - - - -
- -
- - - - - -

Études is not confined to the past—we are passionate about the cutting edge designs shaping our world today.', 'twentytwentyfour' ) ); ?>

- - - - - -
- -
- diff --git a/patterns/text-faq.php b/patterns/text-faq.php deleted file mode 100644 index 8bf0428..0000000 --- a/patterns/text-faq.php +++ /dev/null @@ -1,65 +0,0 @@ - - - - - diff --git a/patterns/text-feature-grid-3-col.php b/patterns/text-feature-grid-3-col.php deleted file mode 100644 index f03eaf3..0000000 --- a/patterns/text-feature-grid-3-col.php +++ /dev/null @@ -1,118 +0,0 @@ - - - -
- -
- -

- - - - - - - -

- -
- - - - - - - -
- -
- -

- - - -

- -
- - - -
- -

- - - -

- -
- - - -
- -

- - - -

- -
- -
- - - - - - - -
- -
- -

- - - -

- -
- - - -
- -

- - - -

- -
- - - -
- -

- - - -

- -
- -
- -
- diff --git a/patterns/text-project-details.php b/patterns/text-project-details.php deleted file mode 100644 index b75f869..0000000 --- a/patterns/text-project-details.php +++ /dev/null @@ -1,53 +0,0 @@ - - - -
- -
- -
- -

- -
- - - -
- - -

- - - -
- -
- -

- -
- - - -
- -

- -
- -
- -
- -
- -
- diff --git a/patterns/text-title-left-image-right.php b/patterns/text-title-left-image-right.php deleted file mode 100644 index f4c48f7..0000000 --- a/patterns/text-title-left-image-right.php +++ /dev/null @@ -1,58 +0,0 @@ - - - -
- -
- -
- -
- - -

- - - -
- - -

- - - -
- -
- -
- -
- -
- -
- -
- - - -
- -
- <?php esc_attr_e( 'A ramp along a curved wall in the Kiasma Museu, Helsinki, Finland', 'twentytwentyfour' ); ?> -
- -
- -
- -
- diff --git a/style.css b/style.css index 6325914..65e8edd 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,6 @@ /* -Theme Name: Twenty Twenty-Four -Theme URI: https://wordpress.org/themes/twentytwentyfour/ +Theme Name: QuickWP Theme +Theme URI: https://wordpress.org/themes/quickwp/ Author: the WordPress team Author URI: https://wordpress.org Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4. @@ -10,6 +10,6 @@ Requires PHP: 7.0 Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Text Domain: twentytwentyfour +Text Domain: quickwp 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, style-variations, accessibility-ready, blog, portfolio, news */ diff --git a/templates/404.html b/templates/404.html index 37abd55..b07752d 100644 --- a/templates/404.html +++ b/templates/404.html @@ -2,7 +2,7 @@
- +
diff --git a/templates/archive.html b/templates/archive.html index e430722..ecbdab9 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -5,7 +5,7 @@ - + diff --git a/templates/home.html b/templates/home.html index 7c364b8..a0e825f 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1 +1 @@ - + diff --git a/templates/index.html b/templates/index.html index fd93725..ed27cc5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,7 @@

Posts

- + diff --git a/templates/search.html b/templates/search.html index c4d2f90..ce3197e 100644 --- a/templates/search.html +++ b/templates/search.html @@ -6,11 +6,11 @@
- +
- + diff --git a/templates/single-with-sidebar.html b/templates/single-with-sidebar.html index 990a3a8..86ab7b5 100644 --- a/templates/single-with-sidebar.html +++ b/templates/single-with-sidebar.html @@ -35,13 +35,13 @@ - + - + diff --git a/templates/single.html b/templates/single.html index e263370..e58b3cc 100644 --- a/templates/single.html +++ b/templates/single.html @@ -35,9 +35,9 @@
- + - + diff --git a/theme.json b/theme.json index 5de83df..89d2c06 100644 --- a/theme.json +++ b/theme.json @@ -1,10 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, - "patterns": [ - "three-columns-of-services", - "clients-section" - ], "settings": { "appearanceTools": true, "color": { From 2e25e020e03573c0742b6d719743f123db2c4fd6 Mon Sep 17 00:00:00 2001 From: Hardeep Asrani Date: Thu, 4 Jan 2024 02:03:42 +0530 Subject: [PATCH 2/3] chore: fix phpcs --- composer.json | 12 +++--------- composer.lock | 51 +++++++++++++++++++++++++++++++++++++-------------- functions.php | 7 ++++--- 3 files changed, 44 insertions(+), 26 deletions(-) diff --git a/composer.json b/composer.json index 6d2e624..4714f72 100644 --- a/composer.json +++ b/composer.json @@ -1,19 +1,13 @@ { - "name": "wordpress/quickwp", + "name": "codeinwp/quickwp", "type": "package", - "description": "The default WordPress theme for 2024", + "description": "The default QuickWP theme.", "keywords": [ "WordPress", "Themes" ], - "homepage": "https://github.com/WordPress/quickwp", + "homepage": "https://github.com/Codeinwp/quickwp-theme", "license": "GPL-2.0-or-later", - "authors": [ - { - "name": "Contributors", - "homepage": "https://github.com/WordPress/quickwp/contributors.md" - } - ], "require": { "php": ">=5.6" }, diff --git a/composer.lock b/composer.lock index a657602..69e7e02 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "eee4745ad1faa5831f7b1e7bc8637ee0", + "content-hash": "ac62d0a39199a1d89e266a4f01e8eb9a", "packages": [], "packages-dev": [ { @@ -258,16 +258,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.7.2", + "version": "3.8.0", "source": { "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5805f7a4e4958dbb5e944ef1e6edae0a303765e7", + "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7", "shasum": "" }, "require": { @@ -277,7 +277,7 @@ "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" }, "bin": [ "bin/phpcs", @@ -296,22 +296,45 @@ "authors": [ { "name": "Greg Sherwood", - "role": "lead" + "role": "Former lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "Current lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "keywords": [ "phpcs", "standards", "static analysis" ], "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", + "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", + "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" }, - "time": "2023-02-22T23:07:41+00:00" + "funding": [ + { + "url": "https://github.com/PHPCSStandards", + "type": "github" + }, + { + "url": "https://github.com/jrfnl", + "type": "github" + }, + { + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" + } + ], + "time": "2023-12-08T12:32:31+00:00" }, { "name": "wp-coding-standards/wpcs", @@ -448,5 +471,5 @@ "php": ">=5.6" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/functions.php b/functions.php index d45318b..dac609f 100644 --- a/functions.php +++ b/functions.php @@ -8,9 +8,10 @@ * @since Twenty Twenty-Four 1.0 */ - /** - * Register Theme Support - */ +/** + * Register Theme Support + */ + if ( ! function_exists( 'quickwp_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. From 65b6a12ff9773e33bb76f31fee414614b78edc23 Mon Sep 17 00:00:00 2001 From: Hardeep Asrani Date: Thu, 4 Jan 2024 19:17:54 +0530 Subject: [PATCH 3/3] Add Radius & Line Height --- theme.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/theme.json b/theme.json index 89d2c06..066ce55 100644 --- a/theme.json +++ b/theme.json @@ -289,7 +289,19 @@ ], "writingMode": true }, - "useRootPaddingAwareAlignments": true + "useRootPaddingAwareAlignments": true, + "custom": { + "radius": { + "button": "5px", + "card": "5px", + "image": "5px" + }, + "lineHeight": { + "s": "1.2", + "m": "1.5", + "l": "1.6" + } + } }, "styles": { "blocks": {