Commit graph

66 commits

Author SHA1 Message Date
28a901e6ae
Merge pull request #4 from 5sw/figma
Import colors from Figma library
2022-10-08 13:14:23 +02:00
fa9da22633 Remove setup-xcode, should not be needed any more 2022-10-08 13:09:40 +02:00
028095f00e Use macos-12 image 2022-10-08 13:08:03 +02:00
2271198f47 Select Xcode 14 2022-10-08 13:04:59 +02:00
fe95a6fd35 Need Xcode 14 to build 2022-10-08 13:00:03 +02:00
4a489ccd20 Update .swift-version 2022-10-08 12:59:18 +02:00
ac708f4ae2 Let importer determine output file name. 2022-10-08 12:50:55 +02:00
2b1f21dbab Quick and dirty figma importer 2022-10-08 12:41:02 +02:00
956c1f5d27 Make importer async 2022-10-08 11:48:33 +02:00
3adefbf70e Update argument parser 2022-10-08 11:47:32 +02:00
0bb53ea949 Remove library target 2022-10-08 11:46:52 +02:00
012203a4f3 Lowercase importer names 2022-10-08 11:42:42 +02:00
d7d34812cf Format 2022-10-08 11:42:02 +02:00
dc00d87a32 Add option to select importer. 2022-10-08 11:20:00 +02:00
02d2350b29 Fix warnings 2022-10-08 11:04:24 +02:00
e28bee804f Make importer protocol. 2022-10-08 11:03:28 +02:00
e6f44f5be2 Fix lint warnings 2021-01-02 22:43:54 +01:00
ba7c0c04fa
Update README.md 2021-01-02 22:35:45 +01:00
e8a02b0180
Add info on HSV colors to README 2021-01-02 22:33:52 +01:00
78fcdef196 Update asset catalog image 2021-01-02 22:22:35 +01:00
404566c36b Add example file 2021-01-02 22:20:55 +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
90a3ed745f Document grayscale colors in README 2020-12-31 20:19:51 +01:00
4406619c84 Simplify color parser tests 2020-12-31 20:16:41 +01:00
d660c40793 Implement parsing grayscale colors as white(value) or white(value, alpha) 2020-12-31 20:11:53 +01:00
0991ca01ed Test scanning upper case hex digits 2020-12-31 19:49:04 +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
01b564adb5 Fix android output in readme file 2020-12-31 19:05:36 +01:00
b657561e5c Crop asset catalog screenshot 2020-12-31 19:03:05 +01:00
465c1c078f Improve example in README.md 2020-12-31 19:01:35 +01:00
eb964e2e95 Add info about installing via makefile. 2020-12-31 18:55:04 +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
742b50f81f Set git user name/email 2020-12-31 00:09:39 +01:00
4b95b9009b Add homebrew installation instructions to readme 2020-12-30 23:59:34 +01:00
3ac3c8aebe Upload workflow to create new formula version 2020-12-30 23:56:10 +01:00
25d8ab5c20 Create Makefile 2020-12-30 23:09:21 +01:00
f7d7f76646 Use GITHUB_ENV file to set variable 2020-12-30 21:39:19 +01:00
49651f2623 Add workflow to create release tarball 2020-12-30 21:33:17 +01:00
6ba415ebae Ignore github workflows on export 2020-12-30 20:47:24 +01:00
e85cedda9c Use own bundle ID instead of "xcode" as author 2020-12-30 16:05:18 +01:00