KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
412 stars 35 forks source link

Color axis symbols / strings in KCL ("XY") to match gizmo colors #3090

Open lf94 opened 3 months ago

lf94 commented 3 months ago

For example X should be red and Y should be green. I think we can be pretty broad and general about this coloring application because this pairing should pretty much always be reference the axis.

Irev-Dev commented 3 months ago

I think this should be pretty low priority. Plus this will be different from any of the other highlighting rules we have in the language, since at the end of the day "XY" is just a string.

jtran commented 3 months ago

Maybe it shouldn't be a string. Could it be a constant in the prelude that's always available? At least then it would make more sense to highlight differently.