From 50dfac4fec4fec69f66d2747d0292d7485d7b31f Mon Sep 17 00:00:00 2001 From: Justin Lettau Date: Tue, 16 Apr 2024 04:47:21 -0700 Subject: [PATCH] fix: consistent disabled form inputs (#2981) --- src/components/styled/select.css | 2 +- src/components/styled/textarea.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/styled/select.css b/src/components/styled/select.css index 2d21a655633..d6fd680aca4 100644 --- a/src/components/styled/select.css +++ b/src/components/styled/select.css @@ -67,7 +67,7 @@ &-disabled, &:disabled, &[disabled] { - @apply border-base-200 bg-base-200 placeholder-base-content text-base-content cursor-not-allowed text-opacity-20 placeholder-opacity-20; + @apply border-base-200 bg-base-200 placeholder-base-content text-base-content/40 cursor-not-allowed placeholder-opacity-20; } &-multiple, &[multiple], diff --git a/src/components/styled/textarea.css b/src/components/styled/textarea.css index 7cb3804fb2b..88900e8b212 100644 --- a/src/components/styled/textarea.css +++ b/src/components/styled/textarea.css @@ -59,6 +59,6 @@ &-disabled, &:disabled, &[disabled] { - @apply border-base-200 bg-base-200 placeholder-base-content cursor-not-allowed text-opacity-20 placeholder-opacity-20; + @apply border-base-200 bg-base-200 placeholder-base-content text-base-content/40 cursor-not-allowed placeholder-opacity-20; } }