From 637eaf667cfc8b9aa07fb3d67f82b62a77ffc0fd Mon Sep 17 00:00:00 2001 From: Zohar Manor-Abel Date: Fri, 29 May 2026 12:11:14 +0100 Subject: [PATCH] Fixed border issue on disabled state and added override for read-only --- src/themes/DiamondDSTheme.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/themes/DiamondDSTheme.ts b/src/themes/DiamondDSTheme.ts index cccac9d5..7e633b57 100644 --- a/src/themes/DiamondDSTheme.ts +++ b/src/themes/DiamondDSTheme.ts @@ -1088,7 +1088,15 @@ const DiamondDSTheme = extendTheme({ }, "&.Mui-disabled .MuiOutlinedInput-notchedOutline": { - borderColor: "var(--ds-border)", + borderColor: "var(--ds-border-subtle)", + }, + + "&:has(input[readonly]) .MuiOutlinedInput-notchedOutline": { + borderColor: "var(--ds-border-subtle)", + }, + + "&:has(input[readonly]):hover .MuiOutlinedInput-notchedOutline": { + borderColor: "var(--ds-border-subtle)", }, }; },