Skip to content

Commit

Permalink
Try setting the form border color to not be transparent (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz authored Jan 6, 2025
1 parent 86eba3c commit c1c8d0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
&.wp-block-search__button-inside {
.wp-block-search__inside-wrapper {
padding: 0;
border-width: var(--wp--custom--form--border--width);
border-width: var(--wp--custom--form--search--border--width);
border-radius: var(--wp--custom--form--border--radius);
background-color: var(--wp--custom--form--search--color--background);

Expand All @@ -64,7 +64,7 @@
&.wp-block-search__button-only,
&.wp-block-search__button-outside {
.wp-block-search__input {
border-width: var(--wp--custom--form--border--width);
border-width: var(--wp--custom--form--search--border--width);
}

.wp-block-search__button {
Expand Down
7 changes: 5 additions & 2 deletions source/wp-content/themes/wporg-parent-2021/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,10 @@
"block": "calc(var(--wp--preset--spacing--10) * 0.8)"
},
"border": {
"color": "transparent",
"color": "var(--wp--preset--color--charcoal-5)",
"radius": "2px",
"style": "solid",
"width": "0"
"width": "1px"
},
"color": {
"label": "inherit",
Expand All @@ -286,6 +286,9 @@
"label": "var(--wp--preset--color--charcoal-4)",
"background": "var(--wp--preset--color--light-grey-2)",
"text": "var(--wp--preset--color--charcoal-1)"
},
"border": {
"width": "0"
}
}
},
Expand Down

0 comments on commit c1c8d0e

Please sign in to comment.