Created
June 29, 2015 12:13
-
-
Save ykomatsu/311dda4c6bbebe539c40 to your computer and use it in GitHub Desktop.
Base16 Default for HTML Terminal (hterm) based on Base16 Default for Xdefaults
This file contains hidden or 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
| // Base16 Default for HTML Terminal (hterm) based on Base16 Default for | |
| // Xdefaults | |
| // Author: Yoshito Komatsu <ykomatsu@akaumigame.org> | |
| // License: The MIT License (MIT) | |
| // | |
| // 1. Open hterm (Ctrl + Alt + T) | |
| // 2. Open the JavaScript Console (Ctrl + Shift + J) | |
| // 3. Run this script | |
| 'use strict'; | |
| (function() { | |
| var BASE00 = '#181818'; | |
| var BASE01 = '#282828'; | |
| var BASE02 = '#383838'; | |
| var BASE03 = '#585858'; | |
| var BASE04 = '#b8b8b8'; | |
| var BASE05 = '#d8d8d8'; | |
| var BASE06 = '#e8e8e8'; | |
| var BASE07 = '#f8f8f8'; | |
| var BASE08 = '#ab4642'; | |
| var BASE09 = '#dc9656'; | |
| var BASE0A = '#f7ca88'; | |
| var BASE0B = '#a1b56c'; | |
| var BASE0C = '#86c1b9'; | |
| var BASE0D = '#7cafc2'; | |
| var BASE0E = '#ba8baf'; | |
| var BASE0F = '#a16946'; | |
| // term_.prefs_.set('font-family', '"Source Code Pro", "DejaVu Sans Mono", monospace'); | |
| term_.prefs_.set('font-family', '"Cousine", "DejaVu Sans Mono", monospace'); | |
| term_.prefs_.set('font-smoothing', 'subpixel-antialiased'); | |
| term_.prefs_.set('font-size', '14'); | |
| term_.prefs_.set('user-css', 'http://fonts.googleapis.com/css?family=Source+Code+Pro'); | |
| term_.prefs_.set('scrollbar-visible', false); | |
| term_.prefs_.set('foreground-color', BASE05); | |
| term_.prefs_.set('background-color', BASE00); | |
| term_.prefs_.set('cursor-color', BASE05); | |
| term_.prefs_.set('color-palette-overrides', [ | |
| BASE00, | |
| BASE08, | |
| BASE0B, | |
| BASE0A, | |
| BASE0D, | |
| BASE0E, | |
| BASE0C, | |
| BASE05, | |
| BASE03, | |
| BASE09, | |
| BASE01, | |
| BASE02, | |
| BASE04, | |
| BASE06, | |
| BASE0F, | |
| BASE07, | |
| ]); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment