From 55dc862158d337e26222e18e726c8a3401d215dc Mon Sep 17 00:00:00 2001 From: flexsurfer Date: Mon, 27 May 2024 20:09:00 +0200 Subject: [PATCH] No opacity on the text on inactive buttons on the dark-themed screens (#20196) --- src/quo/components/buttons/button/view.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/quo/components/buttons/button/view.cljs b/src/quo/components/buttons/button/view.cljs index 862e6bf8b7..6144df885f 100644 --- a/src/quo/components/buttons/button/view.cljs +++ b/src/quo/components/buttons/button/view.cljs @@ -117,7 +117,8 @@ {:size (when (#{56 24} size) :paragraph-2) :weight :medium :number-of-lines 1 - :style {:color label-color}} + :style {:color label-color + :opacity (when (and disabled? (= theme :dark)) 0.3)}} children] (vector? children)