WireViz icon indicating copy to clipboard operation
WireViz copied to clipboard

[feature] Add the color LightGreen (LG) to the color maps

Open Halfwalker opened this issue 3 years ago • 1 comments

For automotive wiring all the colors are represented, except for Light Green. The standard colors are image It would be nice to be able to specify colors via that code, but certainly not necessary.

Halfwalker avatar Feb 02 '22 15:02 Halfwalker

Yes, this has been discussed earlier as well, e.g. in https://github.com/formatc1702/WireViz/issues/135#issuecomment-671061938, and the on-going PR #251 probably includes new methods for specifying colors. You can take a preliminary look at that branch, but note that this PR is still unfinished, and might change a lot before merging into the dev branch.

With the current version of WireViz, you can always specify colors by hexadecimal RGB values, like "#00FF00" or "#008800". If you really need to use LG as a color, nobody stops you from adding this in your local wv_colors.py, but then be aware that your harnesses containing such custom colors cannot be processed correctly by normal WireViz installations (e.g. if you share such a harness YAML file with others).

kvid avatar Feb 03 '22 16:02 kvid