Stylesmith
TERMINAL INTEGRATION

Vim & Neovim

Edit in the terminal without leaving your theme behind. The Stylesmith Vim color scheme follows your active VS Code palette automatically.

How it works

The included stylesmith.vim color scheme uses your terminal’s 16 named ANSI colors instead of fixed 24-bit hex codes. Because every Stylesmith theme defines a contrast-checked terminal palette, Vim and Neovim take on your active preset’s colors in VS Code’s integrated terminal and update right away when you switch themes.

Checked for contrast

Every highlight group in stylesmith.vim uses only the terminal ANSI colors that Stylesmith’s automated tests check for at least 4.5:1 contrast on the terminal background (7:1 in high-contrast themes), with ctermbg=NONE so the terminal’s own background shows through.

Covers standard Vim syntax groups, line numbers, search, diffs, spelling, and Neovim diagnostic highlights.

The color scheme in every theme

Because stylesmith.vim uses your terminal’s color names, one color scheme adapts to all 24 Stylesmith themes. Here is a code sample in each theme’s real terminal colors: comments, keywords, functions, numbers, strings, and the active line number.

  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Neon Night
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Phosphor
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Amber
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
ICE
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Monolith
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Glass Lab
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Vault
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Simulation
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Steel and Rust
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Brass
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Tea Garden
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Sunroom
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Countdown
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Overlay
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Deep Desert
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Haze
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Grid
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Corridor
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Teal Terminal
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Horizon
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Command Deck
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Daylight
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Neon High Contrast
  1 // tally the night shift
2 function total(hours) {
3 return hours * 1.5 + " h";
4 }
Daylight High Contrast

Installation

  1. 1. Download the color scheme

    Save stylesmith.vim to your Vim or Neovim colors folder, or copy it (and 16-color terminal ANSI palettes for Windows Terminal, Alacritty, Kitty, and Ghostty) offline from inside VS Code via Stylesmith: Show Menu → Terminal & editor add-ons…. For Vim:

    curl -fLo ~/.vim/colors/stylesmith.vim --create-dirs https://raw.githubusercontent.com/21010/stylesmith/main/extras/vim/colors/stylesmith.vim

    Or for Neovim:

    curl -fLo ~/.config/nvim/colors/stylesmith.vim --create-dirs https://raw.githubusercontent.com/21010/stylesmith/main/extras/vim/colors/stylesmith.vim
  2. 2. Enable the color scheme

    The scheme turns off 24-bit termguicolors automatically so Vim and Neovim use the terminal’s ANSI palette; load stylesmith in your ~/.vimrc or ~/.config/nvim/init.vim:

    set notermguicolors
    syntax on
    colorscheme stylesmith

    Or in Neovim’s Lua configuration (~/.config/nvim/init.lua):

    vim.opt.termguicolors = false
    vim.cmd.colorscheme("stylesmith")