From cd1773912a100a3c4bd159930f8303ec74a3463c Mon Sep 17 00:00:00 2001 From: Sukaato Date: Wed, 18 Sep 2024 19:24:21 +0200 Subject: [PATCH] fix(core): apply correct color on disabled button the --color was not used, force color with the property fixes: #35 --- packages/core/src/components/button/button.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/components/button/button.scss b/packages/core/src/components/button/button.scss index 21f57c9..ba495f6 100644 --- a/packages/core/src/components/button/button.scss +++ b/packages/core/src/components/button/button.scss @@ -225,9 +225,9 @@ :host([disabled]) { cursor: not-allowed; - > button:disabled { + button { --background: #{get-color("neutral.base", 0.2)}; - --color: #{get-color("base.content", 0.2)}; + color: #{get-color("base.content", 0.2)}; pointer-events: none; }