Skip to content

Commit

Permalink
Merge pull request #92 from heronlancellot/feat/RefactorTypography
Browse files Browse the repository at this point in the history
Feat/refactor typography
  • Loading branch information
heronlancellot authored Oct 15, 2023
2 parents 5493c08 + c4cda43 commit f996a52
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<meta name="theme-color" content="#1975ff" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Public+Sans&display=swap" rel="stylesheet">
<title>Web3Task</title>
<meta name="description"
content="High performance React template built with lots of powerful Material-UI components across multiple product niches for fast & perfect apps development processes." />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Cover/CoverAdminOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const CoverAdminOptions = () => {

<Box>
<Box>
<Typography color={'green'} fontFamily='istok' fontSize={50}>
<Typography color={'green'} fontSize={50}>
ADM OPTIONS
</Typography>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Cover/CoverCreateTask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const CoverCreateTask = () => {
<Box>

<Box>
<Typography color={'green'} fontFamily='istok' fontSize={50}>
<Typography color={'green'} fontSize={50}>
CREATE TASK
</Typography>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Cover/CoverHomeTasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const CoverHomeTasks = () => {

<Box>
<Box>
<Typography color={'green'} fontFamily='istok' fontSize={50}>
<Typography color={'green'} fontSize={50}>
WEB3TASK
</Typography>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Cover/CoverUserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const CoverCreateTask = () => {
<Box>

<Box>
<Typography color={'green'} fontFamily='istok' fontSize={50}>
<Typography color={'green'} fontSize={50}>
PERSONAL PROFILE
</Typography>
</Box>
Expand Down
5 changes: 4 additions & 1 deletion src/theme/schemes/DarkTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,9 @@ export const DarkTheme = createTheme({
fontSize: 17,
lineHeight: 1.7,
},
root: {
fontFamily: 'Public Sans'
},
},
},

Expand All @@ -1203,7 +1206,7 @@ export const DarkTheme = createTheme({
},
typography: {
fontFamily:
'"Istok", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
'"Istok", Public Sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
h1: {
fontWeight: 700,
fontSize: 35,
Expand Down
5 changes: 4 additions & 1 deletion src/theme/schemes/LightTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,9 @@ export const LightTheme = createTheme({
fontSize: 17,
lineHeight: 1.7,
},
root: {
fontFamily: 'Public Sans'
},
},
},

Expand All @@ -1193,7 +1196,7 @@ export const LightTheme = createTheme({
},
typography: {
fontFamily:
'"Istok", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
'"Istok", Public Sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
h1: {
fontWeight: 700,
fontSize: 35,
Expand Down

0 comments on commit f996a52

Please sign in to comment.