scope button styles to "outline" variation
This commit is contained in:
parent
8ba1d7c8ac
commit
76d94516e8
@ -16,14 +16,14 @@
|
|||||||
<!-- /wp:outermost/icon-block -->
|
<!-- /wp:outermost/icon-block -->
|
||||||
|
|
||||||
<!-- wp:buttons -->
|
<!-- wp:buttons -->
|
||||||
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"light-green"} -->
|
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"light-green","className":"is-style-outline"} -->
|
||||||
<div class="wp-block-button"><a
|
<div class="wp-block-button is-style-outline"><a
|
||||||
class="wp-block-button__link has-light-green-background-color has-background wp-element-button">🖂
|
class="wp-block-button__link has-light-green-background-color has-background wp-element-button">🖂
|
||||||
info@lexscotland.org</a></div>
|
info@lexscotland.org</a></div>
|
||||||
<!-- /wp:button -->
|
<!-- /wp:button -->
|
||||||
|
|
||||||
<!-- wp:button {"backgroundColor":"light-purple"} -->
|
<!-- wp:button {"backgroundColor":"light-purple","className":"is-style-outline"} -->
|
||||||
<div class="wp-block-button"><a
|
<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
|
class="wp-block-button__link has-light-purple-background-color has-background wp-element-button">We're on
|
||||||
LinkedIn 🡭</a></div>
|
LinkedIn 🡭</a></div>
|
||||||
<!-- /wp:button -->
|
<!-- /wp:button -->
|
||||||
|
@ -295,6 +295,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core/button": {
|
"core/button": {
|
||||||
|
"variations": {
|
||||||
|
"outline": {
|
||||||
"color": {
|
"color": {
|
||||||
"background": "#E8BFE2",
|
"background": "#E8BFE2",
|
||||||
"text": "var(--wp--preset--color--contrast)"
|
"text": "var(--wp--preset--color--contrast)"
|
||||||
@ -319,6 +321,8 @@
|
|||||||
"fontWeight": "700",
|
"fontWeight": "700",
|
||||||
"letterSpacing": "0.64px"
|
"letterSpacing": "0.64px"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"core/separator": {
|
"core/separator": {
|
||||||
"border": {
|
"border": {
|
||||||
|
Loading…
Reference in New Issue
Block a user