From ec59d27c1da9454c73d657a652b08c3f65cbbbc4 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 13 Nov 2022 01:58:56 -0800 Subject: [PATCH] Fix password input styles --- src/renderer/components/input/index.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/renderer/components/input/index.tsx b/src/renderer/components/input/index.tsx index 5bacca11f..1f46ba79b 100644 --- a/src/renderer/components/input/index.tsx +++ b/src/renderer/components/input/index.tsx @@ -98,6 +98,19 @@ const StyledNumberInput = styled(MantineNumberInput)` `; const StyledPasswordInput = styled(MantinePasswordInput)` + & .mantine-PasswordInput-input { + color: var(--input-fg); + background: var(--input-bg); + + &::placeholder { + color: var(--input-placeholder-fg); + } + } + + & .mantine-PasswordInput-icon { + color: var(--input-placeholder-fg); + } + & .mantine-PasswordInput-required { color: var(--secondary-color); }