Skip to content

Instantly share code, notes, and snippets.

@jmeosbn
Last active December 9, 2018 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmeosbn/1448ec87a28c285a77586867bbe04374 to your computer and use it in GitHub Desktop.
Save jmeosbn/1448ec87a28c285a77586867bbe04374 to your computer and use it in GitHub Desktop.
Blink Shell Themes
let theme = {
/* omitted colours use defaults */
color: {
/* base palette */
00: /* blk */ '#454545', // v.dark grey
01: /* red */ '#df2525', // red
02: /* grn */ '#50c820', // fern
03: /* yel */ '#ffaa00', // orange yellow
04: /* blu */ '#2ea0ff', // blue
05: /* mag */ '#ff7700', // orange
06: /* cyn */ '#00b6b0', // teal
07: /* wht */ '#c1d3e0', // pale blu/grey
/* bright palette */
08: /* blk */ '#7f7f86', // dark grey
09: /* red */ '#ff101a', // light red
10: /* grn */ '#60e040', // light green
11: /* yel */ '#f2c80c', // yellow
12: /* blu */ '#7ac1fa', // pale blue
13: /* mag */ '#a2a2d0', // violet
14: /* cyn */ '#2fcdad', // turquoise
15: /* wht */ '#eeeeec', // light grey
},
/* terminal colours */
background: '#0d1926', // blue-black
foreground: '#f8dcc0', // light tan
cursor: '#facf0c80', // 80 == 50%
}
/*
hterm options not exposed in blink ui
*/
term_set('scroll-on-output', true)
term_set('scroll-on-keystroke', true)
term_set('enable-clipboard-notice', false);
/*
load up the colors defined above
*/
term_applySexyTheme(theme)
term_set('cursor-color', theme.cursor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment