Skip to content

Instantly share code, notes, and snippets.

@jmeosbn
Last active November 2, 2020 16:17
Show Gist options
  • Save jmeosbn/b06adf09d29c008b2055c376c3f57fbf to your computer and use it in GitHub Desktop.
Save jmeosbn/b06adf09d29c008b2055c376c3f57fbf to your computer and use it in GitHub Desktop.
Adventure Time Neue.js
/*
standard palette // color
*/
black = '#454545' // v.dark grey
// 050404, also 203d5c
red = '#df2525' // red
// ef0525, also ff1f32, bd0013, also bc4934 C0362C
green = '#44bb00' // fern
// 4ab118, also 9ba953, 4a9118
yellow = '#ffaa00' // orange yellow
// e7741e, also f2c62c efc11a dfa10a
blue = '#2ea0ff' // blue
// 0f4ac6, also 4e7cbf
magenta = '#ff7700' // orange
// cf2fcf ff8f5a
// c98ec4 9b5953, also da7722 da8522 6679cc
cyan = '#00aba5' // teal
// 22a2c9, and 70a598 0881ad
white = '#c1d3e0' // grey
// b1c3d0 EFDECD a4a87a
/*
bold / bright palette // colour
*/
lt_black = '#7f7f86' // dark grey
// 4e7cbf, also 968c83
lt_red = '#ff2c36' // light red
// ff4429 fc5f5a, also ff8f5a f5250a ff741e
lt_green = '#40d860' // light green
// 9eff6e, also 4ab118 9bc953 0faa86
lt_yellow = '#facf0c' // yellow
// f0e000 efc11a, also efbf38 f2c62c f0d52a
lt_blue = '#87cefa' // pale blue
// 5599cc 4faaf4, also 1997c6
lt_magenta = '#a2a2d0' // violet
// 80ABBC d79da4 8877aa, also da7722 ff2522 cf5522 ef4522 da8522
// brown: 995D02 D3921E 9b5953 8c3a33 97522c
lt_cyan = '#40dbd5' // turquoise
// 00B5BD 44cac4, also c8faf4 A1CAF1
lt_white = '#eeeeec' // light grey
// f4f0ec, also d1e0f6 faf0e6 fefefe
/* background screen colour */
background = '#0d1926' // blue-black
// 042029 0d1926, also 1f1d45, 203d5c, bc4934, 102030
/* default colour for (lt_ gray) text */
foreground = '#f8dcc0' // light tan
// also e4c89a, efbf38
/* usually a (filled) square or underline */
cursor = `${lt_yellow}80`
let theme = {
/* omitted colours use defaults */
color: {
/* base palette */
00: /* blk */ '#454545', // v.dark grey
01: /* red */ '#df2525', // red
02: /* grn */ '#44bb00', // fern
03: /* yel */ '#ffaa00', // orange yellow
04: /* blu */ '#2ea0ff', // blue
05: /* mag */ '#ff7700', // orange
06: /* cyn */ '#00aba5', // teal
07: /* wht */ '#c1d3e0', // pale blu/grey
/* bright palette */
08: /* blk */ '#7f7f86', // dark grey
09: /* red */ '#ff2c36', // light red
10: /* grn */ '#40d860', // light green
11: /* yel */ '#facf0c', // yellow
12: /* blu */ '#87cefa', // pale blue
13: /* mag */ '#a2a2d0', // violet
14: /* cyn */ '#40dbd5', // 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