Refactor base styles
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
// @flow
|
||||
import React, { Component } from 'react';
|
||||
import { inject } from 'mobx-react';
|
||||
import { injectGlobal } from 'styled-components';
|
||||
import { color } from 'shared/styles/constants';
|
||||
import invariant from 'invariant';
|
||||
import _ from 'lodash';
|
||||
import Dropzone from 'react-dropzone';
|
||||
@ -20,6 +22,17 @@ type Props = {
|
||||
history: Object,
|
||||
};
|
||||
|
||||
injectGlobal`
|
||||
.activeDropZone {
|
||||
background: ${color.slateDark};
|
||||
svg { fill: ${color.white}; }
|
||||
}
|
||||
|
||||
.activeDropZone a {
|
||||
color: ${color.white} !important;
|
||||
}
|
||||
`;
|
||||
|
||||
class DropToImport extends Component {
|
||||
state: {
|
||||
isImporting: boolean,
|
||||
|
Reference in New Issue
Block a user