Skip to content

Commit

Permalink
fix website build
Browse files Browse the repository at this point in the history
  • Loading branch information
naueramant committed Feb 7, 2024
1 parent fb829e6 commit ec35f8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 153 deletions.
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fontsource/inter": "^5.0.12",
"@mui/material": "^5.15.6",
"@mui/material": "^5.14.12",
"@mui/styled-engine-sc": "^5.14.12",
"@opsway/ui": "workspace:*",
"@tanstack/react-router": "^1.14.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/ui/src/theme/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ declare module "@mui/material/styles/createPalette" {
}
}

declare module "@mui/material/Button" {
interface ButtonPropsVariantOverrides {
gradiant1: true;
}
}

const shadows = new Array(25).fill("none") as Shadows;

const theme = createTheme({
Expand Down Expand Up @@ -249,10 +255,4 @@ theme.components = {
},
};

declare module "@mui/material/Button" {
interface ButtonPropsVariantOverrides {
gradiant1: true;
}
}

export { theme as DarkTheme };
148 changes: 2 additions & 146 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec35f8e

Please sign in to comment.