Skip to content

Commit

Permalink
Merge pull request #2408 from Automattic/trunk
Browse files Browse the repository at this point in the history
Alpha release Nov 15
  • Loading branch information
adekbadek authored Nov 15, 2024
2 parents 1b4400f + 2f4709a commit 55de554
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion newspack-theme/inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function newspack_author_get_social_links( $author_id, $size = 24 ) {
foreach ( $social_profiles as $profile ) {
if ( '' !== get_the_author_meta( $profile, $author_id ) ) {
if ( 'twitter' === $profile ) {
$links .= '<li class="twitter"><a href="https://twitter.com/' . esc_attr( get_the_author_meta( $profile, $author_id ) ) . '" target="_blank">' . newspack_get_social_icon_svg( $profile, $size, $profile ) . '</a></li>';
$links .= '<li class="twitter"><a href="https://x.com/' . esc_attr( get_the_author_meta( $profile, $author_id ) ) . '" target="_blank">' . newspack_get_social_icon_svg( 'x', $size, 'x' ) . '</a></li>';
} else {
$links .= '<li class="' . esc_attr( $profile ) . '"><a href="' . esc_url( get_the_author_meta( $profile, $author_id ) ) . '" target="_blank">' . newspack_get_social_icon_svg( $profile, $size, $profile ) . '</a></li>';
}
Expand Down
8 changes: 4 additions & 4 deletions newspack-theme/sass/forms/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ input[type="submit"],
.wp-block-search__button {
@include utilities.button-transition;

background: var(--newspack-theme-color-secondary);
background-color: var(--newspack-theme-color-secondary);
border: none;
border-radius: 5px;
box-sizing: border-box;
Expand All @@ -26,7 +26,7 @@ input[type="submit"],

&:hover,
&:hover:visited {
background: var(--newspack-theme-color-bg-button-hover);
background-color: var(--newspack-theme-color-bg-button-hover);
color: var(--newspack-theme-color-bg-body);
cursor: pointer;
}
Expand All @@ -37,15 +37,15 @@ input[type="submit"],
}

&:focus {
background: var(--newspack-theme-color-bg-button-hover);
background-color: var(--newspack-theme-color-bg-button-hover);
color: var(--newspack-theme-color-bg-body);
outline: thin dotted;
outline-offset: -4px;
}

&[disabled],
&[disabled]:hover {
background: var(--newspack-ui-color-neutral-30, #ddd);
background-color: var(--newspack-ui-color-neutral-30, #ddd);
color: var(--newspack-ui-color-neutral-0, #fff);
cursor: default;
}
Expand Down

0 comments on commit 55de554

Please sign in to comment.