mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Add styles to fileinput
This commit is contained in:
@@ -112,6 +112,19 @@ const StyledPasswordInput = styled(MantinePasswordInput)<PasswordInputProps>`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledFileInput = styled(MantineFileInput)<FileInputProps>`
|
const StyledFileInput = styled(MantineFileInput)<FileInputProps>`
|
||||||
|
& .mantine-FileInput-input {
|
||||||
|
color: var(--input-fg);
|
||||||
|
background: var(--input-bg);
|
||||||
|
|
||||||
|
&::placeholder {
|
||||||
|
color: var(--input-placeholder-fg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& .mantine-FileInput-icon {
|
||||||
|
color: var(--input-placeholder-fg);
|
||||||
|
}
|
||||||
|
|
||||||
& .mantine-FileInput-required {
|
& .mantine-FileInput-required {
|
||||||
color: var(--secondary-color);
|
color: var(--secondary-color);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user