From 0ee58aa2a2215725a7be6b0ef66eb29da19b0066 Mon Sep 17 00:00:00 2001
From: Klaas Kliffen <kliffen@astron.nl>
Date: Thu, 14 Mar 2024 09:42:29 +0100
Subject: [PATCH] fix: explicitly set text color

---
 src/components/FileInput.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/components/FileInput.tsx b/src/components/FileInput.tsx
index 5c0f9f3..e2878e5 100644
--- a/src/components/FileInput.tsx
+++ b/src/components/FileInput.tsx
@@ -7,7 +7,9 @@ import {
   InputHTMLAttributes,
   useId,
 } from "react";
+import { clsx } from "clsx";
 import Typography from "src/components/Typography";
+import { textColor } from "./utils/classes.ts";
 
 interface Props extends InputHTMLAttributes<HTMLInputElement> {
   label: string;
@@ -52,7 +54,7 @@ const FileInput = (props: Props) => {
         <Typography text={label} variant="paragraph" />
       </label>
       <input
-        className="mt-3"
+        className={clsx("mt-3", textColor("body"))}
         id={inputId}
         ref={inputRef}
         type="file"
-- 
GitLab