Commit Graph

44 Commits

Author SHA1 Message Date
1024jp 35294d6a5d Remove extra blank lines 2023-04-30 10:58:21 +09:00
1024jp 316e2f9f76 Fix typos 2023-04-16 20:18:54 +09:00
1024jp 19d10e2ee8 Adjust whitespaces 2023-04-16 20:11:22 +09:00
1024jp 2981b36d8e Prefer using pre-Swift methods 2022-09-23 23:24:36 +09:00
1024jp dd73566639 Add Sendable to KeywordColor 2022-09-23 23:20:45 +09:00
1024jp 10b1cf9660 Bump up supported macOS version to 11 2022-09-23 23:20:45 +09:00
1024jp 0056e46ee2 Remove unwanted comment line 2022-05-31 12:22:25 +09:00
1024jp 9cc839f557 Change stylesheet keywords to lower case 2022-05-31 12:22:25 +09:00
1024jp 8d116d756d Deprecate NSColor.stylesheetKeywordColors 2022-05-31 12:22:25 +09:00
1024jp c476d6578c Create KeywordColor struct 2022-05-31 12:22:10 +09:00
1024jp 0d2f82d2d7 Add test for color space 2022-04-09 16:17:13 +09:00
1024jp a8ce7817e2 Style code 2022-02-04 17:10:32 +09:00
1024jp 828eb707f6 Delete unwanted blank line 2022-02-04 16:53:25 +09:00
1024jp afc31c001e Omit explicit CGFloat cast 2022-02-04 16:53:02 +09:00
1024jp 91f573003e Update hslSaturationComponent calculation 2021-08-28 17:38:51 +09:00
1024jp 1b6939e6e8 Remove optional alpha paramater for hex 2021-08-28 17:38:51 +09:00
1024jp 7ad066d417 Tweak hex calculation 2021-08-28 17:38:51 +09:00
1024jp 1080c7db39 Refactor color code detection 2021-05-08 23:59:31 +09:00
1024jp 1365ce179b Fix alpha type in SwiftUI Color 2021-05-08 21:55:05 +09:00
1024jp dde6ae64d7 Support SwiftUI 2021-05-08 18:17:05 +09:00
1024jp c6acadd557 Add blanks 2021-05-08 18:10:40 +09:00
1024jp 5d3e63e0ec Simplify color calculations 2021-05-08 18:05:08 +09:00
1024jp 6355a8e0ac Move NSColor extensions to AppKit directory 2021-05-08 17:07:15 +09:00
1024jp 72446d0164 Extract color code detection from NSColor extension 2021-05-08 17:01:07 +09:00
1024jp bb94a4f9c2 Replace CGFloat to BinaryFloatingPoint 2021-05-08 14:41:15 +09:00
1024jp bddf75025e Replace “Copyright (c)” with “©” 2020-02-27 19:36:17 +09:00
1024jp 0d9d691055 Prefer using , rather than && in guard 2020-02-27 19:34:09 +09:00
1024jp ca2fbd34b8 Add a missing space in comment 2020-02-27 18:57:42 +09:00
1024jp 1fde597b28 FIx possible crash with invalid color code 2019-11-21 18:33:50 +09:00
1024jp 49ebcbf1ba Tweak NSRange creation 2019-11-21 09:49:23 +09:00
1024jp e5e69e8bcd Remove an unwanted space 2019-11-21 09:33:48 +09:00
1024jp 3cdea09bce Make alpha value in NSColor init omittable 2019-11-21 09:31:23 +09:00
1024jp fa7d1842f6 Update docstring style 2019-01-29 17:04:48 +09:00
1024jp be8897506f Remove redundant `public` modifiers 2019-01-29 17:04:48 +09:00
1024jp db7e4178bd Update Swift code to 4.2 2018-08-15 00:14:13 +09:00
1024jp 4ae13d4fd1 Fix ColorCodeType enum 2018-04-25 12:51:59 +09:00
1024jp fa18dde75d Force unwrap where cannot be nil 2018-04-24 02:28:32 +09:00
1024jp d1655f39aa Delete case .invalid from ColorCodeType 2018-04-24 02:01:19 +09:00
1024jp 85463c65be Omit meanless Int cast 2018-04-24 00:45:09 +09:00
1024jp 1211eae257 Use subscript for String extension 2018-04-24 00:39:05 +09:00
1024jp 453935b5fe Refactor keyword color creation 2017-11-15 17:39:48 +09:00
1024jp 7c61069256 Separate colorKeywordMap to other file 2017-11-15 11:03:30 +09:00
1024jp 745efbf8f0 Introduce swiftlint 2017-11-15 11:01:23 +09:00
1024jp bf998c82bf Implement SPM 2017-11-15 10:04:32 +09:00