From b1adcb158e2cfa0764f4c881bc191f7764fae7aa Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Thu, 31 Dec 2020 19:47:55 +0100 Subject: [PATCH] Accept upper-case hex digits for colors --- Sources/LibMakeColors/Model/Scanner+ColorParser.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LibMakeColors/Model/Scanner+ColorParser.swift b/Sources/LibMakeColors/Model/Scanner+ColorParser.swift index 3d56246..62904b1 100644 --- a/Sources/LibMakeColors/Model/Scanner+ColorParser.swift +++ b/Sources/LibMakeColors/Model/Scanner+ColorParser.swift @@ -111,7 +111,7 @@ private extension Scanner { } private extension CharacterSet { - static let hex = CharacterSet(charactersIn: "0123456789abcdef") + static let hex = CharacterSet(charactersIn: "0123456789abcdefABCDEF") static let name = alphanumerics.union(CharacterSet(charactersIn: "_/")) }