From c094a5afb5e0bf1453ff18df3fc1ef89e1ab39de Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 4 Feb 2025 10:10:57 +0530 Subject: [PATCH] disabled bg --- web/packages/base/components/utils/theme.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts index 7c8017f22c..c51303f2cf 100644 --- a/web/packages/base/components/utils/theme.ts +++ b/web/packages/base/components/utils/theme.ts @@ -333,8 +333,10 @@ const getColorSchemes = (colors: ReturnType) => ({ FilledInput: { bg: colors.light.fill.faint, hoverBg: colors.light.fill.faintHover, - // We don't use this currently. - // disabledBg: colors.light.fill.fainter, + // While we don't specifically have disabled inputs, TextInputs + // do get disabled when the form is submitting, and this value + // comes into play then. + disabledBg: colors.light.fill.fainter, }, }, }, @@ -396,7 +398,7 @@ const getColorSchemes = (colors: ReturnType) => ({ FilledInput: { bg: colors.dark.fill.faint, hoverBg: colors.dark.fill.faintHover, - // disabledBg: colors.dark.fill.faint, + disabledBg: colors.dark.fill.fainter, }, }, },