Last active
December 7, 2020 15:35
-
-
Save jmeosbn/ab1fdaa7a50189952121bc74c3876397 to your computer and use it in GitHub Desktop.
Blink Themes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example color formats | |
// 'wheat', '#533300..', '#530.', 'rgba(...)' | |
let theme = { | |
name: 'Sherbet Pastel', | |
author: 'github.com/jmeosbn', | |
color: | |
{ | |
// normal light | |
00: '#222', 08: '#777', // black | |
01: '#f22', 09: '#f65', // red | |
02: '#2d8', 10: '#3f2', // green | |
03: '#ff6', 11: '#fc5', // yellow | |
04: '#0af', 12: '#6cf', // blue | |
05: '#fa4', 13: '#fbb', // magenta | |
06: '#5de', 14: '#0ef', // cyan | |
07: '#edb', 15: '#bdf', // white | |
}, | |
background: '#000', // full black | |
foreground: '#eff', // off-white | |
cursor: '#eee8', // with alpha | |
} | |
// load style: https://terminal.sexy | |
term_applySexyTheme(theme) | |
term_set('cursor-color', theme.cursor) | |
// force bold/bright style options | |
term_set('enable-bold', true) | |
term_set('enable-bold-as-bright', false) | |
// hterm options not exposed in blink ui | |
term_set('scroll-on-output', true) | |
term_set('scroll-on-keystroke', true) | |
term_set('page-keys-scroll', true) | |
term_set('home-keys-scroll', true) | |
term_set('enable-clipboard-write', true) | |
term_set('enable-clipboard-notice', false) | |
// unsupported: BLOCK, BEAM, UNDERLINE | |
// term_set('cursor-shape', 'BEAM') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example color formats | |
// 'wheat', '#533300..', '#530.', 'rgba(...)' | |
let theme = { | |
name: 'Template Colors', | |
author: 'github.com/jmeosbn', | |
color: | |
{ | |
// regular "light" | |
00: '#222222', 08: '#888888', // black | |
01: '#ff0000', 09: '#ff4444', // red | |
02: '#00dd00', 10: '#00ff00', // green | |
03: '#eeee22', 11: '#ffff44', // yellow | |
04: '#00aaff', 12: '#00ccff', // blue | |
05: '#ee66ee', 13: '#ff88ff', // magenta | |
06: '#44eeee', 14: '#44ffff', // cyan | |
07: '#e0eeee', 15: '#e8ffff', // white | |
}, | |
background: '#000000', // black | |
foreground: '#d0f0ff', // silver | |
cursor: '#3fdee980', // 80 == 50% | |
} | |
// load style: https://terminal.sexy | |
term_applySexyTheme(theme) | |
term_set('cursor-color', theme.cursor) | |
// force bold/bright style options | |
term_set('enable-bold', true) | |
term_set('enable-bold-as-bright', false) | |
// hterm options not exposed in blink ui | |
term_set('scroll-on-output', true) | |
term_set('scroll-on-keystroke', true) | |
term_set('page-keys-scroll', true) | |
term_set('home-keys-scroll', true) | |
term_set('enable-clipboard-write', true) | |
term_set('enable-clipboard-notice', false) | |
// unsupported: BLOCK, BEAM, UNDERLINE | |
// term_set('cursor-shape', 'BEAM') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment