Skip to content

Commit

Permalink
[fix] 리뷰 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdulgi committed Jul 25, 2024
1 parent 64d8b8a commit ab6b4ab
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 4 additions & 9 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@

@font-face {
font-family: "ds-digital";
src: url("font/DS-DIGI.TTF") format("truetype");
src: url("/font/DS-DIGI.TTF") format("truetype");
}

@font-face {
font-family: "hdsans-ttf";
src: url("font/HyundaiSansTextOffice-Medium.ttf") format("truetype");
}

@font-face {
font-family: "hdsans-woff";
src: url("font/HyundaiSansTextOffice-Medium.woff") format("woff");
font-family: "hdsans";
src: url("/font/HyundaiSansTextOffice-Medium.woff") format("woff"), url("/font/HyundaiSansTextOffice-Medium.ttf") format("truetype")
}

@layer base {
body {
font-family: "hdsans-ttf", "hdsans-woff";
font-family: "hdsans";
}
}
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
extend: {},
fontFamily: {
"ds-digital": ["ds-digital"],
"hdsans": ["hdsans-ttf", "hdsans-woff"],
"hdsans": ["hdsans"],
},
},
plugins: [],
Expand Down
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { resolve } from 'path';

// https://vitejs.dev/config/
export default defineConfig({
path:"./",
plugins: [react()],
resolve: {
alias: [{ find: "@", replacement: resolve(__dirname, "src") }],
Expand Down

0 comments on commit ab6b4ab

Please sign in to comment.