Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Handle HEX_COLOR_RE returns None
In the event that we can't match the supplied hex value using the RE, raise a ValueError. Otherwise we risk attempting to access the `groups()` method of `None`
- Loading branch information