Skip to content

Commit

Permalink
웹 폰트 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
kichan05 committed Feb 14, 2024
1 parent 5a10e02 commit 55c21fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file removed src/font/SUIT-Variable.ttf
Binary file not shown.
3 changes: 2 additions & 1 deletion src/style/Font.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {css} from "styled-components";
export const FontStyle = css`
@font-face {
font-family: SUIT;
src: url("./../font/SUIT-Variable.ttf");
src: url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT/fonts/variable/woff2/SUIT-Variable.css");
//src: url("./../font/SUIT-Variable.ttf");
}
`

Expand Down

0 comments on commit 55c21fc

Please sign in to comment.