ScratchAddons / website-v2

The website for Scratch Addons. (version 2)
https://scratchaddons.com
GNU General Public License v3.0
51 stars 39 forks source link

Adjust highlight style sheets to be closer like GitHub #277

Closed Hans5958 closed 1 year ago

Hans5958 commented 1 year ago

The dark highlight style has been replaced to GitHub colors (at least that's what I do the best). There are also minor changes on the light highlight style.

WorldLanguages commented 1 year ago

Before vs after this change: image

WorldLanguages commented 1 year ago

The JS snippet still looks ugly IMO. The JSON snippet does look better.

Hans5958 commented 1 year ago

The JS snippet still looks ugly IMO.

These are actually GitHub colors, but it would be limited because the limitations of the highlighter.

By the way, I just found out that the highlighter is actually Chroma, which is heavily based on Pygments.