-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): use bold font in login, signup page
- Loading branch information
Showing
4 changed files
with
48 additions
and
16 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { Box, useTheme } from '@material-ui/core'; | ||
import React from 'react'; | ||
|
||
interface Props { | ||
children?: React.ReactNode; | ||
} | ||
|
||
const H1 = (props: Props) => { | ||
const theme = useTheme(); | ||
|
||
return ( | ||
<Box | ||
component='h1' | ||
color='text.primary' | ||
fontSize='2.4rem' | ||
fontWeight={theme.typography.fontWeightBold} | ||
style={{ marginBottom: theme.spacing(2) }} | ||
> | ||
{props.children} | ||
</Box> | ||
); | ||
}; | ||
|
||
export default H1; |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Box } from '@material-ui/core'; | ||
import React from 'react'; | ||
|
||
interface Props { | ||
children?: React.ReactNode; | ||
} | ||
|
||
const Paragraph = (props: Props) => { | ||
return ( | ||
<Box component='p' color='text.primary'> | ||
{props.children} | ||
</Box> | ||
); | ||
}; | ||
|
||
export default Paragraph; |
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