4 Commits

Author SHA1 Message Date
Wyatt Allen
e9b9d8d101 Remove color from "params" syntax class
HLJS emits a syntax class for function parameters which the PolyGerrit
syntax stylesheet would color blue. However, HLJS did not always apply
this class accurately, for example, in the C++ case described in the
linked issue.

Because the class was not very informative anyway, and the HLJS default
stylesheet does not style it either, this change removes it from the
PolyGerrit syntax styles.

Bug: Issue 4975
Change-Id: I26ed0b8f745ac6add994a5d1cfc8eb1303dac8cf
2017-02-16 14:51:56 -08:00
Wyatt Allen
af6053a29d Modify PolyGerrit syntax colors
The style used by PolyGerrit is modified to more-closely resemble the
colors found in the "Eclipse" theme of CodeMirror. Note: because the
style information is computed by HLJS, the bits of code that are
highlighted may differ from CodeMirror.

Bug: Issue 5183
Change-Id: If165525e411e2af00f82b92294cd363b2bb1ce65
2016-12-20 10:57:44 -08:00
Wyatt Allen
9f6581295c Remove italic style for code comment syntax
Bug: Issue 4925
Change-Id: I9f93b4dee47f2b4a767656df5a92440c694f0df3
2016-11-18 14:53:01 -08:00
Wyatt Allen
ec4d6a28a4 Modularize syntax theme
Change-Id: I682bdbeb6b8bd4dbb4b389c52043db4b6c19286e
2016-07-26 10:38:15 -07:00