User:SpikeToronto/temp

Kirkburn wrote: SpikeToronto wrote: @Kirkburn: The biggest problem I find with the code editor, visually, is the  theme. It’s very difficult for some of us to read. Can you briefly describe the issues you have with it? Lack of contrast, or the sheer variety of colours, or something else? It’s difficult to read: the yellow background, the letters that are too light grey, the milky whitewash that seems to cover it, these are all characteristics of Ace’s  theme. There are many other themes that Wikia can load for use with Ace’s codeeditor. We only have to look at Wikipedia’s implementation of the same editor to see how much improved it can be, theme-wise.

In the first screen-cap, is source-editing, no syntax highlighting. It’s easy to read: bold lettering, bright background, high contrast. Also, the font is a mono-spaced one, which makes code layout easier. By the way, note that there is a diamond-shaped symbol in the editing toolbar. That is the toggle that turns on and off the syntax highlighting: when, it is turned

In the second screen-cap, is source editing, with highlighting (notice the pretty colors). It too is also easy to read, not quite as easy to read as when the syntax highlighting is turned off, but that can be fixed with greater contrast such as could be achieved by making the font-weight some degree heavier. By the way, note that there is the same diamond-shaped symbol in the editing toolbar. Again, that is the toggle that turns on and off the syntax highlighting: when, it is turned

The point of all this is, as the screen caps illustrate, there are other Ace-compatible themes that are easier to read than the  theme that we’re currently using. (Ace’s own library of themes is located here .)