scope button styles to "outline" variation

This commit is contained in:
Aadil Ayub 2024-05-11 22:02:22 +05:00
parent 8ba1d7c8ac
commit 76d94516e8
2 changed files with 30 additions and 26 deletions

View File

@ -16,14 +16,14 @@
<!-- /wp:outermost/icon-block -->
<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"light-green"} -->
<div class="wp-block-button"><a
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"light-green","className":"is-style-outline"} -->
<div class="wp-block-button is-style-outline"><a
class="wp-block-button__link has-light-green-background-color has-background wp-element-button">🖂
info@lexscotland.org</a></div>
<!-- /wp:button -->
<!-- wp:button {"backgroundColor":"light-purple"} -->
<div class="wp-block-button"><a
<!-- wp:button {"backgroundColor":"light-purple","className":"is-style-outline"} -->
<div class="wp-block-button is-style-outline"><a
class="wp-block-button__link has-light-purple-background-color has-background wp-element-button">We're on
LinkedIn 🡭</a></div>
<!-- /wp:button -->

View File

@ -295,6 +295,8 @@
}
},
"core/button": {
"variations": {
"outline": {
"color": {
"background": "#E8BFE2",
"text": "var(--wp--preset--color--contrast)"
@ -319,6 +321,8 @@
"fontWeight": "700",
"letterSpacing": "0.64px"
}
}
}
},
"core/separator": {
"border": {