diff --git a/src/components/auth/SignIn.jsx b/src/components/auth/SignIn.jsx index 2c68b62..3bb1392 100644 --- a/src/components/auth/SignIn.jsx +++ b/src/components/auth/SignIn.jsx @@ -149,15 +149,15 @@ export default class SignIn extends Component { }> {/* TODO: E-mail i18n*/} - + {/* TODO: E-mail i18n*/} - + {/* TODO: Account password i18n*/} - + {/* TODO: Account password i18n*/} - + - @@ -194,7 +194,7 @@ export default class SignIn extends Component {
{/* TODO: E-mail i18n*/} - +
diff --git a/src/components/ui/Form.jsx b/src/components/ui/Form.jsx index da93a35..0f5c3e7 100644 --- a/src/components/ui/Form.jsx +++ b/src/components/ui/Form.jsx @@ -6,23 +6,24 @@ import icons from './icons.scss'; import styles from './form.scss'; export function Input(props) { + var { icon, color = 'green' } = props; + props = { type: 'text', ...props }; var baseClass = styles.formRow; - var icon; - if (props.icon) { + if (icon) { baseClass = styles.formIconRow; icon = ( -
+
); } return (
- + {icon}
); @@ -32,10 +33,10 @@ export class Checkbox extends Component { displayName = 'Checkbox'; render() { - var { label } = this.props; + var { label, color = 'green' } = this.props; return ( -
+