mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Fix password input styles
This commit is contained in:
@@ -98,6 +98,19 @@ const StyledNumberInput = styled(MantineNumberInput)<NumberInputProps>`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledPasswordInput = styled(MantinePasswordInput)<PasswordInputProps>`
|
const StyledPasswordInput = styled(MantinePasswordInput)<PasswordInputProps>`
|
||||||
|
& .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 {
|
& .mantine-PasswordInput-required {
|
||||||
color: var(--secondary-color);
|
color: var(--secondary-color);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user