Violet color for change mail inputs

This commit is contained in:
SleepWalker 2016-05-02 20:36:05 +03:00
parent a75110fb2e
commit d905d08ced
3 changed files with 5 additions and 1 deletions

View File

@ -162,6 +162,7 @@ export default class ChangeEmail extends Component {
<Input {...form.bindField('initializationCode')} <Input {...form.bindField('initializationCode')}
required required
skin="light" skin="light"
color="violet"
placeholder={messages.codePlaceholder} placeholder={messages.codePlaceholder}
/> />
</div> </div>
@ -176,6 +177,7 @@ export default class ChangeEmail extends Component {
<Input {...form.bindField('newEmail')} <Input {...form.bindField('newEmail')}
required required
skin="light" skin="light"
color="violet"
placeholder={messages.newEmailPlaceholder} placeholder={messages.newEmailPlaceholder}
/> />
</div> </div>
@ -196,6 +198,7 @@ export default class ChangeEmail extends Component {
<Input {...form.bindField('finalizationCode')} <Input {...form.bindField('finalizationCode')}
required required
skin="light" skin="light"
color="violet"
placeholder={messages.codePlaceholder} placeholder={messages.codePlaceholder}
/> />
</div> </div>

View File

@ -27,7 +27,7 @@ export default class Input extends FormInputComponent {
error: PropTypes.string, error: PropTypes.string,
icon: PropTypes.string, icon: PropTypes.string,
skin: PropTypes.oneOf(['dark', 'light']), skin: PropTypes.oneOf(['dark', 'light']),
color: PropTypes.oneOf(['green', 'blue', 'red', 'lightViolet', 'darkBlue']) color: PropTypes.oneOf(['green', 'blue', 'red', 'lightViolet', 'darkBlue', 'violet'])
}; };
render() { render() {

View File

@ -147,6 +147,7 @@
@include input-theme('red', $red); @include input-theme('red', $red);
@include input-theme('darkBlue', $dark_blue); @include input-theme('darkBlue', $dark_blue);
@include input-theme('lightViolet', $light_violet); @include input-theme('lightViolet', $light_violet);
@include input-theme('violet', $violet);
/** /**