Skip to content

Instantly share code, notes, and snippets.

@efroese
Created June 9, 2015 20:46
Show Gist options
  • Save efroese/968ffdfc586863060537 to your computer and use it in GitHub Desktop.
Save efroese/968ffdfc586863060537 to your computer and use it in GitHub Desktop.
Scala syntax highlighting for reviewboard in Chrome!

Install Styler for Chrome https://chrome.google.com/webstore/detail/styler/bogdgcfoocbajfkjjolkmcdcnnellpkb?hl=en

Go to a review, click on the Styler "S" logo on the top right menu bar. Add the following CSS

span.k { color: #b05179 }
span.nc { color: #41618d }
span.kt { color: #41618d }
span.kc { color: #806DA2 ; font-weight: normal; }
pre { font-family: "Menlo" }

#diffs .sidebyside td,
#diffs .sidebyside td * { 
    -webkit-touch-callout: all;
    -webkit-user-select: all;
    -khtml-user-select: all;
    -moz-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    user-select: all;
}
#diffs .sidebyside td::selection,
#diffs .sidebyside td *::selection { background: #d3d3d3; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment