Skip to content

pantoken / swift

swift

Experimental

@pantoken/swift — emit Instructure design tokens as Swift via Style Dictionary.

This is pantoken's native proof: it flattens the IR to concrete, single-mode values (@pantoken/core's toStyleDictionary), keeps the natively-typed tokens (colours, dimensions, numbers), and hands them to @pantoken/sd-config. Swapping platform to flutter/compose reuses the same path.

Interfaces

Functions

References

default

Renames and re-exports generateSwift