Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ient into feat/#252/feature
  • Loading branch information
JIY00N2 committed Nov 24, 2023
2 parents 4156d69 + adfcb01 commit 40b2f12
Show file tree
Hide file tree
Showing 20 changed files with 47 additions and 7 deletions.
Binary file added public/font/Pretendard-Black.woff
Binary file not shown.
Binary file added public/font/Pretendard-Bold.woff
Binary file not shown.
Binary file added public/font/Pretendard-ExtraBold.woff
Binary file not shown.
Binary file added public/font/Pretendard-ExtraLight.woff
Binary file not shown.
Binary file added public/font/Pretendard-Light.woff
Binary file not shown.
Binary file added public/font/Pretendard-Medium.woff
Binary file not shown.
Binary file added public/font/Pretendard-Regular.woff
Binary file not shown.
Binary file added public/font/Pretendard-SemiBold.woff
Binary file not shown.
Binary file added public/font/Pretendard-Thin.woff
Binary file not shown.
Binary file removed public/fonts/Pretendard-Black.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-Bold.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-ExtraBold.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-ExtraLight.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-Light.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-Medium.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-Regular.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-SemiBold.subset.woff2
Binary file not shown.
Binary file removed public/fonts/Pretendard-Thin.subset.woff2
Binary file not shown.
50 changes: 46 additions & 4 deletions src/app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,54 @@

@layer base {
@font-face {
font-family: "Pretendard";
src: url("/fonts/pretendard-regular.subset.woff2") format("woff2");
font-display: swap;
font-family: Pretendard;
font-weight: 100;
src: url("@/public/font/Pretendard-Thin.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 200;
src: url("@/public/font/Pretendard-ExtraLight.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 300;
src: url("@/public/font/Pretendard-Light.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 400;
src: url("@/public/font/Pretendard-Regular.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 500;
src: url("@/public/font/Pretendard-Medium.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 600;
src: url("@/public/font/Pretendard-SemiBold.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 700;
src: url("@/public/font/Pretendard-Bold.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 800;
src: url("@/public/font/Pretendard-ExtraBold.woff") format("woff");
}
@font-face {
font-family: Pretendard;
font-weight: 900;
src: url("@/public/font/Pretendard-Black.woff") format("woff");
}

* {
@apply border-border;
font-family: "Pretendard";

::-webkit-scrollbar {
width: 8px;
}
Expand All @@ -90,5 +131,6 @@
}
body {
@apply bg-background text-foreground;
@apply font-pretendard;
}
}
4 changes: 1 addition & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { fontFamily } from "tailwindcss/defaultTheme";

/** @type {import('tailwindcss').Config} */
const px0_10 = { ...Array.from(Array(11)).map((_, i) => `${i}px`) };
const px0_100 = { ...Array.from(Array(101)).map((_, i) => `${i}px`) };
Expand Down Expand Up @@ -41,7 +39,7 @@ module.exports = {
},
extend: {
fontFamily: {
pretendard: ["Pretendard", ...fontFamily.sans],
pretendard: ["Pretendard"],
},
width: px0_1300,
height: px0_1300,
Expand Down

0 comments on commit 40b2f12

Please sign in to comment.