pantoken / platforms/swift/src / GenerateSwiftOptions
Interface: GenerateSwiftOptions
Experimental
Options for generateSwift / toSwift.
Properties
outDir
outDir:
string
Experimental
The output directory.
theme?
optionaltheme?:Theme
Experimental
The theme to emit (default: "rebrand").
mode?
optionalmode?:Mode
Experimental
Which light-dark() mode to resolve (default: "light").
className?
optionalclassName?:string
Experimental
The generated Swift class name (default: PanTokens).
icons?
optionalicons?:string[]
Experimental
Icon names to also emit into Icons.xcassets as vector-preserving imagesets.