Skip Navigation
Instance MethodMethod

generateTypographyDictionary(_:baseIndent:)

Generates Swift code for a typography dictionary.

func generateTypographyDictionary(
    _ typography: [String : String],
    baseIndent: Int
) -> String

Parameters

typography

The typography dictionary to convert.

baseIndent

The base indentation level.

Return Value

The Swift code for the typography dictionary.