Commit graph

23 commits

Author SHA1 Message Date
e6f44f5be2 Fix lint warnings 2021-01-02 22:43:54 +01:00
1c31c11f49 Create unit test for color JSON 2021-01-02 22:03:41 +01:00
be2a655c40 Match formatting used by Xcode. Turns out Xcode requires two digits for hex colors values. Single digits get repeated. 2021-01-02 21:17:41 +01:00
8262760bc7 Limit percent value from 0 to 100. 2021-01-01 15:18:16 +01:00
04943d8f63 Use simplified argument list parser 2021-01-01 15:17:50 +01:00
75a3bc265d Parse hsv colors 2021-01-01 13:49:44 +01:00
0b94872101 Add HSV conversion 2021-01-01 13:33:11 +01:00
e65f684654 Support giving color values as percentage 2021-01-01 12:52:20 +01:00
911db304ae Add flag to dump read colors to console. Not very helpful if you want to use this in a pipeline 2020-12-31 20:26:32 +01:00
d660c40793 Implement parsing grayscale colors as white(value) or white(value, alpha) 2020-12-31 20:11:53 +01:00
b1adcb158e Accept upper-case hex digits for colors 2020-12-31 19:47:55 +01:00
13f985c0a4 Improve usage message and add to README 2020-12-31 19:44:26 +01:00
abc0ef910d Allow reading input from stdin 2020-12-31 19:31:42 +01:00
fb0934ae01 Output alpha as hex value as well to asset catalogs 2020-12-31 18:47:37 +01:00
99d5c5ca74 Fix asset catalog extension 2020-12-31 18:41:25 +01:00
e85cedda9c Use own bundle ID instead of "xcode" as author 2020-12-30 16:05:18 +01:00
a23ccc8284 Revert "Add something swiftlint can complain about"
This reverts commit b7a93fc1de.
2020-12-30 14:37:46 +01:00
b7a93fc1de Add something swiftlint can complain about 2020-12-30 14:34:48 +01:00
d3a1cf54e2 Write generated file to current working directory 2020-12-30 13:56:07 +01:00
2b94443b56 SwiftLint 2020-12-30 13:35:21 +01:00
1f6b55014a Configure + run SwiftFormat 2020-12-30 12:53:40 +01:00
7d277a0e43 Refactoring 2020-12-30 12:50:26 +01:00
be92bf7740 Add initial code 2020-12-30 10:54:13 +01:00