fix: color contrast fails for oklch and oklab with none
Adds error handling for color-contrast checks. This now will report an 'incomplete' error message when the foreground and/or background color strings were not able to be parsed into an actual color.
Tests also verify that text-shadow color is handled should that occur.
fixes: 4894
Developer Notes: I was not able to have a test case trigger the colorParse error on text-shadow colorParse issues. This case was getting caught already but in the form of the 'complexTextShadows' error.
Would like @dbjorge or @WilcoFiers to review as well
Would like @dbjorge or @WilcoFiers to review as well
Do you think they may have opinions on the introduction of the incompleteData to color.js? I know when I presented this idea to you, you had mentioned they may have historical reasoning to either do so or not do so.
I had bounced this off them in Slack and they seemed ok with it at a glance and deferred to your judgement.
I am ok either way. Just making sure you are.