-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do formatting and add checks. Refactor deploy pipeline (#129)
- Loading branch information
1 parent
fa49f79
commit 0c8666e
Showing
15 changed files
with
206 additions
and
181 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{} | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ module.exports = { | |
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
import CssBaseline from '@mui/material/CssBaseline'; | ||
import { ThemeProvider } from '@mui/material/styles'; | ||
import * as React from 'react'; | ||
import theme from './theme'; | ||
import CssBaseline from "@mui/material/CssBaseline"; | ||
import { ThemeProvider } from "@mui/material/styles"; | ||
import * as React from "react"; | ||
import theme from "./theme"; | ||
|
||
export default function ThemeRegistry({ children }: { children: React.ReactNode }) { | ||
export default function ThemeRegistry({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<ThemeProvider theme={theme}> | ||
{/* CssBaseline kickstart an elegant, consistent, and simple baseline to build upon. */} | ||
<CssBaseline /> | ||
{children} | ||
</ThemeProvider> | ||
<ThemeProvider theme={theme}> | ||
{/* CssBaseline kickstart an elegant, consistent, and simple baseline to build upon. */} | ||
<CssBaseline /> | ||
{children} | ||
</ThemeProvider> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
import { createTheme } from '@mui/material/styles'; | ||
import { createTheme } from "@mui/material/styles"; | ||
|
||
const theme = createTheme({ | ||
typography: { | ||
fontFamily: [ | ||
"Graphik-Regular", "Helvetica", "Arial" | ||
].join(','), | ||
fontFamily: ["Graphik-Regular", "Helvetica", "Arial"].join(","), | ||
button: { | ||
textTransform: "none" | ||
} | ||
textTransform: "none", | ||
}, | ||
}, | ||
palette: { | ||
mode: 'light', | ||
mode: "light", | ||
primary: { | ||
main: 'rgba(66, 61, 137, 1)', | ||
contrastText: "#fff" | ||
main: "rgba(66, 61, 137, 1)", | ||
contrastText: "#fff", | ||
}, | ||
secondary: { | ||
main: 'rgba(66, 61, 137, 1)', | ||
main: "rgba(66, 61, 137, 1)", | ||
}, | ||
} | ||
}, | ||
}); | ||
|
||
export default theme; |
Oops, something went wrong.