Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change color validation functionality in isValidHsl.ts
The 'isValidHsl' function has been updated. It's no longer validating 'undefined' as 'deg' unit and no longer returning 'NaN' for default cases. Additionally, the check for 'h' not being 'NaN' has been removed. Values are now correctly validated within their respective ranges.
- Loading branch information