Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor update in darken theme #252

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 26 additions & 11 deletions darken/parts/header.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:group {"style":{"spacing":{"padding":{"bottom":"30px","top":"30px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group" style="padding-top:30px;padding-bottom:30px"><!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:site-logo {"width":64} /-->
<div class="wp-block-group"
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"30px","top":"30px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group" style="padding-top:30px;padding-bottom:30px">
<!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:site-logo {"width":64} /-->

<!-- wp:group -->
<div class="wp-block-group"><!-- wp:site-title {"level":0,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"x-small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:site-title {"level":0,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"x-small"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

<!-- wp:navigation {"style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|70"},"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":"2"}},"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"right"}} -->
<div class="wp-block-group">
<!-- wp:navigation {"ref":6,"style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|70"},"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":"2"}},"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"}} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
6 changes: 3 additions & 3 deletions darken/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20","top":"var:preset|spacing|70","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--20)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--20)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"600","textDecoration":"underline"}},"fontSize":"small"} -->
<p class="has-small-font-size" style="font-style:normal;font-weight:600;text-decoration:underline"><a href="mailto:info@example.com"><?php esc_html_e('info@example.com','darken'); ?></a></p>
<!-- /wp:paragraph -->
Expand All @@ -45,8 +45,8 @@
<p><?php esc_html_e('© Copyright 2025.','darken'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"center","className":"p-links"} -->
<<p class="has-text-align-center p-links"><?php /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */
<!-- wp:paragraph {"align":"left","className":"p-links"} -->
<p class="has-text-align-left p-links"><?php /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */
echo sprintf( esc_html__( 'Proudly Powered by %1$sWordPress%2$s', 'darken' ), '<a href="' . esc_url( 'https://wordpress.org' ) . '" rel="nofollow">', '</a>' ); ?> <?php esc_html_e('Designed by Community.','darken'); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
Expand Down
5 changes: 3 additions & 2 deletions darken/patterns/homepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
<h5 class="wp-block-heading" style="font-size:32px"><?php esc_html_e('Hi , I am','darken'); ?></h5>
<!-- /wp:heading -->

<!-- wp:heading {"level":1} -->
<h1 class="wp-block-heading"><?php esc_html_e('Digital Designer','darken'); ?><br>&amp;<?php esc_html_e(' Developer.','darken'); ?></h1>
<!-- wp:heading {"level":1,"align":"full","style":{"spacing":{"margin":{"left":"-10px"}}}} -->
<h1 class="wp-block-heading alignfull" style="margin-left:-10px"><?php esc_html_e('Digital Designer ','darken'); ?><br>&amp; <?php esc_html_e('Developer.','darken'); ?></h1>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->


<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"style":{"border":{"color":"#adadad","width":"1px"},"spacing":{"padding":{"top":"20px","bottom":"20px","left":"20px","right":"20px"}}}} -->
Expand Down
9 changes: 6 additions & 3 deletions darken/readme.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
== Darken ==

Contributors:
Requires at least: 6.7
Contributors: wordpressdotorg
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html


== Description ==


== Changelog ==

= 1.0.0 =
Expand All @@ -16,7 +19,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Copyright ==

Darken WordPress Theme, (C) 2025
Darken WordPress Theme, (C) 2025 the WordPress team
Darken is distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify
Expand Down
10 changes: 5 additions & 5 deletions darken/style.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
Theme Name: Darken
Theme URI:
Author:
Author URI:
Theme URI: https://github.com/WordPress/community-themes/tree/trunk/darken
Author: wordpressdotorg
Author URI: https://wordpress.org/themes/author/wordpressdotorg/
Description:
Requires at least: 6.7
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 5.7
Version:
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darken
Expand Down
4 changes: 2 additions & 2 deletions darken/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"customFontSize": true,
"fontSizes": [
{
"fluid": true,
"slug": "x-small",
"size": "1.5rem",
"name": "Extra Small"
Expand Down Expand Up @@ -264,8 +265,7 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--manrope)",
"fontSize": "1rem"
},
"css": ".heading-dot {\n position: relative;\nwidth: 100%;\n}\n\n.heading-dot:after {\n content: \"\\2022\";\n font-size: 32px;\n line-height: 1;\n right: 0;\n vertical-align: middle;\n position: absolute;\ncolor: var(--wp--preset--color--secondary);\n}"
}
},
"templateParts": [
{
Expand Down
Loading