Skip to content
Snippets Groups Projects
Commit 0ee58aa2 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

fix: explicitly set text color

parent c5256332
No related branches found
No related tags found
1 merge request!38fix: explicitly set text color
Pipeline #75549 passed
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment