From dbe18296d58c040d02de9d595ca08b4ecdad7f9c Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 13 May 2024 14:42:15 +0500 Subject: [PATCH] add hover effect to thin button --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.php b/functions.php index 7019e8c..ba904eb 100644 --- a/functions.php +++ b/functions.php @@ -22,6 +22,10 @@ function lex_scotland_block_styles() { color: var(--wp--preset--color--contrast); border-radius: 0; font-size: var(--wp--preset--font-size--small); + border: 1px solid var(--wp--preset--color--light-green); + } + .wp-block-button.is-style-thin .wp-element-button:hover { + border: 1px dashed; } ' ) );