fix(ui): use correct background color for disabled react-select inputs

This commit is contained in:
Łukasz Mierzwa
2020-05-09 17:36:02 +01:00
committed by Łukasz Mierzwa
parent ab41c3a7aa
commit e575ec555f
2 changed files with 4 additions and 4 deletions

View File

@@ -218,7 +218,7 @@ exports[`<WrappedCustomMultiSelect /> matches snapshot with isDisabled=true 1`]
"
<div class=\\"react-select--is-disabled css-14jk2my-container\\">
<div class=\\"react-select__control react-select__control--is-disabled css-r5n82u-control\\">
<div class=\\"react-select__value-container react-select__value-container--has-value css-1ne8613-ValueContainer\\">
<div class=\\"react-select__value-container react-select__value-container--has-value css-8r64vq-ValueContainer\\">
<div class=\\"react-select__single-value react-select__single-value--is-disabled css-1wh03ml-singleValue\\">
foo
</div>
@@ -243,7 +243,7 @@ exports[`<WrappedCustomMultiSelect /> matches snapshot with isDisabled=true 1`]
</div>
</div>
</div>
<div class=\\"react-select__indicators css-vcwr3k-IndicatorsContainer\\">
<div class=\\"react-select__indicators css-15bdmde-IndicatorsContainer\\">
<span class=\\"react-select__indicator-separator css-109onse-indicatorSeparator\\">
</span>
<div aria-hidden=\\"true\\"

View File

@@ -9,7 +9,7 @@ const ReactSelectColors = {
menuBackground: "#fff",
optionHoverBackground: "#455a64",
valueContainerBackground: "#fff",
disabledValueContainerBackground: "#fff",
disabledValueContainerBackground: "#ecf0f1",
},
Dark: {
color: "#fff",
@@ -21,7 +21,7 @@ const ReactSelectColors = {
menuBackground: "#2b2b2b",
optionHoverBackground: "#455a64",
valueContainerBackground: "#444",
disabledValueContainerBackground: "#fff",
disabledValueContainerBackground: "#303030",
},
};