Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix black disabled switch

dominik-zeglene78e83d7cbcd
diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.ts
index 5c110abd93..e0ce68c0c4 100644
--- a/saleor/static/dashboard-next/theme.ts
+++ b/saleor/static/dashboard-next/theme.ts
@@ -87,6 +87,13 @@ export default createMuiTheme({
checked: {
transform: "translateX(24px)"
},
+ disabled: {
+ "&$switchBase": {
+ "& + $bar": {
+ backgroundColor: "#eeeeee"
+ }
+ }
+ },
icon: {
backgroundColor: "#ffffff",
boxShadow: "none",