Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.6.47
    Preparing search index...

    Function getResponsiveFontSize

    • Get responsive font size based on typography scale

      Note: This helper function uses parseInt internally for flexibility in returning pixel-suffixed strings. For performance-critical useMemo calculations, prefer using TYPOGRAPHY_NUMERIC constants directly.

      Parameters

      • typographyLevel:
            | "heading1"
            | "heading2"
            | "heading3"
            | "body"
            | "bodySmall"
            | "button"
            | "caption"
            | "micro"
            | "nano"

        Typography level from TYPOGRAPHY

      • isMobile: boolean

        Whether mobile layout is active

      • positionScale: number = 1.0

        Position scale multiplier (for 4K displays)

      Returns string

      Calculated font size in pixels