Closed darryldalton closed 10 years ago
I'm curious, what is the case where the zero width borders are causing problems? I'm thinking computed border color would always be set to text color unless if it was manually set.
In my projects I often have css properties that contain a border: 0px solid red;. I only have the boder turned on during the early stages of page layout and the boders allow my to see where my elements are lining up. The once everything is good I set the border width to zero while leaving the line there just in case I need to turn it on again at a latter point. While using your allcolors snippet I noticed it was including these 0 px border color in the list even though they don't actually appear in the page. This is why I choose to provide a way to include or exclude these values from the final list of color.
I'll be happy to remove them and only use logic in my on fork. I just thought someone else my find it useful.
Thank you for the opportunity to contribute to your project. I've been doing web dev since 1995 but this is my first venture into open/source and GitHub.
@darryldalton sorry it took so long to merge. Thanks for the contribution!
In addition to adding hex color values you can also exclude elements that have a border color with a zero width.