fix. 프리텐다트 웹폰트 적용
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
:lang(ko) {
|
||||
font-family:
|
||||
stds-font-kr,
|
||||
'Pretendard',
|
||||
'system-ui',
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
:lang(en) {
|
||||
font-family:
|
||||
stds-font-global,
|
||||
'Pretendard',
|
||||
'system-ui',
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
@@ -28,8 +28,10 @@
|
||||
Segoe UI Emoji;
|
||||
}
|
||||
|
||||
:lang(zh) :lang(zh-cn) {
|
||||
:lang(zh),
|
||||
:lang(zh-cn) {
|
||||
font-family:
|
||||
'Pretendard JP',
|
||||
PingFang SC,
|
||||
Microsoft YaHei UI,
|
||||
'system-ui',
|
||||
@@ -46,6 +48,7 @@
|
||||
:lang(zh-Hant),
|
||||
:lang(zh-tw) {
|
||||
font-family:
|
||||
'Pretendard JP',
|
||||
PingFang TC,
|
||||
Microsoft JhengHei UI,
|
||||
'system-ui',
|
||||
@@ -61,6 +64,7 @@
|
||||
|
||||
:lang(ja) {
|
||||
font-family:
|
||||
'Pretendard JP',
|
||||
Hiragino Sans,
|
||||
Yu Gothic UI,
|
||||
'system-ui',
|
||||
@@ -79,7 +83,7 @@
|
||||
:lang(fr),
|
||||
:lang(pt) {
|
||||
font-family:
|
||||
stds-font-global,
|
||||
'Pretendard',
|
||||
'system-ui',
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
@@ -93,6 +97,7 @@
|
||||
|
||||
:lang(th) {
|
||||
font-family:
|
||||
'Pretendard',
|
||||
Thonburi,
|
||||
Leelawadee UI,
|
||||
'system-ui',
|
||||
|
||||
@@ -10,13 +10,13 @@ export default defineNuxtConfig({
|
||||
// 폰트 CSS 비동기 로딩
|
||||
{
|
||||
rel: 'preload',
|
||||
href: 'https://static-cdn.onstove.com/resources/stds/stds-font-kr/stds-font-kr.css',
|
||||
href: 'https://static-pubcomm.onstove.com/live/common/assets/fonts/Pretendard/pretendard.css',
|
||||
as: 'style',
|
||||
onload: "this.onload=null;this.rel='stylesheet'",
|
||||
},
|
||||
{
|
||||
rel: 'preload',
|
||||
href: 'https://static-cdn.onstove.com/resources/stds/stds-font-global/stds-font-global.css',
|
||||
href: 'https://static-pubcomm.onstove.com/live/common/assets/fonts/Pretendard/pretendard-jp.css',
|
||||
as: 'style',
|
||||
onload: "this.onload=null;this.rel='stylesheet'",
|
||||
},
|
||||
@@ -32,12 +32,12 @@ export default defineNuxtConfig({
|
||||
{
|
||||
tag: 'link',
|
||||
rel: 'stylesheet',
|
||||
href: 'https://static-cdn.onstove.com/resources/stds/stds-font-kr/stds-font-kr.css',
|
||||
href: 'https://static-pubcomm.onstove.com/live/common/assets/fonts/Pretendard/pretendard.css',
|
||||
},
|
||||
{
|
||||
tag: 'link',
|
||||
rel: 'stylesheet',
|
||||
href: 'https://static-cdn.onstove.com/resources/stds/stds-font-global/stds-font-global.css',
|
||||
href: 'https://static-pubcomm.onstove.com/live/common/assets/fonts/Pretendard/pretendard-jp.css',
|
||||
},
|
||||
// {
|
||||
// tag: 'link',
|
||||
|
||||
Reference in New Issue
Block a user