From 6a1610ce23116f76cb3dcbfdc6b81880bbd401c8 Mon Sep 17 00:00:00 2001 From: Jure Triglav <juretriglav@gmail.com> Date: Mon, 7 Sep 2020 02:15:12 +0200 Subject: [PATCH] fix: change how primary color is passed to Icon --- app/components/shared/FilesUpload.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/shared/FilesUpload.js b/app/components/shared/FilesUpload.js index 6fc7c38dbf..b4405cd9a7 100644 --- a/app/components/shared/FilesUpload.js +++ b/app/components/shared/FilesUpload.js @@ -7,6 +7,7 @@ import { useMutation, gql } from '@apollo/client' import UploadingFile from './UploadingFile' import { Dropzone } from './Dropzone' import { Icon } from './Icon' +import theme from '../../theme' const Root = styled.div` border: 1px dashed ${th('colorBorder')}; @@ -71,7 +72,7 @@ const DropzoneAndList = ({ <input {...getInputProps()} /> <Message> Drag and drop your files here - <Icon color={th('colorPrimary')} inline> + <Icon color={theme.colorPrimary} inline> file-plus </Icon> </Message> -- GitLab