Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/fonts/NotoSansKR-Black.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-Bold.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-ExtraBold.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-ExtraLight.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-Light.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-Medium.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-Regular.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-SemiBold.ttf
Binary file not shown.
Binary file added public/fonts/NotoSansKR-Thin.ttf
Binary file not shown.
12 changes: 0 additions & 12 deletions src/content/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,6 @@ export default function App() {
}));
};

useEffect(() => {
if (isOpen) {
document.body.style.overflow = 'hidden';
} else {
document.body.style.overflow = '';
}

return () => {
document.body.style.overflow = '';
};
}, [isOpen]);

return (
<>
<PendingDialogWithBeforeUnload isPending={isPending} onClose={() => {}} />
Expand Down
39 changes: 39 additions & 0 deletions src/styles/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
@font-face {
font-family: 'Noto Sans KR';
src: url('/fonts/NotoSansKR-Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: 'Noto Sans KR';
src: url('/fonts/NotoSansKR-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: 'Noto Sans KR';
src: url('/fonts/NotoSansKR-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Noto Sans KR';
src: url('/fonts/NotoSansKR-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: 'Noto Sans KR';
src: url('/fonts/NotoSansKR-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}

html,
body {
font-family: 'Noto Sans KR', sans-serif;
}
2 changes: 0 additions & 2 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ h1 {
}
}



@layer base {
* {
@apply border-border outline-ring/50;
Expand Down
2 changes: 2 additions & 0 deletions src/styles/option.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('./fonts.css');

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down
3 changes: 2 additions & 1 deletion src/styles/shadow.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('./fonts.css');

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand All @@ -10,7 +12,6 @@
@layer base {
/* ====== 전역 스타일이었던 부분을 모두 :host로 치환 ====== */
:host {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;

Expand Down
Loading