Skip to content

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

Refactor theming

dominik-zegleneee0786425f0
diff --git a/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx b/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx
index 5188952ba1..0a8f968c24 100644
--- a/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx
+++ b/saleor/static/dashboard-next/components/LoginCard/LoginCard.tsx
@@ -25,13 +25,6 @@ export interface LoginCardProps {
}
const decorate = withStyles(theme => ({
- "@global": {
- input: {
- "&:-webkit-autofill": {
- boxShadow: "inset 0 0 0px 9999px #EFF8F2"
- }
- }
- },
card: {
padding: `${theme.spacing.unit * 10.5}px ${theme.spacing.unit * 17}px`,
width: "100%"
diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.ts
index adc9c78d7f..6595d50597 100644
--- a/saleor/static/dashboard-next/theme.ts
+++ b/saleor/static/dashboard-next/theme.ts
@@ -31,6 +31,11 @@ export default createMuiTheme({
}
},
MuiInput: {
+ input: {
+ "&:-webkit-autofill": {
+ boxShadow: "inset 0 0 0px 9999px #EFF8F2"
+ }
+ },
root: {
color: "#616161",
fontSize: "0.875rem"