From 0ff2b4aa61c3835541a7cac087f54f654076e855 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; }