Skip to content

Commit

Permalink
feat: add lato font
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonSalvatoreDeveloper committed Jul 21, 2024
1 parent 72e83a6 commit ceda3fb
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hiddify - Quick Setup</title>
<link rel="stylesheet" href="/bower_components/lato-font/css/lato-font.css">
</head>

<body>
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5.16.4",
"@mui/material": "^5.16.4",
"lato-font": "^3.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.25.1"
Expand Down
1 change: 0 additions & 1 deletion src/assets/react.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
* {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-family: Lato;
padding: 0;
margin: 0;
}
2 changes: 1 addition & 1 deletion src/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const Layout: React.FC = () => {
top: { xs: '35vw', md: '8vw' },
}}
>
{activeStep ? steps[activeStep - 1].title : 'Welcome To Hiddify'}
{activeStep ? steps[activeStep - 1].title : 'به هیدیفای خوش آمدید'}
</Typography>
<Outlet />
<Box
Expand Down
3 changes: 3 additions & 0 deletions src/themes/theme.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ const theme = extendTheme({
},
},
},
typography: {
fontFamily: 'Lato',
},
components: {
MuiStepper: {
styleOverrides: {
Expand Down

0 comments on commit ceda3fb

Please sign in to comment.