diff --git a/src/page-modules/contact/components/input/file.tsx b/src/page-modules/contact/components/input/file.tsx index b09362a0..269a7d04 100644 --- a/src/page-modules/contact/components/input/file.tsx +++ b/src/page-modules/contact/components/input/file.tsx @@ -4,6 +4,7 @@ import { Typo } from '@atb/components/typography'; import { Button } from '@atb/components/button'; import { MonoIcon } from '@atb/components/icon'; import { PageText, useTranslation } from '@atb/translations'; +import { useTheme } from '@atb/modules/theme'; export type FileInputProps = { label: string; @@ -15,6 +16,7 @@ const MAX_ALLOWED_FILE_SIZE = 10 * 1024 * 1024; // 10MB export function FileInput({ onChange, label, name }: FileInputProps) { const { t } = useTranslation(); const id = useId(); + const { static: staticColors } = useTheme(); const [files, setFiles] = useState([]); const handleFileChange = (event: ChangeEvent) => { @@ -78,8 +80,18 @@ export function FileInput({ onChange, label, name }: FileInputProps) { accept="image/*,.pdf,.doc,docx,.txt" /> -