From d429a03c4181ea3d722191703c58e9d50d5500ec Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Thu, 15 Aug 2024 17:20:44 +0200 Subject: [PATCH] :wheelchair: - style: fix contrast issue --- src/components/button/button.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/button/button.scss b/src/components/button/button.scss index 7cc5dd2..4214a5b 100644 --- a/src/components/button/button.scss +++ b/src/components/button/button.scss @@ -43,16 +43,17 @@ white-space: nowrap; width: var(--mykn-button-width); - &:disabled, - &--disabled, - &--muted { + &#{&}:disabled, + &#{&}--disabled, + &#{&}--muted { --mykn-button-offset: 0 !important; - opacity: 0.4; + --mykn-button-color-text: var(--typography-color-muted); } &:disabled, &--disabled { pointer-events: none; + opacity: 0.4; } &--align-start {