Introducing xPal

In a previous post I talked about some methods for implementing macOS Mojave’s Dark Mode. While we were adding Dark Mode support to Quids we found the process slow and error prone.

We thought; wouldn’t it be cool if we could automagically generate our .xcassets asset catalog from our Sketch file?

xPal is a small tool that takes the artboards from a page in Sketch and generates an asset catalog for your Xcode project that contains all the colors named and grouped appropriately. Once your Sketch file has been prepared just drag and drop it onto the xPal window and it does the rest. Watch a demo here.

Download xPal here.