Skip to content

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

Show placeholders by default

dominik-zeglen2bc9ee6e399b
diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.ts
index bc15905aa6..69da6accfe 100644
--- a/saleor/static/dashboard-next/theme.ts
+++ b/saleor/static/dashboard-next/theme.ts
@@ -96,7 +96,7 @@ export default (colors: IThemeColors): Theme =>
boxShadow: `inset 0 0 0px 9999px ${colors.autofill}`
},
"&::placeholder": {
- opacity: "initial !important" as "initial"
+ opacity: "1 !important" as any
}
},
underline: {
@@ -108,7 +108,8 @@ export default (colors: IThemeColors): Theme =>
MuiInputBase: {
input: {
"&::placeholder": {
- color: colors.font.gray
+ color: colors.font.gray,
+ opacity: "1 !important" as any
}
}
},