Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

disabled bg

Manav Rathic094a5afb5e0
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<typeof getColors>) => ({
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<typeof getColors>) => ({
FilledInput: {
bg: colors.dark.fill.faint,
hoverBg: colors.dark.fill.faintHover,
- // disabledBg: colors.dark.fill.faint,
+ disabledBg: colors.dark.fill.fainter,
},
},
},