The connector icon colors in Modelica.Mechanics.Rotational.Interfaces break a design convention I thought was very broadly affected as a de-facto standard:
- For a pair of connectors (for instance
Translational.Interfaces.Flange_a and Translational.Interfaces.Flange_b), one of the icons has white as the dominant fill color, and the other icon has a non-white dominant fill color.
- The line color of the dominant graphics item – which tools are expected to pick up as the color for connection
Line annotations – matches the non-white dominant fill color.
In Modelica.Mechanics.Rotational.Interfaces, the problem is that the border line color is black, while the dominant non-white fill color is the slightly dark grey {135, 135, 135}. Since it has been like this for a very long time, our ecosystem is supposedly full of connection Line annotations with black line color, not matching the dominant connector icon color. One only has to look at the diagram Modelica.Mechanics.Rotational.Examples.First to see the issue.
Since it would be a hassle to update the color of all the Line annotations out there, I suggest that we fix the issue by instead aligning the fill color of Modelica.Mechanics.Rotational.Interfaces.Flange_a with the convention, making the whole connector icon pitch black instead of grey.
Here is a related discussion on the need for some related standardization, but this discussion is about specification, not design conventions:
The connector icon colors in
Modelica.Mechanics.Rotational.Interfacesbreak a design convention I thought was very broadly affected as a de-facto standard:Translational.Interfaces.Flange_aandTranslational.Interfaces.Flange_b), one of the icons has white as the dominant fill color, and the other icon has a non-white dominant fill color.Lineannotations – matches the non-white dominant fill color.In
Modelica.Mechanics.Rotational.Interfaces, the problem is that the border line color is black, while the dominant non-white fill color is the slightly dark grey{135, 135, 135}. Since it has been like this for a very long time, our ecosystem is supposedly full of connectionLineannotations with black line color, not matching the dominant connector icon color. One only has to look at the diagramModelica.Mechanics.Rotational.Examples.Firstto see the issue.Since it would be a hassle to update the color of all the
Lineannotations out there, I suggest that we fix the issue by instead aligning the fill color ofModelica.Mechanics.Rotational.Interfaces.Flange_awith the convention, making the whole connector icon pitch black instead of grey.Here is a related discussion on the need for some related standardization, but this discussion is about specification, not design conventions: