Skip to content

Commit

Permalink
Merge pull request #309 from TripInfoWeb/dev_etc
Browse files Browse the repository at this point in the history
feat: font pretendard로 변경
  • Loading branch information
ssssksss authored Sep 16, 2024
2 parents 7f84751 + 8883919 commit 7f3e447
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Binary file added public/fonts/PretendardVariable.ttf
Binary file not shown.
11 changes: 10 additions & 1 deletion src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
font-style: normal;
}

@font-face {
font-family: "pretendrad";
src: url("/fonts/PretendardVariable.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}



:root {
--foreground-rgb: 0, 0, 0;
/*--background-start-rgb: 214, 219, 220;*/
Expand All @@ -23,7 +32,7 @@
}

body {
font-family: "CustomFont";
font-family: "pretendrad";
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
Expand Down

0 comments on commit 7f3e447

Please sign in to comment.