EssentialGG / Vigilance

Configuration Utility using Elementa
GNU Lesser General Public License v3.0
54 stars 12 forks source link

(EM-297) Improve color parsing #38

Closed Sychic closed 2 years ago

Sychic commented 2 years ago
This PR unifies the display and parsing of colors to be RGBA Some example cases Input Output
Invalid hex string Current color
1 Current color
123 #112233ff
1234 #11223344
123456 #123456ff
12345678 #12345678

Leading # does not matter for input

linear[bot] commented 2 years ago

EM-297