Skip to content
This repository was archived by the owner on Nov 16, 2024. It is now read-only.

Commit 391ff83

Browse files
committed
style: change main typefaces
1 parent b68617f commit 391ff83

File tree

8 files changed

+28
-19
lines changed

8 files changed

+28
-19
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "me.theppitak",
33
"private": true,
4-
"version": "1.0.1",
4+
"version": "1.1.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -16,22 +16,22 @@
1616
"react-dom": "^18.3.1"
1717
},
1818
"devDependencies": {
19-
"@tailwindcss/typography": "^0.5.13",
19+
"@tailwindcss/typography": "^0.5.14",
2020
"@types/react": "^18.3.3",
2121
"@types/react-dom": "^18.3.0",
2222
"@vitejs/plugin-react": "^4.3.1",
23-
"autoprefixer": "^10.4.19",
23+
"autoprefixer": "^10.4.20",
2424
"daisyui": "^4.12.10",
25-
"eslint": "8.x.x",
26-
"eslint-plugin-react": "^7.34.3",
25+
"eslint": "9.8.0",
26+
"eslint-plugin-react": "^7.35.0",
2727
"eslint-plugin-react-hooks": "^4.6.2",
28-
"eslint-plugin-react-refresh": "^0.4.8",
29-
"postcss": "^8.4.39",
30-
"prettier": "^3.3.2",
28+
"eslint-plugin-react-refresh": "^0.4.9",
29+
"postcss": "^8.4.41",
30+
"prettier": "^3.3.3",
3131
"prettier-plugin-tailwindcss": "^0.6.5",
3232
"react-icons": "^5.2.1",
33-
"tailwindcss": "^3.4.4",
34-
"vite": "^5.3.3",
33+
"tailwindcss": "^3.4.9",
34+
"vite": "^5.4.0",
3535
"vite-plugin-node-polyfills": "^0.22.0"
3636
},
3737
"prettier": {

src/assets/fonts/Geist.woff2

-55.5 KB
Binary file not shown.
76.1 KB
Binary file not shown.
75.1 KB
Binary file not shown.
75 KB
Binary file not shown.

src/components/Info.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function Info() {
22
return (
33
<div className="mx-5 self-center rounded-lg bg-slate-500/10 p-10 md:w-8/12">
44
<article className="prose-h2:prose-lg dark:prose-invert">
5-
<h2 className="text-justify font-light tracking-tight">
5+
<h2 className="text-justify tracking-tight">
66
Former creative copywriter and project manager, now on my way to{" "}
77
<a className="font-mono font-bold underline decoration-red-600 decoration-double decoration-1 hover:decoration-red-300 dark:decoration-sky-400 dark:hover:decoration-sky-200">
88
becoming a developer

src/index.css

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
@tailwind utilities;
44

55
@layer base {
6-
/* Geist */
7-
@font-face {
8-
font-family: Geist;
9-
font-weight: 100 900;
10-
font-style: normal;
11-
src: url(./assets/fonts/Geist.woff2) format("woff2");
12-
}
136
/* Geist Mono*/
147
@font-face {
158
font-family: Geist Mono;
@@ -164,4 +157,20 @@
164157
font-weight: 400;
165158
src: url(./assets/fonts/Noto_Sans_SC_Thin.ttf);
166159
}
160+
/* Univers */
161+
@font-face {
162+
font-family: Univers;
163+
font-weight: 400;
164+
src: url(./assets/fonts/Univers/UniversRegular.ttf);
165+
}
166+
@font-face {
167+
font-family: Univers;
168+
font-weight: 300;
169+
src: url(./assets/fonts/Univers/UniversLight.ttf);
170+
}
171+
@font-face {
172+
font-family: Univers;
173+
font-weight: 700;
174+
src: url(./assets/fonts/Univers/UniversBold.ttf);
175+
}
167176
}

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
extend: {
77
fontFamily: {
88
sans: [
9-
"Geist",
9+
"Univers",
1010
"IBM Plex Sans Thai Looped",
1111
"IBM Plex Sans JP",
1212
"IBM Plex Sans KR",

0 commit comments

Comments
 (0)