🎨(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:
committed by
NathanVss
parent
fe0c2b367f
commit
e002cfde0f
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user