Skip to content

Commit 8e2c885

Browse files
author
cristian-ungureanu
authored
release: new version
### Improvements - **Dashboard Survey**: Eliminated the feedback survey embedded within the dashboard. - **Template Refinements**: Incorporated header and footer elements into the 404 template. - **Template Refinements**: Applied the accent color as the background color to the penultimate section on the homepage. - **Template Refinements**: Integrated the site background color into the Featured Work section. - **Style Enhancements**: Introduced the Secondary Accent color in the main theme.json file and specified corresponding colors for each palette individually. ### Bug Fixes - **Editor Padding**: Rectified the padding issue surrounding the page inside the editor. - **Editor Styles View**: Resolved the problem of sections expanding in height when previewing in Styles view on the homepage.
2 parents 54e7788 + dedbc4b commit 8e2c885

17 files changed

+94
-49
lines changed

assets/css/src/common/_generic.scss

-12
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,6 @@ footer {
4242
* https://github.com/WordPress/gutenberg/issues/35884
4343
*/
4444

45-
.wp-site-blocks,
46-
body > .is-root-container,
47-
.edit-post-visual-editor__post-title-wrapper,
48-
.wp-block-group.alignfull,
49-
.wp-block-group.has-background,
50-
.wp-block-cover.alignfull,
51-
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
52-
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
53-
padding-left: var(--wp--custom--spacing--outer);
54-
padding-right: var(--wp--custom--spacing--outer);
55-
}
56-
5745
.wp-site-blocks .alignfull,
5846
.wp-site-blocks > .wp-block-group.has-background,
5947
.wp-site-blocks > .wp-block-cover,

composer.lock

+22-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inc/Admin.php

+13
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
* Admin class.
1414
*/
1515
class Admin {
16+
17+
/**
18+
* Property to suspend the survey.
19+
* Change it to true to enable it.
20+
*
21+
* @var bool
22+
*/
23+
private $suspend_survey = true;
24+
1625
/**
1726
* Admin constructor.
1827
*/
@@ -55,6 +64,10 @@ public function setup_otter_notice() {
5564
*/
5665
public function should_show_survey_notice() {
5766

67+
if ( $this->suspend_survey ) {
68+
return false;
69+
}
70+
5871
// Notice was dismissed.
5972
if ( get_option( Constants::CACHE_KEYS['dismissed-survey-notice'], 'no' ) === 'yes' ) {
6073
return false;

inc/patterns/layout/columns-testimonials.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
'categories' => array( 'neve-fse' ),
2424
'keywords' => array( 'Columns', 'testimonial', 'client', 'review' ),
2525
'content' => '
26-
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"40px"}},"layout":{"inherit":true,"type":"constrained"}} -->
27-
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
26+
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"40px"}},"backgroundColor":"ti-accent","textColor":"ti-fg-alt","layout":{"inherit":true,"type":"constrained"}} -->
27+
<div class="wp-block-group alignfull has-ti-fg-alt-color has-ti-accent-background-color has-text-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
2828
<!-- wp:group {"align":"wide"} -->
2929
<div class="wp-block-group alignwide">
3030
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"24px","left":"24px"}}}} -->
@@ -44,7 +44,7 @@
4444
<!-- /wp:paragraph -->
4545
4646
<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
47-
<p class="has-text-align-left has-small-font-size"><strong>JOHN DOE</strong></p>
47+
<p class="has-text-align-left has-small-font-size"><strong>JANE DOE</strong></p>
4848
<!-- /wp:paragraph -->
4949
</div>
5050
<!-- /wp:group -->
@@ -66,7 +66,7 @@
6666
<!-- /wp:paragraph -->
6767
6868
<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
69-
<p class="has-text-align-left has-small-font-size"><strong>JANE DOE</strong></p>
69+
<p class="has-text-align-left has-small-font-size"><strong>JOHN DOE</strong></p>
7070
<!-- /wp:paragraph -->
7171
</div>
7272
<!-- /wp:group -->
@@ -88,7 +88,7 @@
8888
<!-- /wp:paragraph -->
8989
9090
<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
91-
<p class="has-text-align-left has-small-font-size"><strong>GEORGE DOE</strong></p>
91+
<p class="has-text-align-left has-small-font-size"><strong>MARIA DOE</strong></p>
9292
<!-- /wp:paragraph -->
9393
</div>
9494
<!-- /wp:group -->

