Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
css: improve RGB hex color and length matching
- Allow RGB hexadecimal colors in multiple formats per the spec. For example, all of the following formats are valid. #123 #123456 #12345678 https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb_colors - Allow decimal lengths without a leading zero. For example, the all of the following formats are valid. .5em 0.5em 0 1em https://developer.mozilla.org/en-US/docs/Web/CSS/length#syntax
- Loading branch information