Refactor base styles

This commit is contained in:
Tom Moor
2017-10-29 15:33:00 -07:00
parent 84c82c31a9
commit 87e8b6d207
3 changed files with 20 additions and 13 deletions

View File

@ -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,