@@ -111,28 +111,19 @@ export const makeChipStyleByColor = (theme, color) => ({
111111 } ,
112112 '&.ghost' : {
113113 borderWidth : '1px' ,
114- borderStyle : 'dashed' ,
115- '&:not($disabled)' : {
114+ color : theme . palette [ color ] . main ,
115+ borderColor : alpha ( theme . palette [ color ] . main , 0 ) ,
116+ backgroundColor : alpha (
117+ theme . palette [ color ] . main ,
118+ theme . palette . action . ghostOpacity
119+ ) ,
120+ '& $icon, & $deleteIcon' : {
116121 color : theme . palette [ color ] . main ,
117- borderColor : alpha (
118- theme . palette [ color ] . main ,
119- theme . palette . border . ghostOpacity
120- ) ,
121- backgroundColor : alpha (
122- theme . palette [ color ] . main ,
123- theme . palette . action . ghostOpacity
124- ) ,
125- '& $icon, & $deleteIcon' : {
126- color : theme . palette [ color ] . main ,
127- fill : theme . palette [ color ] . main
128- }
122+ fill : theme . palette [ color ] . main
129123 } ,
130124 '&$clickable, &$deletable' : {
131125 '&:hover, &:focus' : {
132- borderColor : alpha (
133- theme . palette [ color ] . main ,
134- theme . palette . border . ghostOpacity
135- ) ,
126+ borderColor : alpha ( theme . palette [ color ] . main , 0 ) ,
136127 backgroundColor : alpha (
137128 theme . palette [ color ] . main ,
138129 theme . palette . action . hoverGhostOpacity
0 commit comments