Skip to content

Instantly share code, notes, and snippets.

@willnorris
Last active August 29, 2015 14:00
Show Gist options
  • Save willnorris/c374b88cf92272572f4b to your computer and use it in GitHub Desktop.
Save willnorris/c374b88cf92272572f4b to your computer and use it in GitHub Desktop.
hterm preferences
// Modified from https://groups.google.com/a/chromium.org/d/topic/chromium-hterm/eEijj3W1UBk/discussion
// Disable bold.
term_.prefs_.set('enable-bold', false)
// Use this for Solarized Dark
term_.prefs_.set('background-color', "#002B36")
term_.prefs_.set('foreground-color', "#839496")
// Use this for Solarized Light
term_.prefs_.set('background-color', "#fdf6e3")
term_.prefs_.set('foreground-color', "#657b83")
// And of course you can adjust the font-family, font-size, font-
smoothing values to your liking. I use this:
term_.prefs_.set('font-family', 'Source Code Pro')
term_.prefs_.set('font-size', 16)
term_.prefs_.set('font-smoothing', 'subpixel-antialiased')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment