Skip to content

Instantly share code, notes, and snippets.

@0xcaff
Forked from johnbender/prefs.js
Last active Dec 20, 2015
Embed
What would you like to do?
Set up Chrome Secure Shell to handle base16 terminal colors
// Disable bold.
term_.prefs_.set('enable-bold', false)
// Use this for Base16 Dark
term_.prefs_.set('background-color', "#002b36");
term_.prefs_.set('foreground-color', "#839496");
base03 = "#181818";
base02 = "#282828";
base01 = "#383838";
base00 = "#585858";
base0 = "#b8b8b8";
base1 = "#d8d8d8";
base2 = "#e8e8e8";
base3 = "#f8f8f8";
yellow = "#f7ca88";
orange = "#dc9656";
red = "#ab4642";
magenta = "#a16946";
violet = "#ba8baf";
blue = "#7cafc2";
cyan = "#86c1b9";
green = "#a1b56c";
term_.prefs_.set('color-palette-overrides',
[ base02 , red , green , yellow,
blue , magenta , cyan , base2,
base03 , orange , base01 , base00,
base0 , violet , base1 , base3 ]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment