Skip to content

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

Fix input placeholders

dominik-zeglen0a47a3d1566c
diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.ts
index b626d98338..890e3a0dd8 100644
--- a/saleor/static/dashboard-next/theme.ts
+++ b/saleor/static/dashboard-next/theme.ts
@@ -172,6 +172,9 @@ export default (colors: IThemeColors): Theme =>
},
MuiOutlinedInput: {
input: {
+ "&::placeholder": {
+ opacity: [[0], "!important"] as any
+ },
color: colors.input.text,
padding: "20px 12px 8px 12px"
},
@@ -201,6 +204,9 @@ export default (colors: IThemeColors): Theme =>
borderColor: [[colors.primary], "!important"] as any
},
"& input": {
+ "&::placeholder": {
+ opacity: [[1], "!important"] as any
+ },
color: colors.input.textHover,
zIndex: 2
}