diff --git a/resources/scripts/components/elements/Input.tsx b/resources/scripts/components/elements/Input.tsx index c9283e055..89e6bb88e 100644 --- a/resources/scripts/components/elements/Input.tsx +++ b/resources/scripts/components/elements/Input.tsx @@ -62,7 +62,14 @@ const inputStyle = css` ${tw`opacity-75`}; } - ${props => props.isLight && light}; + ${props => + props.isLight + ? light + : css` + &:not(.ignoreReadOnly):read-only { + ${tw`border-neutral-800 bg-neutral-900`}; + } + `}; ${props => props.hasError && tw`text-red-100 border-red-400 hover:border-red-300`}; `;