Fixed linter warning in colorpicker render. Fixed button-secondary hover contrast issue

This commit is contained in:
crockwave 2020-08-03 14:53:12 -05:00
parent d83ac121a8
commit c8ba54c7a1
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ export class ColorWithPicker extends ImmutablePureComponent {
return ( return (
<div className='label_input__color'> <div className='label_input__color'>
<label>{label}</label> <label>{label}</label>
<div id={buttonId} className='color-swatch' style={{ background: value }} value={value} onClick={this.onToggle} /> <div id={buttonId} className='color-swatch' role='presentation' style={{ background: value }} value={value} onClick={this.onToggle} />
<Overlay show={active} placement={placement} target={this}> <Overlay show={active} placement={placement} target={this}>
<ColorPicker value={value} onChange={onChange} onClose={this.onHidePicker} /> <ColorPicker value={value} onChange={onChange} onClose={this.onHidePicker} />
</Overlay> </Overlay>

View file

@ -102,7 +102,7 @@ button {
&:focus, &:focus,
&:hover { &:hover {
border-color: var(--brand-color); border-color: var(--brand-color);
color: var(--primary-text-color); color: var(--background-color);
} }
&:disabled { &:disabled {