Comment 23 for bug 1698572

Revision history for this message
In , Dante19031999 (dante19031999) wrote :

(In reply to Rafael Lima from comment #19)
> Created attachment 169343 [details]
> Highlighting Numeric Values

> There was just one thing that occurred to me (see the new attached file).
> Maybe you could apply a highlight color to numeric values, as it is
> currently done in Basic. Also, you could use the same shades of Blue and
> Green that are used by Basic.

I applied the same color to numbers and hexadecimal values as well (right now command not available, but machinery already implemented, available in 15 days), but not RGB hexadecimal values ( color#RRGGBB (available from 7.1) ) or font sizes or other numeric parameters.

> I am not saying that you should use the same color constants as Basic does,
> but rather initially assign the same colors used by Basic to the color
> constants you created.

About basic, I did never used it, but I don't think it uses the same kind of tokens. I looked some screenshots and I'm still not sure about the token types (blue and green). The numbers are in a red variant as in your screenshot in basic, but more pale. I'm using non bright CSS3 colors for it and I don't really believe we need a parallelism with another software or module.

Maybe, I'll be able to add an entry on expert configuration for changing colors.
I'll check it out. But building the UI for normal users is way too complicated.

> However, these are just suggestions. You could try them out and see if it's
> a good idea.

It also hit me to put comments in gray, but I haven't the internal machinery done yet.