News for hackers. Stuff that matters.
Re:Nord: An arctic, north-bluish color palette by ZeroGravitas on Sunday April 14, 2019 @05:01PM (#19661692)
Sounds like this project may be intending to write one, but is there any existing documentation on syntax colouring that goes beyond "what we thought looked nice"?

For example, what should have similar colours and why, what should stand out the most. How far apart do two colours need to be to be effective for the various tasks involved in writing and understanding code and so on. Is there s trial research on this?

Re:Nord: An arctic, north-bluish color palette by ninjaranter on Sunday April 14, 2019 @06:46PM (#19662145)
> Sounds like this project may be intending to write one, but is there any existing documentation on syntax colouring that goes beyond "what we thought looked nice"?

I tried to do something link this with a color scheme for VSCode https://marketplace.visualstudio.com/items?itemName=narenran... . Some highlights:

* Warm Colors are used for action keywords - throw, return in programming languages, links in Markdown files.

* Cold colors are used for definitions - Function names, variable values etc.

* Muted neutral colors are used for punctuation, comments, and anything else which detracts from the code.

I've been meaning to write a more detailed post on this (as well as an update), but comments/feedback welcome!

Re:Nord: An arctic, north-bluish color palette by crispyambulance on Sunday April 14, 2019 @05:23PM (#19661793)

    > is there any existing documentation on syntax colouring that goes beyond "what we thought looked nice"?
That's perhaps not the best way to think about it.

Graphic designers and typographers fret about this stuff constantly. There are theories of color which describe how to combine colors in visually effective ways. It's part subjective, part prescriptive and part aesthetic.

Someone could probably put together a large suite of complex experiments to figure out (or re-confirm) some fundamental truths about color when it comes to syntax, and maybe be able to make statistically faint claims about one theme being better than another. But what would one accomplish after all that objective research other than coming up with yet another cool-looking color scheme for folks to select on their IDE drop-downs?

At the end of the day, you the user, has infinite freedom to select from hundreds of thoughtful preconfigured color and font themes, or, optionally compose your own. Isn't that good enough?

Re:Nord: An arctic, north-bluish color palette by azhenley on Sunday April 14, 2019 @05:04PM (#19661710)
Sounds like that could make for a great PhD project! I would be interested in hiring a student to do that :)