Skip to content

Commit

Permalink
temp: 폰트 테스트10
Browse files Browse the repository at this point in the history
  • Loading branch information
abcxj123 committed Jun 10, 2024
1 parent 0b88a49 commit f315bc7
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 19 deletions.
Binary file removed src/assets/fonts/Hana2-Bold.otf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Bold.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-CM.otf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-CM.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Heavy.otf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Heavy.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Light.otf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Light.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Medium.otf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Medium.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Regular.otf
Binary file not shown.
Binary file removed src/assets/fonts/Hana2-Regular.ttf
Binary file not shown.
40 changes: 22 additions & 18 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,55 @@
@font-face {
font-family: 'Hana-Heavy';
src:
local('Hana2.0 H'),
url('./assets/fonts/Hana2-Heavy.otf') format('otf'),
url('./assets/fonts/Hana2-Heavy.ttf') format('ttf');
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Heavy.otf')
format('opentype'),
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Heavy.ttf')
format('truetype');
}

@font-face {
font-family: 'Hana-Bold';
src:
local('Hana2.0 B'),
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Bold.otf')
format('otf'),
format('opentype'),
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Bold.ttf')
format('ttf');
format('truetype');
}

@font-face {
font-family: 'Hana-CM';
src:
local('Hana2.0 CM'),
url('./assets/fonts/Hana2-CM.otf') format('otf'),
url('./assets/fonts/Hana2-CM.ttf') format('ttf');
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-CM.otf')
format('opentype'),
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-CM.ttf')
format('truetype');
}

@font-face {
font-family: 'Hana-Medium';
src:
local('Hana2.0 M'),
url('/assets/fonts/Hana2-Medium.otf') format('otf'),
url('/assets/fonts/Hana2-Medium.ttf') format('ttf');
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Medium.otf')
format('opentype'),
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Medium.ttf')
format('truetype');
}

@font-face {
font-family: 'Hana-Regular';
src:
local('Hana2.0 R'),
url('./assets/fonts/Hana2-Regular.otf') format('otf'),
url('./assets/fonts/Hana2-Regular.ttf') format('ttf');
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Regular.otf')
format('opentype'),
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Regular.ttf')
format('truetype');
}

@font-face {
font-family: 'Hana-Light';
src:
local('Hana2.0 L'),
url('./assets/fonts/Hana2-Light.otf') format('otf'),
url('./assets/fonts/Hana2-Light.ttf') format('ttf');
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Light.otf')
format('opentype'),
url('https://ddok-bucket.s3.ap-northeast-2.amazonaws.com/fonts/Hana2-Light.ttf')
format('truetype');
}

html,
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html, ts, tsx}'],
content: ['./src/**/*.{html,ts,tsx}'],
safelist: [
'bg-[#28B2A5]',
'bg-[#E90061]',
Expand Down

0 comments on commit f315bc7

Please sign in to comment.