fix. [SWV-877] GNB 지표 정의 개선

This commit is contained in:
clkim
2026-03-10 14:01:36 +09:00
parent eca40d10c2
commit e594231686
5 changed files with 26 additions and 17 deletions

View File

@@ -13,6 +13,7 @@ interface Props {
variant?: ButtonVariant
backgroundColor?: string
textColor?: string
useGameFont?: boolean
disabled?: boolean
}
@@ -29,7 +30,7 @@ const gameDataStore = useGameDataStore()
const modalStore = useModalStore()
const { isProcessing, validateLauncher } = useCheckGameStart()
const { gameName, platformType, osType, marketJson } =
const { gameName, platformType, osType, marketJson, fontFamily } =
storeToRefs(gameDataStore)
const PLATFORM_ICON_MAP: Record<Platform, string> = {
@@ -82,6 +83,9 @@ const textStyle = computed<CSSProperties>(() => {
if (props.textColor) {
style.color = props.textColor
}
if (props.useGameFont && fontFamily.value) {
style.fontFamily = fontFamily.value
}
return style
})