hex-color-regex
hex-color-regex copied to clipboard
curlies in color code examples and missing explanation for strict mode
hi Charlike!
Thank you for this package. I'm trying to tap it and I encountered two challenges.
- What is
strict
mode?
#a54f2c}
is used in example and it contains curly brace. That's weird; also, #a54f2c
seems a legit color in Photoshop, it's brown-ish:
![a54f2c](https://user-images.githubusercontent.com/8344688/71267675-1f1d0d00-2343-11ea-833c-222a89be7926.png)
Let's explain to users what the strict mode is. Currently, I understand it's not allowing hanging curlies in the end (which is a bizarre error anyway imho) and enforcing 6-digit hex codes.
- The curlies in examples should be addressed separately, did we really mean to add them?
![curlies](https://user-images.githubusercontent.com/8344688/71267885-92268380-2343-11ea-9e3d-8cb242f83cf4.png)