Skip to content

pantoken / platforms/swift/src / GenerateSwiftOptions

インターフェース: GenerateSwiftOptions

実験的

Options for generateSwift / toSwift のオプション。

プロパティ

outDir

outDir: string

実験的

出力ディレクトリ。


theme?

optional theme?: Theme

実験的

出力するテーマ(デフォルト: "rebrand")。


mode?

optional mode?: Mode

実験的

どの light-dark() モードを解決するか(デフォルト: "light")。


className?

optional className?: string

実験的

生成される Swift クラス名(デフォルト: PanTokens)。


icons?

optional icons?: string[]

実験的

Icons.xcassets にベクターを保持した imageset として出力するアイコン名。