diff --git a/.github/instructions/wpcs-css.instructions.md b/.github/instructions/wpcs-css.instructions.md index 0e67b9f..de90eb6 100644 --- a/.github/instructions/wpcs-css.instructions.md +++ b/.github/instructions/wpcs-css.instructions.md @@ -1,6 +1,6 @@ --- file_type: "instructions" -applyTo: ["**/*.css", "**/*.scss", "**/*.sass"] +applyTo: "**/*.css, **/*.scss, **/*.sass" description: "Enforce WordPress CSS coding standards, naming, specificity and formatting." lastUpdated: "2025-10-19" version: "1.0" diff --git a/assets/fonts/frank-ruhl-libre/FrankRuhlLibre-VariableFont_wght.woff2 b/assets/fonts/frank-ruhl-libre/FrankRuhlLibre-VariableFont_wght.woff2 new file mode 100644 index 0000000..f292186 Binary files /dev/null and b/assets/fonts/frank-ruhl-libre/FrankRuhlLibre-VariableFont_wght.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-100-normal.woff2 b/assets/fonts/montserrat/Montserrat-100-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-100-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-200-normal.woff2 b/assets/fonts/montserrat/Montserrat-200-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-200-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-300-normal.woff2 b/assets/fonts/montserrat/Montserrat-300-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-300-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-400-normal.woff2 b/assets/fonts/montserrat/Montserrat-400-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-400-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-500-normal.woff2 b/assets/fonts/montserrat/Montserrat-500-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-500-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-600-normal.woff2 b/assets/fonts/montserrat/Montserrat-600-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-600-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-700-normal.woff2 b/assets/fonts/montserrat/Montserrat-700-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-700-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-800-normal.woff2 b/assets/fonts/montserrat/Montserrat-800-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-800-normal.woff2 differ diff --git a/assets/fonts/montserrat/Montserrat-900-normal.woff2 b/assets/fonts/montserrat/Montserrat-900-normal.woff2 new file mode 100644 index 0000000..61220a0 Binary files /dev/null and b/assets/fonts/montserrat/Montserrat-900-normal.woff2 differ diff --git a/assets/fonts/nunito-sans/NunitoSans-VariableFont_wght.woff2 b/assets/fonts/nunito-sans/NunitoSans-VariableFont_wght.woff2 new file mode 100644 index 0000000..c534512 Binary files /dev/null and b/assets/fonts/nunito-sans/NunitoSans-VariableFont_wght.woff2 differ diff --git a/assets/fonts/roboto-slab/RobotoSlab-VariableFont_wght.woff2 b/assets/fonts/roboto-slab/RobotoSlab-VariableFont_wght.woff2 new file mode 100644 index 0000000..53cd54e Binary files /dev/null and b/assets/fonts/roboto-slab/RobotoSlab-VariableFont_wght.woff2 differ diff --git a/assets/fonts/roboto/Roboto-VariableFont_wght.woff2 b/assets/fonts/roboto/Roboto-VariableFont_wght.woff2 new file mode 100644 index 0000000..899eb8e Binary files /dev/null and b/assets/fonts/roboto/Roboto-VariableFont_wght.woff2 differ diff --git a/assets/fonts/rubik/Rubik-VariableFont_wght.woff2 b/assets/fonts/rubik/Rubik-VariableFont_wght.woff2 new file mode 100644 index 0000000..4ba94d1 Binary files /dev/null and b/assets/fonts/rubik/Rubik-VariableFont_wght.woff2 differ diff --git a/assets/fonts/ubuntu/Ubuntu-300-normal.woff2 b/assets/fonts/ubuntu/Ubuntu-300-normal.woff2 new file mode 100644 index 0000000..15cb23a Binary files /dev/null and b/assets/fonts/ubuntu/Ubuntu-300-normal.woff2 differ diff --git a/assets/fonts/ubuntu/Ubuntu-400-normal.woff2 b/assets/fonts/ubuntu/Ubuntu-400-normal.woff2 new file mode 100644 index 0000000..2a81dd9 Binary files /dev/null and b/assets/fonts/ubuntu/Ubuntu-400-normal.woff2 differ diff --git a/assets/fonts/ubuntu/Ubuntu-500-normal.woff2 b/assets/fonts/ubuntu/Ubuntu-500-normal.woff2 new file mode 100644 index 0000000..0c8b97f Binary files /dev/null and b/assets/fonts/ubuntu/Ubuntu-500-normal.woff2 differ diff --git a/assets/fonts/ubuntu/Ubuntu-700-normal.woff2 b/assets/fonts/ubuntu/Ubuntu-700-normal.woff2 new file mode 100644 index 0000000..598bf6a Binary files /dev/null and b/assets/fonts/ubuntu/Ubuntu-700-normal.woff2 differ diff --git a/functions.php b/functions.php index 5cd71c1..0929e2f 100644 --- a/functions.php +++ b/functions.php @@ -86,12 +86,12 @@ function ma_theme_enqueue_editor_assets() { $editor_asset_file = get_theme_file_path( 'build/css/editor-style.asset.php' ); if ( file_exists( $editor_asset_file ) ) { $editor_asset = include $editor_asset_file; - wp_enqueue_style( - 'ma-theme-editor-style', - get_theme_file_uri( 'build/css/editor-style.css' ), - $editor_asset['dependencies'] ?? array(), - $editor_asset['version'] ?? MA_THEME_VERSION - ); + wp_enqueue_style( + 'ma-theme-editor-style', + get_theme_file_uri( 'build/css/editor-style.css' ), + array_merge( array( 'wp-block-editor' ), $editor_asset['dependencies'] ?? array() ), + $editor_asset['version'] ?? MA_THEME_VERSION + ); } // Enqueue editor JavaScript. diff --git a/inc/block-patterns.php b/inc/block-patterns.php index 327123d..b6c8861 100644 --- a/inc/block-patterns.php +++ b/inc/block-patterns.php @@ -22,20 +22,20 @@ function ma_theme_register_hero_pattern() { 'description' => __( 'A large hero section with heading, text, and button.', 'ma-theme' ), 'categories' => array( 'ma-theme-hero' ), 'keywords' => array( 'hero', 'banner', 'header' ), - 'content' => ' -
- -

{{hero_title}}

+ 'content' => ' +
+ +

{{hero_title}}

- -

{{hero_description}}

+ +

{{hero_description}}

- -
- - + + @@ -57,8 +57,8 @@ function ma_theme_register_cta_pattern() { 'description' => __( 'A call to action section with heading and button.', 'ma-theme' ), 'categories' => array( 'ma-theme-cta' ), 'keywords' => array( 'cta', 'call to action', 'button' ), - 'content' => ' -
+ 'content' => ' +

{{cta_title}}

@@ -102,7 +102,7 @@ function ma_theme_register_team_pattern() {

{{team_description}}

- +
@@ -114,8 +114,8 @@ function ma_theme_register_team_pattern() {

{{team_member_1_name}}

- -

{{team_member_1_role}}

+ +

{{team_member_1_role}}

@@ -130,8 +130,8 @@ function ma_theme_register_team_pattern() {

{{team_member_2_name}}

- -

{{team_member_2_role}}

+ +

{{team_member_2_role}}

@@ -146,8 +146,8 @@ function ma_theme_register_team_pattern() {

{{team_member_3_name}}

- -

{{team_member_3_role}}

+ +

{{team_member_3_role}}

diff --git a/patterns/404-content.php b/patterns/404-content.php index 66b29d3..3262862 100644 --- a/patterns/404-content.php +++ b/patterns/404-content.php @@ -27,8 +27,8 @@

- -

+ +

@@ -48,11 +48,11 @@
- + - +
diff --git a/patterns/author-header.php b/patterns/author-header.php index 14d6d65..018dc83 100644 --- a/patterns/author-header.php +++ b/patterns/author-header.php @@ -19,6 +19,6 @@ - +
diff --git a/patterns/call-to-action.php b/patterns/call-to-action.php index c89f115..1ec1f4b 100644 --- a/patterns/call-to-action.php +++ b/patterns/call-to-action.php @@ -16,20 +16,20 @@ $cta_description = esc_html__( 'Join thousands of satisfied customers who have already taken the first step. Start your journey today.', 'ma-theme' ); $cta_button = esc_html__( 'Get Started Now', 'ma-theme' ); ?> - -
+ +

- -

+ +

- -
+ +
diff --git a/patterns/comments.php b/patterns/comments.php index a7fda4f..6a7fc95 100644 --- a/patterns/comments.php +++ b/patterns/comments.php @@ -17,8 +17,8 @@ - -
+ +
diff --git a/patterns/features.php b/patterns/features.php index 258e696..0091907 100644 --- a/patterns/features.php +++ b/patterns/features.php @@ -35,10 +35,10 @@
- -
- -

+ +
+ +

@@ -51,10 +51,10 @@
- -
- -

+ +
+ +

@@ -67,10 +67,10 @@
- -
- -

+ +
+ +

diff --git a/patterns/footer.php b/patterns/footer.php index 434abe4..ef118be 100644 --- a/patterns/footer.php +++ b/patterns/footer.php @@ -22,38 +22,38 @@ gmdate( 'Y' ) ); ?> - -