fix. 다국어 폰트 수정

This commit is contained in:
clkim
2025-12-09 12:19:18 +09:00
parent 9daa5faedb
commit c7fc7fcc45
2 changed files with 38 additions and 18 deletions

View File

@@ -11,6 +11,7 @@ const nuxtApp = useNuxtApp()
const gameDataStore = useGameDataStore()
const modalStore = useModalStore()
const scrollStore = useScrollStore()
const { locale } = useI18n()
const { setGameData } = gameDataStore
const { gameData } = storeToRefs(gameDataStore)
@@ -84,7 +85,7 @@ const setupAllMetaData = (data: GameDataValue) => {
htmlAttrs: {
'data-game': data.game_name || '',
'data-theme': theme,
lang: data.default_lang_code || 'ko',
lang: locale.value,
},
link: faviconLinks,
style: [

View File

@@ -1,65 +1,79 @@
@import url(https://static-cdn.onstove.com/0.0.1/font/SpoqaSans/StoveUIFont-KR.css);
@import url(https://static-cdn.onstove.com/0.0.4/font/Inter/StoveFont-Global.css);
@import url(https://static-cdn.onstove.com/0.0.4/font-icon/StoveFont-Icon.css);
@import url(https://static-cdn.onstove.com/0.0.1/font/SpoqaSans/StoveFont-KR.css);
@import url('https://static-cdn.onstove.com/resources/stds/stds-font-kr/stds-font-kr.css');
@import url('https://static-cdn.onstove.com/resources/stds/stds-font-global/stds-font-global.css');
/* @import url(https://static-cdn.onstove.com/0.0.4/font-icon/StoveFont-Icon.css); */
:lang(ko) {
font-family:
Spoqa Han Sans Neo KR,
stds-font-kr,
'system-ui',
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Helvetica,
Arial,
sans-serif,
'sans-serif',
Apple Color Emoji,
Segoe UI Emoji;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
:lang(en) {
font-family:
inter Global,
stds-font-global,
'system-ui',
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Helvetica,
Arial,
sans-serif,
'sans-serif',
Apple Color Emoji,
Segoe UI Emoji;
}
:lang(zh),
:lang(zh-cn) {
:lang(zh) :lang(zh-cn) {
font-family:
PingFang SC,
Microsoft YaHei UI,
'system-ui',
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Helvetica,
Arial,
sans-serif,
'sans-serif',
Apple Color Emoji,
Segoe UI Emoji;
}
:lang(zh-Hant),
:lang(zh-tw) {
font-family:
PingFang TC,
Microsoft JhengHei UI,
'system-ui',
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Helvetica,
Arial,
sans-serif,
'sans-serif',
Apple Color Emoji,
Segoe UI Emoji;
}
:lang(ja) {
font-family:
Meiryo Yu Gothic UI,
Hiragino Sans,
Yu Gothic UI,
'system-ui',
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Helvetica,
Arial,
sans-serif,
'sans-serif',
Apple Color Emoji,
Segoe UI Emoji;
}
@@ -69,24 +83,29 @@
:lang(fr),
:lang(pt) {
font-family:
inter Global,
stds-font-global,
'system-ui',
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Helvetica,
Arial,
sans-serif,
'sans-serif',
Apple Color Emoji,
Segoe UI Emoji;
}
:lang(th) {
font-family:
Thonburi,
Leelawadee UI,
'system-ui',
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Helvetica,
Arial,
sans-serif,
'sans-serif',
Apple Color Emoji,
Segoe UI Emoji;
}