Skip to content

pantoken / platforms/swift/src / GenerateSwiftOptions

Interface: GenerateSwiftOptions

Experimental

Options for generateSwift / toSwift.

Properties

outDir

outDir: string

Experimental

The output directory.


theme?

optional theme?: Theme

Experimental

The theme to emit (default: "rebrand").


mode?

optional mode?: Mode

Experimental

Which light-dark() mode to resolve (default: "light").


className?

optional className?: string

Experimental

The generated Swift class name (default: PanTokens).


icons?

optional icons?: string[]

Experimental

Icon names to also emit into Icons.xcassets as vector-preserving imagesets.