Fix colors in configs for alternative terminal emulators

This commit is contained in:
2018-01-21 18:37:49 +00:00
parent 40f697e227
commit f592f461d3
2 changed files with 39 additions and 38 deletions

View File

@@ -104,15 +104,15 @@ colors:
blue: '0x37689f' blue: '0x37689f'
magenta: '0x9b589d' magenta: '0x9b589d'
cyan: '0x69b8cb' cyan: '0x69b8cb'
white: '0xbfbfbf' white: '0xcccccc'
# Bright colors # Bright colors
bright: bright:
black: '0x686a66' black: '0x686a66'
red: '0xe50000' red: '0xed3a2c'
green: '0x00d900' green: '0x96cf4d'
yellow: '0xfdeb61' yellow: '0xfdeb61'
blue: '0x0000ff' blue: '0x5696d5'
magenta: '0x9d6aa5' magenta: '0x9d6aa5'
cyan: '0x75cee3' cyan: '0x75cee3'
white: '0xf5f5f5' white: '0xf5f5f5'

View File

@@ -4,77 +4,78 @@ module.exports = {
fontSize: 12, fontSize: 12,
// font family with optional fallbacks // font family with optional fallbacks
fontFamily: '"Menlo for Powerline", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', fontFamily:
'"Menlo for Powerline", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(255,255,255,0.8)', cursorColor: "rgba(255,255,255,0.8)",
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █ // `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █
cursorShape: 'BLOCK', cursorShape: "BLOCK",
// color of the text // color of the text
foregroundColor: '#fff', foregroundColor: "#fff",
// terminal background color // terminal background color
backgroundColor: '#000', backgroundColor: "#000",
// border color (window, tabs) // border color (window, tabs)
borderColor: '#333', borderColor: "#333",
// custom css to embed in the main window // custom css to embed in the main window
css: '', css: "",
// custom css to embed in the terminal window // custom css to embed in the terminal window
termCSS: '', termCSS: "",
// set to `true` if you're using a Linux set up // set to `true` if you're using a Linux set up
// that doesn't shows native menus // that doesn't shows native menus
// default: `false` on Linux, `true` on Windows (ignored on macOS) // default: `false` on Linux, `true` on Windows (ignored on macOS)
showHamburgerMenu: '', showHamburgerMenu: "",
// set to `false` if you want to hide the minimize, maximize and close buttons // set to `false` if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu // additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` on windows and Linux (ignored on macOS) // default: `true` on windows and Linux (ignored on macOS)
showWindowControls: '', showWindowControls: "",
// custom padding (css format, i.e.: `top right bottom left`) // custom padding (css format, i.e.: `top right bottom left`)
padding: '5px 5px', padding: "5px 5px",
// the full list. if you're going to provide the full color palette, // the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide // including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object // an array here instead of a color map object
colors: { colors: {
black: '#000000', black: "#000000",
red: '#e13e2f', red: "#e13e2f",
green: '#74c246', green: "#74c246",
yellow: '#c6a838', yellow: "#c6a838",
blue: '#2e64a2', blue: "#2e64a2",
magenta: '#a9479c', magenta: "#a9479c",
cyan: '#49bace', cyan: "#49bace",
white: '#cccccc', white: "#cccccc",
lightblack: '#676a66', lightblack: "#676a66",
lightred: '#ff0000', lightred: "#ff0000",
lightgreen: '#7ad94b', lightgreen: "#7ad94b",
lightyellow: '#fcf055', lightyellow: "#fcf055",
lightblue: '#4893d8', lightblue: "#4893d8",
lightmagenta: '#a95ea5', lightmagenta: "#a95ea5",
lightcyan: '#52d0e7', lightcyan: "#52d0e7",
lightwhite: '#f5f5f5' lightwhite: "#f5f5f5"
}, },
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish) // the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default // if left empty, your system's login shell will be used by default
shell: '', shell: "",
// for setting shell arguments (i.e. for using interactive shellArgs: ['-i']) // for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used // by default ['--login'] will be used
shellArgs: ['--login'], shellArgs: ["--login"],
// for environment variables // for environment variables
env: {}, env: {},
// set to false for no bell // set to false for no bell
bell: 'SOUND', bell: "SOUND",
// if true, selected text will automatically be copied to the clipboard // if true, selected text will automatically be copied to the clipboard
copyOnSelect: false, copyOnSelect: false,
@@ -87,10 +88,10 @@ module.exports = {
}, },
visor: { visor: {
hotkey: 'CommandOrControl+Shift+Z', hotkey: "CommandOrControl+Shift+Z",
position: 'full' position: "full"
} }
// for advanced config flags please refer to https://hyper.is/#cfg // for advanced config flags please refer to https://hyper.is/#cfg
}, },
// a list of plugins to fetch and install from npm // a list of plugins to fetch and install from npm
@@ -99,7 +100,7 @@ module.exports = {
// `hyperpower` // `hyperpower`
// `@company/project` // `@company/project`
// `project#1.0.1` // `project#1.0.1`
plugins: ['hyper-font-smoothing', 'hyperterm-visor'], plugins: ["hyper-font-smoothing", "hyperterm-visor"],
// in development, you can create a directory under // in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here // `~/.hyper_plugins/local/` and include it here