chore: Add font and styles for font-test

This commit is contained in:
yoosangwook 2024-09-03 08:40:44 +09:00
parent cee33786d0
commit 77ec869d41
3 changed files with 18 additions and 1 deletions

Binary file not shown.

View File

@ -34,6 +34,7 @@ export default function MainPage(props) {
</Button>
</div>
)}
<div className="font-test">font-test</div>
</>
)
}

View File

@ -1,2 +1,18 @@
@import '_test.scss';
@import 'react-toastify/dist/ReactToastify.css';
@import 'react-toastify/dist/ReactToastify.css';
body {
padding: 0;
margin: 0;
font-family: -apple-system, RoomNo, sans-serif;
}
.font-test {
font-family: 'RoomNo';
}
@font-face {
font-family: 'RoomNo';
font-weight: 200;
src: url('/fonts/Room No.703.ttf') format('truetype');
}