Skip to content

Instantly share code, notes, and snippets.

@neilkimmett
Created September 27, 2018 19:22
Show Gist options
  • Save neilkimmett/63f0b03be40735038edc0f661874aefd to your computer and use it in GitHub Desktop.
Save neilkimmett/63f0b03be40735038edc0f661874aefd to your computer and use it in GitHub Desktop.
module.exports = theo => {
theo.registerFormat('ios.color.swift', result => {
const colors = []
return [
'import UIKit',
'',
'extension UIColor {',
...colors,
'}'
].join('\n');
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment