Skip to content

Commit 280e77d

Browse files
committed
Add poppins google font
1 parent e0496ed commit 280e77d

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,25 @@ A simple portfolio starter theme built with Vue.js v3 and TailwindCSS v2. This i
3232
npm install -g npm
3333
```
3434

35-
1. ##### Clone the repo:
35+
2. ##### Clone the repo:
3636

3737
```
3838
git clone https://github.com/NangialaiStoman/vuejs-tailwindcss-portfolio.git
3939
```
4040

41-
1. ##### Open the project folder:
41+
3. ##### Open the project folder:
4242

4343
```
4444
cd vuejs-tailwindcss-portfolio
4545
```
4646

47-
1. ##### Install packages and dependencies:
47+
4. ##### Install packages and dependencies:
4848

4949
```
5050
npm install
5151
```
5252

53-
1. ##### Start a local dev server at `http://localhost:8080`:
53+
5. ##### Start a local dev server at `http://localhost:8080`:
5454

5555
```
5656
npm run serve

public/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
77
<link rel="icon" href="./favicon.png" />
8+
<link rel="preconnect" href="https://fonts.googleapis.com" />
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10+
<link
11+
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap"
12+
rel="stylesheet"
13+
/>
814
<title><%= htmlWebpackPlugin.options.title %></title>
915
</head>
1016
<body id="app-theme" class="app-theme">

src/assets/css/app.css

+12
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,15 @@
22
* Vuejs & TailwindCSS Portfolio Main Styling CSS File
33
* Powered by: @NangialaiStoman
44
*/
5+
6+
body {
7+
font-family: 'Poppins', sans-serif !important;
8+
}
9+
10+
h1,
11+
h2,
12+
h3,
13+
h4 {
14+
font-family: 'Poppins', sans-serif !important;
15+
font-weight: 500 !important;
16+
}

0 commit comments

Comments
 (0)