inc/patterns/layout/cta-dark.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
'categories' => array( 'neve-fse' ),
2020
'keywords' => array( 'call to action', 'CTA', 'inverted', 'dark', 'centered', 'cover' ),
2121
'content' => '
22-
<!-- wp:cover {"overlayColor":"ti-bg-inv","minHeight":50,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"margin":{"top":"0","bottom":"0"}}}} -->
23-
<div class="wp-block-cover alignfull" style="margin-top:0;margin-bottom:0;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px;min-height:50vh"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
22+
<!-- wp:cover {"overlayColor":"ti-bg-inv","minHeight":500,"minHeightUnit":"px","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"margin":{"top":"0","bottom":"0"}}}} -->
23+
<div class="wp-block-cover alignfull" style="margin-top:0;margin-bottom:0;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px;min-height:500px"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
2424
<div class="wp-block-group has-ti-fg-alt-color has-text-color"><!-- wp:heading {"textAlign":"center","align":"wide","fontSize":"huge"} -->
2525
<h2 class="wp-block-heading alignwide has-text-align-center has-huge-font-size">Let’s work together on your<br>next project</h2>
2626
<!-- /wp:heading -->

inc/patterns/layout/page-cover-bg-image.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
'categories' => array( 'neve-fse' ),
2222
'keywords' => array( 'call to action', 'page cover', 'inverted', 'dark' ),
2323
'content' => '
24-
<!-- wp:cover {"url":"' . esc_url( $cover_image ) . '","dimRatio":50,"overlayColor":"ti-bg-inv","minHeight":50,"minHeightUnit":"vh","contentPosition":"center center","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"margin":{"top":"0","bottom":"0"}}}} -->
25-
<div class="wp-block-cover alignfull is-light" style="margin-top:0;margin-bottom:0;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px;min-height:50vh">
24+
<!-- wp:cover {"url":"' . esc_url( $cover_image ) . '","dimRatio":50,"overlayColor":"ti-bg-inv","minHeight":500,"minHeightUnit":"px","contentPosition":"center center","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"margin":{"top":"0","bottom":"0"}}}} -->
25+
<div class="wp-block-cover alignfull is-light" style="margin-top:0;margin-bottom:0;padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px;min-height:500px">
2626
<span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim"></span>
2727
<img class="wp-block-cover__image-background" alt="" src="' . esc_url( $cover_image ) . '" data-object-fit="cover"/>
2828
<div class="wp-block-cover__inner-container">

inc/patterns/layout/page-cover-with-buttons.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
'categories' => array( 'neve-fse' ),
2222
'keywords' => array( 'Hero', 'Page Hero', 'Cover' ),
2323
'content' => '
24-
<!-- wp:cover {"url":"' . esc_url( $cover_image ) . '","dimRatio":0,"overlayColor":"ti-bg-inv","minHeight":60,"minHeightUnit":"vh","contentPosition":"center center","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}}} -->
25-
<div class="wp-block-cover alignfull is-light" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px;min-height:60vh">
24+
<!-- wp:cover {"url":"' . esc_url( $cover_image ) . '","dimRatio":0,"overlayColor":"ti-bg-inv","minHeight":600,"minHeightUnit":"px","contentPosition":"center center","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}}} -->
25+
<div class="wp-block-cover alignfull is-light" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px;min-height:600px">
2626
<span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-0 has-background-dim"></span>
2727
<img class="wp-block-cover__image-background" alt="" src="' . esc_url( $cover_image ) . '" data-object-fit="cover"/>
2828
<div class="wp-block-cover__inner-container">

inc/patterns/layout/portfolio-columns.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
'categories' => array( 'neve-fse' ),
2323
'keywords' => array( 'Columns', 'portfolio', 'cover' ),
2424
'content' => '
25-
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
26-
<div class="wp-block-group alignfull has-ti-fg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:64px;padding-bottom:64px">
25+
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
26+
<div class="wp-block-group alignfull has-ti-bg-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:64px;padding-bottom:64px">
2727
<!-- wp:heading {"textAlign":"left","align":"wide"} -->
2828
<h2 class="wp-block-heading alignwide has-text-align-left">Featured Work</h2>
2929
<!-- /wp:heading -->

styles/s1-crayola.json

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"color": "#F5AB1A",
2121
"name": "Accent"
2222
},
23+
{
24+
"slug": "ti-accent-secondary",
25+
"color": "#E1980A",
26+
"name": "Accent Secondary"
27+
},
2328
{
2429
"slug": "ti-bg-inv",
2530
"color": "#14171C",

styles/s2-majorelle-blue.json

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"color": "#5E33D9",
2121
"name": "Accent"
2222
},
23+
{
24+
"slug": "ti-accent-secondary",
25+
"color": "#4F25C6",
26+
"name": "Accent Secondary"
27+
},
2328
{
2429
"slug": "ti-bg-inv",
2530
"color": "#261E3C",

styles/s3-zomp.json

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"color": "#429C91",
2121
"name": "Accent"
2222
},
23+
{
24+
"slug": "ti-accent-secondary",
25+
"color": "#3A8A80",
26+
"name": "Accent Secondary"
27+
},
2328
{
2429
"slug": "ti-bg-inv",
2530
"color": "#1E2827",

styles/s4-dark-pastel-red.json

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"color": "#C6461E",
2121
"name": "Accent"
2222
},
23+
{
24+
"slug": "ti-accent-secondary",
25+
"color": "#A93C19",
26+
"name": "Accent Secondary"
27+
},
2328
{
2429
"slug": "ti-bg-inv",
2530
"color": "#1D1A1A",

styles/s5-aztec-gold.json

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"color": "#BF985C",
2121
"name": "Accent"
2222
},
23+
{
24+
"slug": "ti-accent-secondary",
25+
"color": "#AD8A54",
26+
"name": "Accent Secondary"
27+
},
2328
{
2429
"slug": "ti-bg-alt",
2530
"color": "#1F1F1F",

styles/s6-vivid-red-tangelo.json

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"color": "#DF6018",
2121
"name": "Accent"
2222
},
23+
{
24+
"slug": "ti-accent-secondary",
25+
"color": "#CC5816",
26+
"name": "Accent Secondary"
27+
},
2328
{
2429
"slug": "ti-bg-alt",
2530
"color": "#0E313E",

styles/s7-greenlight.json

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"color": "#518459",
2121
"name": "Accent"
2222
},
23+
{
24+
"slug": "ti-accent-secondary",
25+
"color": "#46734D",
26+
"name": "Accent Secondary"
27+
},
2328
{
2429
"slug": "ti-bg-inv",
2530
"color": "#14171C",

templates/404.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<!-- wp:template-part {"slug":"header","theme":"neve-fse","tagName":"header"} /-->
2+
13
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} -->
24
<main class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:cover {"overlayColor":"ti-bg-inv","minHeight":100,"minHeightUnit":"vh","align":"full"} -->
35
<div class="wp-block-cover alignfull" style="min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px"}},"textColor":"ti-bg","layout":{"type":"constrained"}} -->
@@ -17,4 +19,6 @@ <h2 class="wp-block-heading has-text-align-center has-huge-font-size">404 - Page
1719
<!-- /wp:buttons --></div>
1820
<!-- /wp:group --></div></div>
1921
<!-- /wp:cover --></main>
20-
<!-- /wp:group -->
22+
<!-- /wp:group -->
23+
24+
<!-- wp:template-part {"slug":"footer","theme":"neve-fse","tagName":"footer"} /-->

theme.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"horizontal": "clamp( calc( 1.5 * var( --wp--custom--spacing--baseline ) ), 2.222vw, calc( 2 * var( --wp--custom--spacing--baseline ) ) )",
1111
"vertical": "clamp( calc( 1.5 * var( --wp--custom--spacing--baseline ) ), 3.333vw, calc( 3 * var( --wp--custom--spacing--baseline ) ) )"
1212
},
13-
"gutter": "clamp( calc( 1.5 * var( --wp--custom--spacing--baseline ) ), 3.333vw, calc( 3 * var( --wp--custom--spacing--baseline ) ) )",
14-
"outer": "var( --wp--custom--spacing--gutter )"
13+
"gutter": "clamp( calc( 1.5 * var( --wp--custom--spacing--baseline ) ), 3.333vw, calc( 3 * var( --wp--custom--spacing--baseline ) ) )"
1514
},
1615
"typography": {
1716
"fontSmoothing": {
@@ -53,6 +52,11 @@
5352
"color": "var(--nv-primary-accent, #325ce8)",
5453
"name": "Accent"
5554
},
55+
{
56+
"slug": "ti-accent-secondary",
57+
"color": "var(--nv-secondary-accent, #1B47DA)",
58+
"name": "Accent Secondary"
59+
},
5660
{
5761
"slug": "ti-bg-inv",
5862
"color": "var(--nv-dark-bg, #1A1919)",

0 commit comments

Comments
 (0)