This a follow up to #256 that orders the colors as they are listed in the CSS bundle (according to hue).
The previous ordering was a bit chaotic because it was grabbing the color names from rules specifically for hyperlink elements. But, by only grabbing the color names from rules that define the fg/bg color vars, we get the originally expected results. Using a list structure also helps preserve the order as a set doesn't seem to guarantee the same order in which the items were added.
This a follow up to #256 that orders the colors as they are listed in the CSS bundle (according to hue).
The previous ordering was a bit chaotic because it was grabbing the color names from rules specifically for hyperlink elements. But, by only grabbing the color names from rules that define the fg/bg color vars, we get the originally expected results. Using a
list
structure also helps preserve the order as aset
doesn't seem to guarantee the same order in which the items were added.