7 Commits

Author SHA1 Message Date
Becky Siegel
e64a1c9958 Change font sizes from em to rem
Change-Id: Ib97c05836bcf1a19959bb1bed8ee30897b663de7
2018-01-26 17:24:05 -08:00
Becky Siegel
16721e6c8b Update gr-button to use paper button
Mostly styling updates but notable changes:
- Common color in theme.html, should be used by all buttons and links.
- CSS mixin to style gr-button passed to paper button (used in
  gr-label-score-row, gr-linked-chip)
- Some things that look like buttons but aren't exactly buttons get
  text-transform uppercase to appear like a button.
- Primary and secondary buttons are both the same color, but for now
- have not removed secondary so that it's possible to style them
  differently if we decide to.

Change-Id: Ib5ef3b0fc4883cd6dfc5c38e6d954925101d531f
2017-10-01 14:06:55 +01:00
Kasper Nilsson
00a23600a8 Switch to Roboto Mono font
Swaps out Source Code Pro for Roboto Mono. In addition, modifies the
syntax highlighting theme for numbers and class selectors from the
darker #7F0055 to the ligher #9E0069 and removes the bold font weight
from the selector to better differentiate the selector, especially with
a red background color.

Bug: Issue 6021
Change-Id: I7588e9aa1ef0b2e4ccde8b7a5ed0c24e56760a11
2017-06-20 15:37:02 -07:00
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