From d849a84f0215d241b4dc1ce89a35e108b25ef3f1 Mon Sep 17 00:00:00 2001 From: Caio Cabral Date: Fri, 15 Nov 2024 18:25:11 -0500 Subject: [PATCH] fix: disabled labels --- Client/src/Components/Inputs/Checkbox/index.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Client/src/Components/Inputs/Checkbox/index.jsx b/Client/src/Components/Inputs/Checkbox/index.jsx index 7d9a31bd3..a0348dedf 100644 --- a/Client/src/Components/Inputs/Checkbox/index.jsx +++ b/Client/src/Components/Inputs/Checkbox/index.jsx @@ -37,6 +37,7 @@ const Checkbox = ({ onChange, isDisabled, }) => { + /* TODO move sizes to theme */ const sizes = { small: "14px", medium: "16px", large: "18px" }; const theme = useTheme(); @@ -78,6 +79,10 @@ const Checkbox = ({ fontSize: 13, color: theme.palette.text.tertiary, }, + ".MuiFormControlLabel-label.Mui-disabled": { + color: theme.palette.text.tertiary, + opacity: 0.25, + }, }} /> );