Commit Graph

71 Commits

Author SHA1 Message Date
Vincent Esche 4fcc489c3b Improve unit test for `func toRGBAComponents()` 2020-01-13 17:41:28 +01:00
Yannick Jérôme Loriot f2d630f177 Update to v5.0 2019-12-24 14:41:49 +01:00
Yannick Loriot bf0c9e6151 Update swift test configs 2019-09-22 18:37:51 +01:00
Yannick Loriot ba23ba6a20 Add missing imports in the test cases 2019-09-22 11:49:01 +01:00
Yannick Loriot 0dfcf55012 Add the toRGBA and toABGR methods #50 2019-09-15 18:06:51 +01:00
Yannick Loriot d15740a175 Updating test cases 2018-12-10 15:13:52 +01:00
Yannick Loriot 6de9d203c2 Updating the exemple project to Swift 4.2 2018-09-18 11:31:56 +02:00
Yannick Loriot 8b3e06c00f Updating the test cases 2018-08-21 12:52:07 +02:00
Yannick Loriot dfc638c08b Fixing tests 2017-11-08 10:20:39 +01:00
Yannick Loriot 8ab08452ae Support the alpha channel #34 2017-04-14 21:44:49 +02:00
Yannick Loriot f830637ddd Fixing the tests 2017-03-09 22:06:39 +01:00
David Hart 4f73d508d5 fix imprecision when outputing hex values 2017-03-09 11:26:16 +01:00
Yannick Loriot 537625ad24 Fixing the access controls 2016-11-26 19:02:26 +01:00
Julien Quéré a4d029c180 #22 Add isContrasting method 2016-11-25 17:27:47 +01:00
Julien Quéré f13965af23 Change luminance() to a property 2016-11-23 10:30:41 +01:00
Julien Quéré 7d8b998bbd Add ability to get contrast ratio between 2 colors 2016-11-23 10:23:13 +01:00
Julien Quéré 1733cdf5e8 Remove roundDecimal in DynamicColor+HSL 2016-11-22 22:13:43 +01:00
Julien Quéré 204c979ca2 Remove roundDecimal in DynamicColor+HSB 2016-11-22 21:54:12 +01:00
Julien Quéré 5bf490b287 #23 Add luminance method to Dynamic Color 2016-11-22 21:40:57 +01:00
Yannick Loriot 95ae5b278b Updating travis/test configuration 2016-09-23 16:48:09 +02:00
Yannick Loriot f7dc557536 Updating test cases 2016-09-08 18:38:56 +02:00
Yannick Loriot 1c73cbaf7e Updating test cases 2016-09-08 17:23:44 +02:00
Yannick Loriot e5e70297c4 Add DynamicGradient object #2 2016-09-08 14:51:46 +02:00
Yannick Loriot edffb75775 Use CGFloat instead of Double everywhere 2016-09-08 13:57:05 +02:00
Yannick Loriot a68c4ab958 Updating test cases 2016-09-05 21:54:42 +02:00
Alex Pawlowski 35920d158b Fixed build on Xcode 8.4 2016-08-04 16:32:05 +03:00
Yannick Loriot 75ed282049 adding tests 2016-07-16 22:34:43 +02:00
Yannick Loriot f57328a183 Adding test cases 2016-07-15 12:34:00 +02:00
Yannick Loriot ddfa24a9e5 [ADD] from array of color 2016-07-15 11:51:50 +02:00
Yannick Loriot 3f8952238d Hue range is now from 0° and 360° instead of 0.0 and 1.0 2016-07-14 18:26:38 +02:00
Yannick Loriot f6d60246eb [ADD] Initialization with L*a*b* components 2016-07-13 19:24:03 +02:00
Yannick Loriot 02401a494f [ADD] CIE L*a*b* Color Space 2016-07-12 17:04:21 +02:00
Yannick Loriot 0dc795e6f5 fixing tests 2016-07-12 14:07:08 +02:00
Yannick Loriot 6b7d495cee Initialization with XYZ components 2016-07-12 13:12:27 +02:00
Yannick Loriot 4bc264e4fa [ADD] CIE XYZ Color Space 2016-07-11 19:43:01 +02:00
Yannick Loriot 27ed125b5b Refactoring project 2016-07-03 20:07:27 +02:00
Yannick Loriot 8f1c7743eb Fixing the API 2016-06-14 15:13:46 +02:00
Yannick Loriot 6ce17b3973 Refactoring API to follow Swift 3 patterns 2016-06-14 13:32:59 +02:00
Yannick Loriot 0bb70d68e5 Preparing for Swift 3 2016-06-14 12:41:25 +02:00
Yannick Loriot 9f19f5c91c [REFACTORING] Move redComponent/greenComponent/blueComponent/alphaComponent methods to properties in order to reflect the OSX API 2015-12-12 16:55:05 +01:00
Yannick Loriot edee2dad62 [ADD] adjustedAlphaColor method 2015-12-12 16:48:27 +01:00
Yannick Loriot 3fbc586583 [UPDATE] Test cases 2015-11-25 22:26:19 +01:00
Yannick Loriot 5530d473a6 [ADD] isLightColor method 2015-11-19 22:02:49 +01:00
Yannick Loriot 7fccfdb302 Improve codecov 2015-11-15 14:21:04 +01:00
Yannick Loriot 98dd6dade8 [FIX] Tests 2015-09-17 18:07:49 +02:00
Yannick Loriot 542a20b1c0 Cleaning project 2015-09-17 16:06:52 +02:00
Yannick Loriot 4149fb52d9 Test code coverage 2015-09-17 15:50:07 +02:00
Yannick Loriot de9cc53929 [UPDATE] Swift 2 compatibility 2015-09-17 12:05:36 +02:00
Yannick Loriot d58f41f233 [FIX] Project framework target sets to 8.0 #4 2015-07-29 11:54:12 +02:00
Yannick Loriot 129630addb [ADD] HSL constructor and components getter 2015-07-26 23:43:13 +02:00