فهرست منبع

Fix disabled style for Dropdown

Make it consistent with Text Inputs
Sergiu Miclea 8 سال پیش
والد
کامیت
c57b789b5e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/components/atoms/DropdownButton/DropdownButton.jsx

+ 2 - 2
src/components/atoms/DropdownButton/DropdownButton.jsx

@@ -44,7 +44,7 @@ const Label = styled.div`
 
 const getBackgroundColor = props => {
   if (props.disabled) {
-    return Palette.grayscale[7]
+    return Palette.grayscale[0]
   }
 
   if (props.primary) {
@@ -75,7 +75,7 @@ const getWidth = props => {
 }
 const borderColor = props => {
   if (props.disabled) {
-    return Palette.grayscale[7]
+    return Palette.grayscale[0]
   }
   if (props.primary) {
     return Palette.primary