{title && {title}
}
-
+
{children}
@@ -68,6 +68,7 @@ const Close = styled.a`
top: 3rem;
right: 3rem;
opacity: .5;
+ color: ${color.text};
&:hover {
opacity: 1;
diff --git a/frontend/scenes/Document/components/Menu.js b/frontend/scenes/Document/components/Menu.js
index ae315d82c..9bae6f0b8 100644
--- a/frontend/scenes/Document/components/Menu.js
+++ b/frontend/scenes/Document/components/Menu.js
@@ -5,11 +5,8 @@ import get from 'lodash/get';
import { withRouter } from 'react-router-dom';
import { observer } from 'mobx-react';
import Document from 'models/Document';
-import {
- DropdownMenu,
- DropdownMenuItem,
- MoreIcon,
-} from 'components/DropdownMenu';
+import Icon from 'components/Icon';
+import { DropdownMenu, DropdownMenuItem } from 'components/DropdownMenu';
type Props = {
history: Object,
@@ -65,7 +62,7 @@ type Props = {
collection.documents.length > 1;
return (
- }>
+ }>
{collection &&
diff --git a/frontend/scenes/Search/components/SearchField/SearchField.js b/frontend/scenes/Search/components/SearchField/SearchField.js
index 785a3a49f..6b2f6577d 100644
--- a/frontend/scenes/Search/components/SearchField/SearchField.js
+++ b/frontend/scenes/Search/components/SearchField/SearchField.js
@@ -1,8 +1,9 @@
// @flow
import React, { Component } from 'react';
+import Icon from 'components/Icon';
import Flex from 'components/Flex';
+import { color } from 'styles/constants';
import styled from 'styled-components';
-import searchImg from 'assets/icons/search.svg';
const Field = styled.input`
width: 100%;
@@ -12,17 +13,10 @@ const Field = styled.input`
outline: none;
border: 0;
- ::-webkit-input-placeholder { color: #ccc; }
- :-moz-placeholder { color: #ccc; }
- ::-moz-placeholder { color: #ccc; }
- :-ms-input-placeholder { color: #ccc; }
-`;
-
-const Icon = styled.img`
- width: 38px;
- margin-bottom: -5px;
- margin-right: 10px;
- opacity: 0.15;
+ ::-webkit-input-placeholder { color: ${color.slate}; }
+ :-moz-placeholder { color: ${color.slate}; }
+ ::-moz-placeholder { color: ${color.slate}; }
+ :-ms-input-placeholder { color: ${color.slate}; }
`;
class SearchField extends Component {
@@ -45,13 +39,18 @@ class SearchField extends Component {
render() {
return (
-
-
+
+