@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.
@@ -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 (resolvedColor || theme.palette.background.secondary) + "70";
213
+ return resolvedColor
214
+ ? resolvedColor + "70"
215
+ : theme.palette.action.hover;
214
216
  case "outlined":
215
- return (resolvedColor || theme.palette.action.hover) + "30";
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 ? resolvedColor + "30" : "transparent";
223
+ return resolvedColor
224
+ ? resolvedColor + "30"
225
+ : theme.palette.action.hover;
220
226
  default:
221
- return (resolvedColor || theme.palette.action.hover) + "30";
227
+ return resolvedColor
228
+ ? resolvedColor + "30"
229
+ : theme.palette.action.hover;
222
230
  }
223
231
  }};
224
232
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",