@monolith-forensics/monolith-ui 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button/Button.js +12 -4
- package/package.json +1 -1
package/dist/Button/Button.js
CHANGED
|
@@ -210,15 +210,23 @@ const StyledButton = styled.button `
|
|
|
210
210
|
case "filled":
|
|
211
211
|
return (resolvedColor || theme.palette.background.secondary) + "90";
|
|
212
212
|
case "light":
|
|
213
|
-
return
|
|
213
|
+
return resolvedColor
|
|
214
|
+
? resolvedColor + "70"
|
|
215
|
+
: theme.palette.action.hover;
|
|
214
216
|
case "outlined":
|
|
215
|
-
return
|
|
217
|
+
return resolvedColor
|
|
218
|
+
? resolvedColor + "30"
|
|
219
|
+
: theme.palette.action.hover;
|
|
216
220
|
case "text":
|
|
217
221
|
return "transparent";
|
|
218
222
|
case "subtle":
|
|
219
|
-
return resolvedColor
|
|
223
|
+
return resolvedColor
|
|
224
|
+
? resolvedColor + "30"
|
|
225
|
+
: theme.palette.action.hover;
|
|
220
226
|
default:
|
|
221
|
-
return
|
|
227
|
+
return resolvedColor
|
|
228
|
+
? resolvedColor + "30"
|
|
229
|
+
: theme.palette.action.hover;
|
|
222
230
|
}
|
|
223
231
|
}};
|
|
224
232
|
|