From f592f461d3bfdd3323d50a5dd0d1cdeb153b8e7a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 21 Jan 2018 18:37:49 +0000 Subject: [PATCH] Fix colors in configs for alternative terminal emulators --- alacritty.yml | 8 +++--- hyper.js | 69 ++++++++++++++++++++++++++------------------------- 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/alacritty.yml b/alacritty.yml index 8d41c3e..423412d 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -104,15 +104,15 @@ colors: blue: '0x37689f' magenta: '0x9b589d' cyan: '0x69b8cb' - white: '0xbfbfbf' + white: '0xcccccc' # Bright colors bright: black: '0x686a66' - red: '0xe50000' - green: '0x00d900' + red: '0xed3a2c' + green: '0x96cf4d' yellow: '0xfdeb61' - blue: '0x0000ff' + blue: '0x5696d5' magenta: '0x9d6aa5' cyan: '0x75cee3' white: '0xf5f5f5' diff --git a/hyper.js b/hyper.js index 6a7b3cf..c96bd77 100644 --- a/hyper.js +++ b/hyper.js @@ -4,77 +4,78 @@ module.exports = { fontSize: 12, // 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) - cursorColor: 'rgba(255,255,255,0.8)', + cursorColor: "rgba(255,255,255,0.8)", // `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █ - cursorShape: 'BLOCK', + cursorShape: "BLOCK", // color of the text - foregroundColor: '#fff', + foregroundColor: "#fff", // terminal background color - backgroundColor: '#000', + backgroundColor: "#000", // border color (window, tabs) - borderColor: '#333', + borderColor: "#333", // custom css to embed in the main window - css: '', + css: "", // custom css to embed in the terminal window - termCSS: '', + termCSS: "", // set to `true` if you're using a Linux set up // that doesn't shows native menus // 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 // additionally, set to `'left'` if you want them on the left, like in Ubuntu // default: `true` on windows and Linux (ignored on macOS) - showWindowControls: '', + showWindowControls: "", // 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, // including the 6 x 6 color cubes and the grayscale map, just provide // an array here instead of a color map object colors: { - black: '#000000', - red: '#e13e2f', - green: '#74c246', - yellow: '#c6a838', - blue: '#2e64a2', - magenta: '#a9479c', - cyan: '#49bace', - white: '#cccccc', - lightblack: '#676a66', - lightred: '#ff0000', - lightgreen: '#7ad94b', - lightyellow: '#fcf055', - lightblue: '#4893d8', - lightmagenta: '#a95ea5', - lightcyan: '#52d0e7', - lightwhite: '#f5f5f5' + black: "#000000", + red: "#e13e2f", + green: "#74c246", + yellow: "#c6a838", + blue: "#2e64a2", + magenta: "#a9479c", + cyan: "#49bace", + white: "#cccccc", + lightblack: "#676a66", + lightred: "#ff0000", + lightgreen: "#7ad94b", + lightyellow: "#fcf055", + lightblue: "#4893d8", + lightmagenta: "#a95ea5", + lightcyan: "#52d0e7", + lightwhite: "#f5f5f5" }, // 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 - shell: '', + shell: "", // for setting shell arguments (i.e. for using interactive shellArgs: ['-i']) // by default ['--login'] will be used - shellArgs: ['--login'], + shellArgs: ["--login"], // for environment variables env: {}, // set to false for no bell - bell: 'SOUND', + bell: "SOUND", // if true, selected text will automatically be copied to the clipboard copyOnSelect: false, @@ -87,10 +88,10 @@ module.exports = { }, visor: { - hotkey: 'CommandOrControl+Shift+Z', - position: 'full' + hotkey: "CommandOrControl+Shift+Z", + 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 @@ -99,7 +100,7 @@ module.exports = { // `hyperpower` // `@company/project` // `project#1.0.1` - plugins: ['hyper-font-smoothing', 'hyperterm-visor'], + plugins: ["hyper-font-smoothing", "hyperterm-visor"], // in development, you can create a directory under // `~/.hyper_plugins/local/` and include it here