Skip to content
Snippets Groups Projects
Commit 6a1610ce authored by Jure's avatar Jure
Browse files

fix: change how primary color is passed to Icon

parent 91d49e71
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ import { useMutation, gql } from '@apollo/client' ...@@ -7,6 +7,7 @@ import { useMutation, gql } from '@apollo/client'
import UploadingFile from './UploadingFile' import UploadingFile from './UploadingFile'
import { Dropzone } from './Dropzone' import { Dropzone } from './Dropzone'
import { Icon } from './Icon' import { Icon } from './Icon'
import theme from '../../theme'
const Root = styled.div` const Root = styled.div`
border: 1px dashed ${th('colorBorder')}; border: 1px dashed ${th('colorBorder')};
...@@ -71,7 +72,7 @@ const DropzoneAndList = ({ ...@@ -71,7 +72,7 @@ const DropzoneAndList = ({
<input {...getInputProps()} /> <input {...getInputProps()} />
<Message> <Message>
Drag and drop your files here Drag and drop your files here
<Icon color={th('colorPrimary')} inline> <Icon color={theme.colorPrimary} inline>
file-plus file-plus
</Icon> </Icon>
</Message> </Message>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment