Font and Colorscheme

nvim color scheme

Neovim Config に色データがあるので、それを参考ににする。itermにも色の設定あり。

// neovim default color scheme dark
const foreground = '#E0E2EA';
const background = '#14161b';

const black = '#2C2E33';
const red = '#E5ADB9'
const green = '#A2DFC0';
const yellow = '#E3CA85'
const blue = '#95C5E5';
const magenta = '#E5B6E6';
const cyan = '#7EDFDE';
const white = '#C4C6CD';

const light_black = '#4f5258';
const light_red ='#FFC0B9';
const light_green ='#B4F6C0';
const light_yellow ='#FCE094';
const light_blue ='#A6DBFF';
const light_magenta ='#FFCAFF';
const light_cyan ='#8CF8F7';
const light_white ='#9b9ea4';

t.prefs_.set('color-palette-overrides',
             [black, red, green, yellow, blue, magenta, cyan, white, light_black, light_red, light_green, light_yellow, light_blue, light_magenta, light_cyan, light_white]);

t.prefs_.set('foreground-color', foreground);
t.prefs_.set('background-color', background);
t.prefs_.set('cursor-color', foreground);
// neovim default color scheme light
const foreground = '#14161b';
const background = '#E0E2EA';

const black = '#C4C6CD';
const red = '#590008'
const green = '#005523';
const yellow = '#6b5300'
const blue = '#004c63';
const magenta = '#470045';
const cyan = '#007373';
const white = '#2c2e33';

const light_black = '#9b9ea4';
const light_red ='#640009';
const light_green ='#006029';
const light_yellow ='#765d00';
const light_blue ='#005574';
const light_magenta ='#52004f';
const light_cyan ='#008080';
const light_white ='#4f5258';

t.prefs_.set('color-palette-overrides',
             [black, red, green, yellow, blue, magenta, cyan, white, light_black, light_red, light_green, light_yellow, light_blue, light_magenta, light_cyan, light_white]);

t.prefs_.set('foreground-color', foreground);
t.prefs_.set('background-color', background);
t.prefs_.set('cursor-color', foreground);

Date: 2024-09-04 Wed 10:57