From f1e1c4a14370d1207814a9272777df02a2094048 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Sun, 28 Oct 2018 10:39:40 +0100 Subject: [PATCH] Color tabs for text editor --- embark-ui/src/components/SearchBar.js | 2 +- embark-ui/src/components/TextEditor.js | 16 +++++++++------- embark-ui/src/index.css | 6 +++--- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/embark-ui/src/components/SearchBar.js b/embark-ui/src/components/SearchBar.js index 6cb540ee..9167ef2a 100644 --- a/embark-ui/src/components/SearchBar.js +++ b/embark-ui/src/components/SearchBar.js @@ -44,7 +44,7 @@ class SearchBar extends React.Component { render() { return ( -
+ {!this.props.loading &&
diff --git a/embark-ui/src/components/TextEditor.js b/embark-ui/src/components/TextEditor.js index 9dc01e22..1674906a 100644 --- a/embark-ui/src/components/TextEditor.js +++ b/embark-ui/src/components/TextEditor.js @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; import FontAwesomeIcon from 'react-fontawesome'; import classNames from 'classnames'; -import {DARK_THEME} from '../constants'; +import {DARK_THEME, LIGHT_THEME} from '../constants'; import './TextEditor.css'; const SUPPORTED_LANGUAGES = ['css', 'sol', 'html', 'json']; @@ -137,18 +137,20 @@ class TextEditor extends React.Component { renderTabs() { return ( -