diff --git a/src/components/paint-editor.jsx b/src/components/paint-editor.jsx
index 8558a140..31dfab59 100644
--- a/src/components/paint-editor.jsx
+++ b/src/components/paint-editor.jsx
@@ -6,6 +6,7 @@ import EraserMode from '../containers/eraser-mode.jsx';
import PropTypes from 'prop-types';
import LineMode from '../containers/line-mode.jsx';
import FillColorIndicatorComponent from '../containers/fill-color-indicator.jsx';
+import StrokeColorIndicatorComponent from '../containers/stroke-color-indicator.jsx';
import {defineMessages, injectIntl, intlShape} from 'react-intl';
import BufferedInputHOC from './forms/buffered-input-hoc.jsx';
@@ -20,16 +21,6 @@ const messages = defineMessages({
id: 'paint.paintEditor.costume',
description: 'Label for the name of a sound',
defaultMessage: 'Costume'
- },
- fill: {
- id: 'paint.paintEditor.fill',
- description: 'Label for the color picker for the fill color',
- defaultMessage: 'Fill'
- },
- outline: {
- id: 'paint.paintEditor.outline',
- description: 'Label for the color picker for the outline color',
- defaultMessage: 'Outline'
}
});
@@ -107,18 +98,10 @@ class PaintEditorComponent extends React.Component {
{/* Second Row */}
- {/* To be fill */}
+ {/* fill */}
- {/* To be stroke */}
-
-
-
+ {/* stroke */}
+
Mode tools
diff --git a/src/components/stroke-color-indicator.jsx b/src/components/stroke-color-indicator.jsx
new file mode 100644
index 00000000..91478c43
--- /dev/null
+++ b/src/components/stroke-color-indicator.jsx
@@ -0,0 +1,38 @@
+import React from 'react';
+import PropTypes from 'prop-types';
+
+import {defineMessages, injectIntl, intlShape} from 'react-intl';
+import BufferedInputHOC from './forms/buffered-input-hoc.jsx';
+import Label from './forms/label.jsx';
+import Input from './forms/input.jsx';
+
+import styles from './paint-editor.css';
+
+const BufferedInput = BufferedInputHOC(Input);
+const messages = defineMessages({
+ stroke: {
+ id: 'paint.paintEditor.stroke',
+ description: 'Label for the color picker for the outline color',
+ defaultMessage: 'Outline'
+ }
+});
+const StrokeColorIndicatorComponent = props => (
+