From 2684533b44a41d5c2a135a57e27c140367f3b66b Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 11:35:03 -0400 Subject: [PATCH 1/9] chore: move the global styles saved in the site editor into theme.json Signed-off-by: YvesCesar --- theme.json | 69 +++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 37 deletions(-) diff --git a/theme.json b/theme.json index a966a49..79336ab 100644 --- a/theme.json +++ b/theme.json @@ -193,11 +193,26 @@ "color": "#b5bdbc", "name": "Accent / Five", "slug": "accent-5" + }, + { + "color": "#184c4e", + "name": "Brand 1", + "slug": "custom-brand-1" + }, + { + "color": "#cafbc4", + "name": "Brand 2", + "slug": "custom-brand-2" + }, + { + "color": "#212b36", + "name": "Brand 3", + "slug": "custom-brand-3" } ] }, "layout": { - "contentSize": "620px", + "contentSize": "1024px", "wideSize": "1280px" }, "spacing": { @@ -263,37 +278,6 @@ "name": "Inter", "slug": "body" }, - { - "fontFace": [ - { - "fontFamily": "Cardo", - "fontStyle": "normal", - "fontWeight": "400", - "src": [ - "file:./assets/fonts/cardo/cardo_normal_400.woff2" - ] - }, - { - "fontFamily": "Cardo", - "fontStyle": "italic", - "fontWeight": "400", - "src": [ - "file:./assets/fonts/cardo/cardo_italic_400.woff2" - ] - }, - { - "fontFamily": "Cardo", - "fontStyle": "normal", - "fontWeight": "700", - "src": [ - "file:./assets/fonts/cardo/cardo_normal_700.woff2" - ] - } - ], - "fontFamily": "Cardo", - "name": "Cardo", - "slug": "heading" - }, { "fontFamily": "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif", "name": "System Sans-serif", @@ -591,6 +575,12 @@ "fontWeight": "500" } }, + "core/navigation-link": { + "typography": { + "fontStyle": "normal", + "fontWeight": "400" + } + }, "core/post-author": { "typography": { "fontSize": "var(--wp--preset--font-size--small)" @@ -873,7 +863,7 @@ "radius": ".33rem" }, "color": { - "background": "var(--wp--preset--color--contrast)", + "background": "var(--wp--preset--color--custom-brand-1)", "text": "var(--wp--preset--color--base)" }, "spacing": { @@ -902,17 +892,23 @@ "h1": { "typography": { "fontSize": "var(--wp--preset--font-size--xx-large)", + "fontStyle": "normal", + "fontWeight": "600", "lineHeight": "1.15" } }, "h2": { "typography": { - "fontSize": "var(--wp--preset--font-size--x-large)" + "fontSize": "var(--wp--preset--font-size--x-large)", + "fontStyle": "normal", + "fontWeight": "600" } }, "h3": { "typography": { - "fontSize": "var(--wp--preset--font-size--large)" + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "normal", + "fontWeight": "600" } }, "h4": { @@ -932,10 +928,9 @@ }, "heading": { "color": { - "text": "var(--wp--preset--color--contrast)" + "text": "var(--wp--preset--color--custom-brand-3)" }, "typography": { - "fontFamily": "var(--wp--preset--font-family--heading)", "fontWeight": "400", "lineHeight": "1.2" } From 59c1d36cb2b833062ef7af96a4ea68c1e6c0d628 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 11:35:03 -0400 Subject: [PATCH 2/9] chore: move the templates edited in the site editor into the theme Signed-off-by: YvesCesar --- parts/footer.html | 90 ++++++++++++++++++++++++++++++++- parts/header.html | 53 ++++++++++---------- templates/archive-product.html | 82 ++++++++++++++++-------------- templates/coming-soon.html | 44 +++++++++++++++- templates/single-product.html | 92 +++++++++++++++++++++------------- 5 files changed, 259 insertions(+), 102 deletions(-) diff --git a/parts/footer.html b/parts/footer.html index 08e22f7..d98618a 100644 --- a/parts/footer.html +++ b/parts/footer.html @@ -1 +1,89 @@ - + diff --git a/parts/header.html b/parts/header.html index b8b37f1..a9aacf6 100644 --- a/parts/header.html +++ b/parts/header.html @@ -1,26 +1,27 @@ - -
- -
- -
- - - -
- -
- -
- - - -
- -
- -
- -
- \ No newline at end of file + + + diff --git a/templates/archive-product.html b/templates/archive-product.html index 49d0e92..0e6503f 100644 --- a/templates/archive-product.html +++ b/templates/archive-product.html @@ -1,45 +1,49 @@ -
- - - - - - - - - -
- - -
- - -
- - - - - - - - - - - - - - - -
- -
- -
- -
+
+ + + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + +
+

No results found

+ + + +

You can try clearing any filters or head to our store's home

+
+ +
+
diff --git a/templates/coming-soon.html b/templates/coming-soon.html index 7f96aa6..2683efd 100644 --- a/templates/coming-soon.html +++ b/templates/coming-soon.html @@ -1 +1,43 @@ - \ No newline at end of file + +
+
+
+
+
+
+ + +
+
+ + + + +
+
+ + + +
+

We are working to make it possible to use LibreSign as a service.
Check back soon!

+
+ + + +
+
+ +
+
+
+
+
+ diff --git a/templates/single-product.html b/templates/single-product.html index e211a7f..edd1145 100644 --- a/templates/single-product.html +++ b/templates/single-product.html @@ -1,52 +1,74 @@ -
- - +
- -
- -
- -
- + +
+
+
+
+ +
+
+ - + +
- + - -
- -
- + - + - -
- -
- -
- -
- + - + +
+
- -
+ + + + + + + + + + +
From 8cba3cc04f205e7163d18090e1d62d75bdd714e9 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 11:35:03 -0400 Subject: [PATCH 3/9] chore: load the header and footer assets from the theme instead of code snippets Signed-off-by: YvesCesar --- assets/css/header-footer.css | 204 +++++++++++++++++++++++++++++++++++ inc/assets.php | 16 +++ 2 files changed, 220 insertions(+) create mode 100644 assets/css/header-footer.css diff --git a/assets/css/header-footer.css b/assets/css/header-footer.css new file mode 100644 index 0000000..6cf4862 --- /dev/null +++ b/assets/css/header-footer.css @@ -0,0 +1,204 @@ +header.wp-block-template-part { + position: sticky; + z-index: 10; + top: -1px; +} + +#header { + color: var(--wp--preset--color--base); + background-color: var(--wp--preset--color--custom-brand-1); + transition: all .3s ease-out 0s; +} + +#header.is-floating { + -webkit-backdrop-filter: blur(5px); + backdrop-filter: blur(5px); + background-color: hsla(0,0%,100%,.8); + box-shadow: inset 0 -1px 0 0 rgb(0 0 0 / 10%); + color: var(--wp--preset--color--contrast); +} + +#header.is-floating a img { + filter: brightness(0.5); +} + +#header .wc-block-mini-cart__badge { + color: var(--wp--preset--color--base); +} + +.ud-footer { + background: var(--wp--preset--color--custom-brand-3); + padding-top: 100px; + position: relative; + z-index: 1; + overflow: hidden; +} + +.ud-footer ul { + list-style: none; + padding: 0; +} + +.ud-footer .shape { + position: absolute; + z-index: -1; +} + +.ud-footer .shape.shape-1 { + top: 0; + left: 0; +} + +.ud-footer .shape.shape-2 { + top: 0; + right: 0; +} + +.ud-footer .shape.shape-3 { + bottom: 0; + right: 0; +} + +.ud-widget { + margin-bottom: 50px; +} + +.ud-widget .ud-footer-logo { + max-width: 160px; + display: block; + margin-bottom: 10px; +} + +.ud-widget .ud-footer-logo img { + width: 100%; +} + +.ud-widget .ud-widget-desc { + font-size: 15px; + line-height: 24px; + color: #f3f4fe; + margin-bottom: 30px; + max-width: 260px; +} + +.ud-widget .ud-widget-socials { + display: flex; + align-items: center; +} + +.ud-widget .ud-widget-socials a { + font-size: 16px; + color: #dddddd; + margin-right: 20px; + text-decoration: none; + transition: color .3s ease-out 0s; +} + +.ud-widget .ud-widget-socials a:hover { + color: var(--wp--preset--color--custom-brand-1); +} + +.ud-widget .ud-widget-title { + font-weight: 600; + font-size: 18px; + margin-bottom: 35px; + color: var(--wp--preset--color--base-2); +} + +.ud-widget .ud-widget-links { + list-style: none !important; + padding-left: 0 !important; +} + +.ud-widget .ud-widget-links a { + display: inline-block; + margin-bottom: 12px; + font-size: 15px; + line-height: 30px; + color: #f3f4fe; + text-decoration: none !important; + transition: all .3s ease-out 0s; +} + +.ud-widget .ud-widget-links a:hover { + color: var(--wp--preset--color--custom-brand-1); + padding-left: 10px; +} + +.ud-widget .ud-widget-brands { + display: flex; + flex-wrap: wrap; + justify-content: space-between; +} + +.ud-widget .ud-widget-brands a { + display: block; + max-width: 120px; + margin-bottom: 20px; + margin-right: 20px; +} + +@media only screen and (min-width: 1200px) and (max-width: 1399px) { + .ud-widget .ud-widget-brands a { + max-width: 100px; + } +} + +.ud-footer-bottom { + padding: 35px 0; + border-top: 1px solid rgba(136, 144, 164, 0.43); +} + +.ud-footer-bottom .ud-footer-bottom-left { + display: flex; + align-items: center; +} + +@media (max-width: 767px) { + .ud-footer-bottom .ud-footer-bottom-left { + justify-content: center; + } +} + +.ud-footer-bottom .ud-footer-bottom-left a { + font-weight: normal; + font-size: 15px; + color: #f3f4fe; + margin-right: 30px; + display: inline-block; + text-decoration: none; + transition: color .3s ease-out 0s; +} + +@media (max-width: 767px) { + .ud-footer-bottom .ud-footer-bottom-left a { + margin: 0px 8px 8px; + } +} + +.ud-footer-bottom .ud-footer-bottom-left a:hover { + color: var(--wp--preset--color--custom-brand-1); +} + +.ud-footer-bottom .ud-footer-bottom-right { + text-align: right; + font-weight: normal; + font-size: 15px; + color: #f3f4fe; +} + +.ud-footer-bottom .ud-footer-bottom-right a { + color: var(--wp--preset--color--custom-brand-1); + text-decoration: none; +} + +.ud-footer-bottom .ud-footer-bottom-right a:hover { + text-decoration: underline; +} + +@media (max-width: 767px) { + .ud-footer-bottom .ud-footer-bottom-right { + text-align: center; + margin-top: 10px; + } +} diff --git a/inc/assets.php b/inc/assets.php index 2bce94f..d0a73d1 100644 --- a/inc/assets.php +++ b/inc/assets.php @@ -21,3 +21,19 @@ file_exists( $absolute_path ) ? (string) filemtime( $absolute_path ) : null ); }, 20 ); + +add_action( 'wp_enqueue_scripts', function () { + wp_enqueue_style( 'bootstrap-css', 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap-grid.min.css', array(), '5.3.0' ); + wp_enqueue_style( 'lineicons', 'https://cdn.lineicons.com/4.0/lineicons.css', array(), null ); +} ); + +add_action( 'wp_enqueue_scripts', function () { + $relative_path = 'assets/css/header-footer.css'; + + wp_enqueue_style( + 'libresign-header-footer', + get_theme_file_uri( $relative_path ), + array(), + (string) filemtime( get_theme_file_path( $relative_path ) ) + ); +}, 40 ); From 7d9cedab43e3cdc0e0b7df3e57a75300b71bc556 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 11:35:03 -0400 Subject: [PATCH 4/9] fix: link the policy to the privacy page set in wordpress Signed-off-by: YvesCesar --- inc/registration.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inc/registration.php b/inc/registration.php index ca3c794..cb6cf12 100644 --- a/inc/registration.php +++ b/inc/registration.php @@ -13,10 +13,9 @@ * Return the site policy / privacy page URL. */ function libresign_theme_get_policy_url() { - $policy_page_id = 3; - $policy_url = get_permalink( $policy_page_id ); + $policy_url = get_privacy_policy_url(); - if ( ! empty( $policy_url ) ) { + if ( '' !== $policy_url ) { return $policy_url; } From 809e137bb3aa4e352ee8d5fffc618fb5b5e70a15 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 12:07:50 -0400 Subject: [PATCH 5/9] fix: drop the references to the heading font the theme no longer declares Signed-off-by: YvesCesar --- patterns/banner-project-description.php | 4 ++-- patterns/testimonial-centered.php | 4 ++-- patterns/text-centered-statement.php | 4 ++-- patterns/text-project-details.php | 4 ++-- patterns/text-title-left-image-right.php | 4 ++-- theme.json | 2 -- 6 files changed, 10 insertions(+), 12 deletions(-) diff --git a/patterns/banner-project-description.php b/patterns/banner-project-description.php index 008884e..3d63c3b 100644 --- a/patterns/banner-project-description.php +++ b/patterns/banner-project-description.php @@ -22,8 +22,8 @@
- -

+ +

diff --git a/patterns/testimonial-centered.php b/patterns/testimonial-centered.php index e97b41e..b200d09 100644 --- a/patterns/testimonial-centered.php +++ b/patterns/testimonial-centered.php @@ -13,8 +13,8 @@
- -

+ +

diff --git a/patterns/text-centered-statement.php b/patterns/text-centered-statement.php index 7b020f9..f906a86 100644 --- a/patterns/text-centered-statement.php +++ b/patterns/text-centered-statement.php @@ -17,8 +17,8 @@ - -

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

+ +

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

diff --git a/patterns/text-project-details.php b/patterns/text-project-details.php index e717717..b362ff4 100644 --- a/patterns/text-project-details.php +++ b/patterns/text-project-details.php @@ -23,8 +23,8 @@
- -

+ +

diff --git a/patterns/text-title-left-image-right.php b/patterns/text-title-left-image-right.php index f24b800..57713fd 100644 --- a/patterns/text-title-left-image-right.php +++ b/patterns/text-title-left-image-right.php @@ -17,8 +17,8 @@
- -

+ +

diff --git a/theme.json b/theme.json index 79336ab..a4e1412 100644 --- a/theme.json +++ b/theme.json @@ -691,7 +691,6 @@ } }, "typography": { - "fontFamily": "var(--wp--preset--font-family--heading)", "fontSize": "var(--wp--preset--font-size--x-large)", "fontStyle": "italic", "fontWeight": "400", @@ -735,7 +734,6 @@ } }, "typography": { - "fontFamily": "var(--wp--preset--font-family--heading)", "fontSize": "var(--wp--preset--font-size--large)", "fontStyle": "italic", "lineHeight": "1.3" From 97724d717d73af12fdfcc30b148bd9bb4fb25e2d Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 12:07:50 -0400 Subject: [PATCH 6/9] fix: drop the translatepress language switcher from the header Signed-off-by: YvesCesar --- parts/header.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/parts/header.html b/parts/header.html index a9aacf6..2fbc7de 100644 --- a/parts/header.html +++ b/parts/header.html @@ -19,9 +19,7 @@ - - -
+
From b3839a274f36962dd3f5c048cae2630c9ace4157 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 12:07:50 -0400 Subject: [PATCH 7/9] fix: point the coming soon social links to the libresign profiles Signed-off-by: YvesCesar --- templates/coming-soon.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/coming-soon.html b/templates/coming-soon.html index 2683efd..b3bbcd4 100644 --- a/templates/coming-soon.html +++ b/templates/coming-soon.html @@ -13,11 +13,9 @@ From b26ba7036837b9ce4fe83147fb25ea90f8fd73b1 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 12:07:50 -0400 Subject: [PATCH 8/9] fix: link the policy consent to the policy the footer links to Signed-off-by: YvesCesar --- inc/registration.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/inc/registration.php b/inc/registration.php index cb6cf12..a8c7a33 100644 --- a/inc/registration.php +++ b/inc/registration.php @@ -13,13 +13,7 @@ * Return the site policy / privacy page URL. */ function libresign_theme_get_policy_url() { - $policy_url = get_privacy_policy_url(); - - if ( '' !== $policy_url ) { - return $policy_url; - } - - return home_url( '/privacy-police/' ); + return 'https://libresign.coop/privacy-policy'; } /** From 0c2beaad735f924c5a51541531de32dd1a0124e9 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Mon, 28 Sep 2026 12:07:50 -0400 Subject: [PATCH 9/9] fix: keep the catalog and related products texts translatable Signed-off-by: YvesCesar --- patterns/related-products.php | 25 +++++++++++++++++++++++++ templates/archive-product.html | 8 +------- templates/single-product.html | 19 +------------------ 3 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 patterns/related-products.php diff --git a/patterns/related-products.php b/patterns/related-products.php new file mode 100644 index 0000000..461a3ce --- /dev/null +++ b/patterns/related-products.php @@ -0,0 +1,25 @@ + + + + + diff --git a/templates/archive-product.html b/templates/archive-product.html index 0e6503f..7cd9189 100644 --- a/templates/archive-product.html +++ b/templates/archive-product.html @@ -34,13 +34,7 @@ -
-

No results found

- - - -

You can try clearing any filters or head to our store's home

-
+
diff --git a/templates/single-product.html b/templates/single-product.html index edd1145..c53b4a9 100644 --- a/templates/single-product.html +++ b/templates/single-product.html @@ -51,24 +51,7 @@ - - - +