Skip to content

Instantly share code, notes, and snippets.

@b0o
Last active April 16, 2025 01:57
Show Gist options
  • Save b0o/0a7cbd5ba94f716b139116ad52c3bf2c to your computer and use it in GitHub Desktop.
Save b0o/0a7cbd5ba94f716b139116ad52c3bf2c to your computer and use it in GitHub Desktop.
// Lavi Theme for Blink Shell
// Basic 16 colors from the palette
black = '#282c34'; // 0
red = '#e06c75'; // 1
green = '#98c379'; // 2
yellow = '#e5c07b'; // 3
blue = '#61afef'; // 4
magenta = '#c678dd'; // 5
cyan = '#56b6c2'; // 6
white = '#abb2bf'; // 7
// Bright variants (8-15)
lightBlack = '#5c6370'; // 8
lightRed = '#e06c75'; // 9
lightGreen = '#98c379'; // 10
lightYellow = '#e5c07b'; // 11
lightBlue = '#61afef'; // 12
lightMagenta = '#c678dd'; // 13
lightCyan = '#56b6c2'; // 14
lightWhite = '#ffffff'; // 15
// Set the color palette
t.prefs_.set('color-palette-overrides',
[ black , red , green , yellow,
blue , magenta , cyan , white,
lightBlack , lightRed , lightGreen , lightYellow,
lightBlue , lightMagenta, lightCyan , lightWhite ]);
// Set foreground and background colors
t.prefs_.set('foreground-color', '#FFF1E0');
t.prefs_.set('background-color', '#211D34');
// Set cursor color
t.prefs_.set('cursor-color', '#D8DEE9');
// Set selection colors
t.prefs_.set('cursor-blink', true);
// t.prefs_.set('selection-foreground-color', '#000000');
// t.prefs_.set('selection-background-color', '#FFFFFF');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment