🎨(react) enhance FileUploader component styles

update FileUploader token and css files with new css variables
introduce with the new tokens architectures
This commit is contained in:
Nathan Panchout
2025-08-22 10:13:19 +02:00
committed by NathanVss
parent fe0c2b367f
commit e002cfde0f
4 changed files with 50 additions and 39 deletions

View File

@@ -38,13 +38,14 @@ export const FileUploaderMulti = ({
<div className="c__file-uploader__file__specs">
<span>{formatBytes(file.size)}</span>
<Button
color="tertiary-text"
color="tertiary"
variant="neutral"
size="nano"
aria-label={t(
"components.forms.file_uploader.delete_file_name",
{
name: file.name,
},
}
)}
onClick={() => {
setFiles(files.filter((f) => f !== file));