Booleans

Booleans #

Booleans can be added to Pinwheel via the + toolbar button. Booleans can have alternate values in light mode, dark mode, regular contrast, and high contrast.

A screenshot of Pinwheel’s toolbar

Boolean aliases #

Boolean aliases can be added to Pinwheel via the + toolbar button. Boolean aliases reference booleans. When the original value gets changed, the boolean alias will update as well.

Boolean aliases are an ideal choice for semantic values in design systems.

Name processing #

Exporting can process item and group names. That means you can use nicely capitalized names within your Pinwheel documents, and they can also appear how you’d like within the exported code. “My Color” can become “my-color” or “myColor”, based on your export settings.