From c8e4131ac34b340ce560b5ff881167f97e947311 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 13 May 2024 14:59:25 +0500 Subject: [PATCH] add hover effect to outline button style --- theme.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/theme.json b/theme.json index 2bd6219..176bee5 100644 --- a/theme.json +++ b/theme.json @@ -294,7 +294,11 @@ "fontWeight": "700" } }, + "core/buttons": { + "css": "& .wp-block-button__link { transition: all 0.25s ease-in-out; }\n& .wp-block-button.is-style-outline .wp-block-button__link:hover { box-shadow: rgb(51, 51, 51) -4px 4px 0px 1px; }" + }, "core/button": { + "css": "", "variations": { "fill": { "color": {