From 8a47069cee4bb85e7e1dc291e8d2e7aaf6fddf1d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 21 Feb 2024 12:33:43 +0200 Subject: [PATCH] improve default button styles --- src/components/button.style.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/button.style.js b/src/components/button.style.js index 3c090584..1404061c 100644 --- a/src/components/button.style.js +++ b/src/components/button.style.js @@ -79,14 +79,14 @@ export default { { state: ['toggled'], directives: { - background: '--accent,-24.2', + background: '--inheritedBackground,-24.2', shadow: [buttonOuterShadow, ...inputInsetFakeBorders] } }, { state: ['toggled', 'hover'], directives: { - background: '--accent,-24.2', + background: '--inheritedBackground,-24.2', shadow: [hoverGlow, ...inputInsetFakeBorders] } },