spring-io / spring-asciidoctor-backends

A backend for Asciidoctor used to produce Spring styled HTML
Apache License 2.0
77 stars 15 forks source link

Improve HighlightJS CSS for JSON #31

Closed toedter closed 3 years ago

toedter commented 3 years ago

In dark mode, only white for keys and blue for values, in light mode everything is black.

It would be great if JSON would be a bit more "colorful", e.g. also render numbers in another color than strings.

philwebb commented 3 years ago

Thanks for the suggestion, I've tweaked the CSS a little. It now looks like this:

Screen Shot 2021-04-24 at 12 16 25 PM

It's still not that colorful, but it's closer to the GitHub look:

Screen Shot 2021-04-24 at 12 20 10 PM
toedter commented 3 years ago

Thx @philwebb